[Intel-gfx] [PATCH 10/10] drm/i915/dvo: Log about what was detected on which DVO port

Jani Nikula jani.nikula at linux.intel.com
Tue Nov 22 12:39:41 UTC 2022


On Tue, 22 Nov 2022, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Currently it's not 100% obvious which DVO encoder chip was
> found on which port. Leave a slightly better trace in log.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Reviewed-by: Jani Nikula <jani.nikula at intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_dvo.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dvo.c b/drivers/gpu/drm/i915/display/intel_dvo.c
> index 4a4b98bfce29..4aeae0f3ac91 100644
> --- a/drivers/gpu/drm/i915/display/intel_dvo.c
> +++ b/drivers/gpu/drm/i915/display/intel_dvo.c
> @@ -525,6 +525,10 @@ void intel_dvo_init(struct drm_i915_private *i915)
>  			 intel_dvo_encoder_type(&intel_dvo->dev),
>  			 "DVO %c", port_name(encoder->port));
>  
> +	drm_dbg_kms(&i915->drm, "[ENCODER:%d:%s] detected %s\n",
> +		    encoder->base.base.id, encoder->base.name,
> +		    intel_dvo->dev.name);
> +
>  	if (intel_dvo->dev.type == INTEL_DVO_CHIP_TMDS)
>  		connector->polled = DRM_CONNECTOR_POLL_CONNECT |
>  			DRM_CONNECTOR_POLL_DISCONNECT;

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list