[Intel-gfx] [PATCH 2/3] drm/i915: Adjust intel_crtc_compute_config() debug message

Ville Syrjala ville.syrjala at linux.intel.com
Thu Sep 30 10:41:32 UTC 2021


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

"CRTC fixup failed" is probably leftovers from pre-atomic days
when there was an actual fixup() function. Let's unify the debug
messages between encoder vs. crtc compute_config() calls.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 4fa0b7cfa888..9ede0c5fbc44 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -7717,7 +7717,7 @@ intel_modeset_pipe_config(struct intel_atomic_state *state,
 	if (ret == -EDEADLK)
 		return ret;
 	if (ret < 0) {
-		drm_dbg_kms(&i915->drm, "CRTC fixup failed\n");
+		drm_dbg_kms(&i915->drm, "CRTC config failure: %d\n", ret);
 		return ret;
 	}
 
-- 
2.32.0



More information about the Intel-gfx mailing list