[PATCH 03/27] drm/i915/guc: Use i915_probe_error to report early GuC failures
Ramalingam C
ramalingam.c at intel.com
Tue Feb 8 14:14:21 UTC 2022
From: Thanneeru Srinivasulu <thanneeru.srinivasulu at intel.com>
Replace drm_err with i915_probe_error to report early GuC failures.
Signed-off-by: Thanneeru Srinivasulu <thanneeru.srinivasulu at intel.com>
Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
---
drivers/gpu/drm/i915/gt/uc/intel_uc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
index a16b70f00bf1..3e9716138a0d 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -516,7 +516,7 @@ static int __uc_init_hw(struct intel_uc *uc)
*/
ret = intel_guc_hwconfig_init(&guc->hwconfig);
if (ret)
- drm_err(&i915->drm, "Failed to retrieve hwconfig table: %d\n", ret);
+ i915_probe_error(i915, "Failed to retrieve hwconfig table: %d\n", ret);
if (intel_uc_uses_guc_submission(uc))
intel_guc_submission_enable(guc);
--
2.20.1
More information about the Intel-gfx-trybot
mailing list