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

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Mar 29 16:24:07 UTC 2018


On Wed, Mar 28, 2018 at 02:03:04PM -0700, Michel Thierry wrote:
> 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>

Not sure why someone keeps using a driver that doesn't support the
hw they have ;)

Anyways,
Reviewed-by: 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

-- 
Ville Syrjälä
Intel OTC


More information about the Intel-gfx mailing list