[Intel-gfx] [PATCH] drm/i915: warn only once about ddi translation table missing

Michel Thierry michel.thierry at intel.com
Wed Mar 28 21:03:04 UTC 2018


It's not like it will magically appear or disappear ;)

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

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index a6672a9abd85..1558eeb13b80 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -892,7 +892,7 @@ static int intel_ddi_hdmi_level(struct drm_i915_private *dev_priv, enum port por
 		intel_ddi_get_buf_trans_hdmi(dev_priv, &n_entries);
 		default_entry = 6;
 	} else {
-		WARN(1, "ddi translation table missing\n");
+		WARN_ONCE(1, "ddi translation table missing\n");
 		return 0;
 	}
 
-- 
2.16.2



More information about the Intel-gfx mailing list