Skip to content
Permalink
Branch: 9.0.0-sultan
Commits on May 7, 2019
  1. staging: sync: Don't copy fence names by default

    kerneltoast committed May 5, 2019
    Copying fence debug names for frequent users of sync fences causes a
    measurably significant portion of CPU time to be spent on this strlcpy.
    
    #ifdef out the sync fence name copy by default to improve performance.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  2. msm: mdss: Reduce display commit latency caused by deep CPU idle

    kerneltoast committed May 7, 2019
    During heavy parts of the display commit process, the CPU can enter a
    deep idle state and cause the commit latency to increase significantly.
    
    Forcing the CPU to only use idle states with latencies under 100 us
    during the critical portions of the commit process fixes the high commit
    latency.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Commits on May 5, 2019
  1. msm: mdss: Speed up mdss_mdp_get_format_params for UBWC formats

    kerneltoast committed May 5, 2019
    In mdss_mdp_get_format_params, a very large array (mdss_mdp_format_map)
    is scanned for a requested format first, and then when the format is
    not found in the large array, a small array (mdss_mdp_format_ubwc_map)
    is scanned for the requested format. This results in significant
    overhead from needlessly scanning the large array for UBWC formats.
    
    To fix this, scan the much-smaller mdss_mdp_format_ubwc_map array first
    to search for a requested format.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  2. qos: Don't allow userspace to impose restrictions on CPU idle levels

    kerneltoast committed May 3, 2019
    Giving userspace intimate control over CPU latency requirements is
    nonsense. Userspace can't even stop itself from being preempted, so
    there's no reason for it to have access to a mechanism primarily used to
    eliminate CPU delays on the order of microseconds.
    
    Remove userspace's ability to send pm_qos requests so that it can't hurt
    power consumption.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  3. msm: kgsl: Relax CPU latency requirements to save power

    kerneltoast committed May 5, 2019
    Relaxing the CPU latency requirement by about 500 us won't significantly
    hurt graphics performance. On the flip side, most SoCs have many idle
    levels just below 1000 us in latency, with deeper idle levels having
    latencies in excess of 2000 us. Changing the latency requirement to
    1000 us allows most SoCs to use their deepest sub-1000-us idle state
    while the GPU is active.
    
    Additionally, since the lpm driver has been updated to allow power
    levels with latencies equal to target latencies, change the wakeup
    latency from 101 to 100 for clarity.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Commits on May 3, 2019
  1. cpuidle: lpm-levels: Allow exit latencies equal to target latencies

    kerneltoast committed May 2, 2019
    This allows pm_qos votes with, say, 100 us for example to select power
    levels with exit latencies equal to 100 us. The extra microsecond of
    exit latency doesn't hurt.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
You can’t perform that action at this time.