]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add engine name to workaround debug print
authorJohn Harrison <John.C.Harrison@Intel.com>
Fri, 12 Jul 2019 07:07:45 +0000 (00:07 -0700)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 12 Jul 2019 08:55:30 +0000 (09:55 +0100)
commit31e2273ada9bb5f08eb3d9bf5642ec0877eaa867
tree4be791251b43ff6a82df3e81c5a8e242f6f95804
parent1284de581a1c02420f25bcc67268d242d8975365
drm/i915: Add engine name to workaround debug print

There is a debug message in the workaround initialisation path that
reports how many entries were added of each type. However, whitelist
workarounds exist for multiple engines but the type name is just
'whitelist'. Tvrtko suggested adding the engine name to make the
message more useful.

v2: Updated the similar message in the workaround reset selftest.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
CC: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712070745.35239-4-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gt/intel_workarounds_types.h
drivers/gpu/drm/i915/gt/selftest_workarounds.c