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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 22 Nov 2022, Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> wrote:
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>

Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx>

> ---
>  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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux