]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Add runtime pm around fences
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Oct 2016 10:11:37 +0000 (11:11 +0100)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:18:39 +0000 (17:18 +0800)
commit25f0d45352713786a5ef300af58dc3ddbae954ba
tree0bf662bdf9e2df494e9c0c43afa45ff02b7ef24a
parenta0fbbb71a3b94fee88ca5743198987868284a403
drm/i915/gvt: Add runtime pm around fences

Manipulating the fence_list requires the runtime wakelock, as does
writing to the fence registers. Acquire a wakelock for the former, and
assert that the device is awake for the latter.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/aperture_gm.c