summaryrefslogtreecommitdiffstats
path: root/drivers/soc/renesas
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 /drivers/soc/renesas
parent78587de299dd653d64c731e40f17050cb66d0c27 (diff)
downloadop-kernel-dev-dd584fc0711a28fb338bf66a623178e468c82272.zip
op-kernel-dev-dd584fc0711a28fb338bf66a623178e468c82272.tar.gz
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 'drivers/soc/renesas')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud