summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_runtime_pm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-10-24 13:42:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-10-24 13:45:36 +0100
commit3594a3e21f1f77d46e89195f36292a2fd0f4aa83 (patch)
tree685b3f7e9206685fd05137686efd3875c41eb97f /drivers/gpu/drm/i915/intel_runtime_pm.c
parent9c870d03674f11b49ef4f48b04d709ffa7cf1390 (diff)
drm/i915: Remove superfluous locking around userfault_list
Now that we have reduced the access to the list to either (a) under the struct_mutex whilst holding the RPM wakeref (so that concurrent writers to the list are serialised by struct_mutex) and (b) under the atomic runtime suspend (which cannot run concurrently with any other accessor due to the atomic nature of the runtime suspend) we can remove the extra locking around the list itself. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161024124218.18252-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_runtime_pm.c')
0 files changed, 0 insertions, 0 deletions