drm/i915/gt: Simplify rc6 w/a application
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 2 Dec 2019 11:08:36 +0000 (11:08 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 2 Dec 2019 21:57:22 +0000 (21:57 +0000)
commit65f6d12c6b0b610c92d6a2c3d964ff2943ac8fbf
tree28eef47a94fc99d4f29e15714ba6ddf99c599a63
parent61e258ee33328ea8dbd9208ad79d281693d5e0e4
drm/i915/gt: Simplify rc6 w/a application

Quite simply we only need to check for prior corruption on enabling rc6
on module load and resume, so by hooking into the common entry points.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191202110836.2342685-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rc6.c
drivers/gpu/drm/i915/gt/intel_rc6.h
drivers/gpu/drm/i915/gt/intel_rc6_types.h
drivers/gpu/drm/i915/i915_drv.c