]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pull assert_forcewake_active() underneath the lock
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Jul 2019 15:11:35 +0000 (16:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Jul 2019 15:43:32 +0000 (16:43 +0100)
commit0fe2c3635f9f5cac6764a1412194ea8b40b1c212
tree78731e25572f5ff272806a1738d2531d1b941520
parent4915e32a2f2faa732c0b11651269f85fc6496fcd
drm/i915: Pull assert_forcewake_active() underneath the lock

Make no assumption that something in the background is not acquiring the
fw_domain -- but we still do not track owner so assume that any active
domain is intended by the caller.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190707151135.11700-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_uncore.c