drm/i915: Drop local struct_mutex around intel_init_emon[ilk]
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:11:48 +0000 (14:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Sep 2016 13:23:02 +0000 (14:23 +0100)
commit2c7487a524147f7a3f588c1394be44149f66da94
tree3ab2d238905f63b318e89537669fdc0c206a80db
parent8af29b0c78ed11a3dd2a544f9df30be988d9de29
drm/i915: Drop local struct_mutex around intel_init_emon[ilk]

Access to intel_init_emon() is strictly ordered by gt_powersave, using
struct_mutex around it is overkill (and will conflict with the caller
holding struct_mutex themselves).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160909131201.16673-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c