summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_engine_cs.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-11 11:13:40 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-11 12:50:44 +0100
commitf42bb651d1e796ad6d86fc66d578abdee445696b (patch)
treefca3ff1680b1ec50acdabc79f49fee305f8d30a1 /drivers/gpu/drm/i915/intel_engine_cs.c
parente09a3036412a959689bacf017bf2cbc226c9fea4 (diff)
downloadlwn-f42bb651d1e796ad6d86fc66d578abdee445696b.tar.gz
lwn-f42bb651d1e796ad6d86fc66d578abdee445696b.zip
drm/i915: Use safer intel_uncore_wait_for_register in ring-init
While we do hold the forcewake for legacy ringbuffer initialisation, we don't guard our access with the uncore.lock spinlock. In theory, we only initialise when no others should be accessing the same mmio cachelines, but in practice be safe as this is an infrequently used path and not worth risky micro-optimisations. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170411101340.31994-5-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_engine_cs.c')
0 files changed, 0 insertions, 0 deletions