summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_workarounds_types.h
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2019-07-12 00:07:45 -0700
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2019-07-12 09:55:30 +0100
commit3e1f0a518d22c361d8e947e94a189ba0c9b3db7a (patch)
tree4be791251b43ff6a82df3e81c5a8e242f6f95804 /drivers/gpu/drm/i915/gt/intel_workarounds_types.h
parentaee20aaed8876e90fa6f500ee5637423a3ef9ab9 (diff)
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
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_workarounds_types.h')
-rw-r--r--drivers/gpu/drm/i915/gt/intel_workarounds_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds_types.h b/drivers/gpu/drm/i915/gt/intel_workarounds_types.h
index 42ac1fb99572..e27ab1b710b3 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds_types.h
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds_types.h
@@ -20,6 +20,7 @@ struct i915_wa {
struct i915_wa_list {
const char *name;
+ const char *engine_name;
struct i915_wa *list;
unsigned int count;
unsigned int wa_count;