drm/i915: i915_active.retire() is optional
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Aug 2019 07:58:22 +0000 (08:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Aug 2019 15:41:19 +0000 (16:41 +0100)
commite1d7b66b815a542114169609c8f1b4e46856d7be
tree51bc39448c512beec5f120c080aa09d80a11ee06
parent5a6b7ef69e3d9807aa9b38d9098772ae05916de5
drm/i915: i915_active.retire() is optional

Check that i915_active.retire() exists before calling.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819075835.20065-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_active.c