]> 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)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Nov 2019 18:02:48 +0000 (18:02 +0000)
commit0e24fdf997fe6f620a5faf79ebb36c81770145fd
treeb42c7d592edd7418a4d7d7cf81c69610068dc0c2
parent52a9356572d2b1b77ecfe57637b1615ab17d252f
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
drivers/gpu/drm/i915/intel_wakeref.c
drivers/gpu/drm/i915/intel_wakeref.h