aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-09 17:44:33 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-13 21:15:06 +0200
commitdd584fc0711a28fb338bf66a623178e468c82272 (patch)
tree9019cadca3737f4ecbaf2281116d8eec5c75445e /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/i915: Organize plane register writes into tighter bunches (diff)
downloadlinux-dev-dd584fc0711a28fb338bf66a623178e468c82272.tar.xz
linux-dev-dd584fc0711a28fb338bf66a623178e468c82272.zip
drm/i915: Use I915_READ_FW for plane updates
Optimize the plane register accesses a little bit by grabbing the uncore lock manually across the entire pile of accesses and using I915_READ_FW(). This helps keep the pipe update vblank evade critical section below our 100 usec deadline, particularly with lockdep enabled. And in general we want to keep that critical section as short as possible as it's executed with interrupts disabled. Not all plane updates currently happen from within the vblank evade critical section, so we must use the irqsave/irqrestore variants of the spinlock functions in the plane hooks. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170309154434.29303-5-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions