drm/i915/gt: Tidy up checking active timelines during retirement
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Dec 2019 15:08:33 +0000 (15:08 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Dec 2019 17:33:42 +0000 (17:33 +0000)
commit44963bf9d4c28815b6bcfb03061e37831ab1ce42
tree820b28a6427a68c20a237be2fa015b37f8b3a974
parent8c4bba5ae24e1e76d82323592e5b850ab8db80f2
drm/i915/gt: Tidy up checking active timelines during retirement

Use the status of the timeline request list as we retire it to determine
if the timeline is still active.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191223150833.2329366-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_requests.c