Commit 3c1fe1eb authored by Chris Wilson's avatar Chris Wilson

drm/i915/gt: Mention which device failed

When telling the user that device power management is disabled, it is
helpful to say which device that was.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115122343.821331-1-chris@chris-wilson.co.uk
parent cc7a4cff
...@@ -540,7 +540,8 @@ void intel_rc6_ctx_wa_check(struct intel_rc6 *rc6) ...@@ -540,7 +540,8 @@ void intel_rc6_ctx_wa_check(struct intel_rc6 *rc6)
if (!intel_rc6_ctx_corrupted(rc6)) if (!intel_rc6_ctx_corrupted(rc6))
return; return;
DRM_NOTE("RC6 context corruption, disabling runtime power management\n"); dev_notice(i915->drm.dev,
"RC6 context corruption, disabling runtime power management\n");
intel_rc6_disable(rc6); intel_rc6_disable(rc6);
rc6->ctx_corrupted = true; rc6->ctx_corrupted = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment