summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-02-11 10:27:32 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-02-15 16:10:19 +0000
commit84f1b20f095919c17d9f4a94665b96b0e677e1f4 (patch)
tree53021becd0798b26751056a1ebdbb483b0865356 /drivers/gpu/drm/i915/intel_dp.c
parent36894e8bc4d3eda9943a1df7d7efece808cd90a4 (diff)
downloadlwn-84f1b20f095919c17d9f4a94665b96b0e677e1f4.tar.gz
lwn-84f1b20f095919c17d9f4a94665b96b0e677e1f4.zip
drm/i915/ilk: Move register read under spinlock
Code does read-modify-write but the read was outside the lock. It is fine since the caller holds struct mutex, but if we correct this we open up the opportunity for decreasing the mutex duration time since the call to ironlake_enable_drps does not need it any longer since it is covered by the mchdev_lock lock. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1455186452-13691-2-git-send-email-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
0 files changed, 0 insertions, 0 deletions