drm/i915/selftests: Show the RC6 residency on parking failure
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Jan 2020 14:57:55 +0000 (14:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jan 2020 10:09:56 +0000 (10:09 +0000)
commit423177140e9fcbd2ee5fef3845d4623f4ec31ed8
treecf6b7b045518937e5879ed05ac9a1574aca45bb8
parent0f8f8a64300092852b9361cd835395ee71e6a7d6
drm/i915/selftests: Show the RC6 residency on parking failure

Include the current RC6 residency counter in the error message, so that
if we fail to park and manually enter RC6 we can see if the counter has
a particularly suspect value (such as 0).

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