drm/i915: Convert intel_overlay to request tracking
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 06:52:37 +0000 (07:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 07:09:26 +0000 (08:09 +0100)
commit0d9bdd886f295b62c254a99da4153e7d287adb12
tree1255dd60dbb2eec05bb1a95381ba9c802f6ef6fb
parent675d9ad71b0b7a6101500fea3e7b2b0c5bb6a8fd
drm/i915: Convert intel_overlay to request tracking

intel_overlay already tracks its last flip request, along with action to
take after its completion. Refactor intel_overlay to reuse the common
i915_gem_active tracker.

v2: Now using i915_gem_retire_fn typedef

References: https://bugs.freedesktop.org/show_bug.cgi?id=93730
References: https://bugs.freedesktop.org/show_bug.cgi?id=96851
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-18-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_overlay.c