]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait until the intel_wakeref idle callback is complete
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Nov 2019 23:02:46 +0000 (23:02 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 25 Nov 2019 13:28:59 +0000 (15:28 +0200)
commit6447fe8ac099350e6316fd52c2971c3177afd771
tree4128676aca267bbe11d0fde644c44b2dcfd725f3
parent119b65b978b065eabbbce396d198613d62a67766
drm/i915: Wait until the intel_wakeref idle callback is complete

When waiting for idle, serialise with any ongoing callback so that it
will have completed before completing the wait.

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/20191118230254.2615942-12-chris@chris-wilson.co.uk
(cherry picked from commit f4ba0707c825d60f1d0f5ce7bd3d875e68f3e204)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_wakeref.c
drivers/gpu/drm/i915/intel_wakeref.h