[Intel-gfx] [PATCH 4/9] drm/i915: Use the passed in encoder

Ramalingam C ramalingam.c at intel.com
Thu Dec 5 10:24:56 UTC 2019


On 2019-12-04 at 20:05:44 +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Just use the passed in encoder instead of digging it out via
> the legacy drm_connector->encoder pointer (which we'll want to
> stop using).
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
LGTM

Reviewed-by: Ramalingam C <ramalingam.c at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_audio.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c
> index 27710098d056..f9d7a77fbdbe 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.c
> +++ b/drivers/gpu/drm/i915/display/intel_audio.c
> @@ -707,8 +707,8 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
>  	DRM_DEBUG_DRIVER("ELD on [CONNECTOR:%d:%s], [ENCODER:%d:%s]\n",
>  			 connector->base.id,
>  			 connector->name,
> -			 connector->encoder->base.id,
> -			 connector->encoder->name);
> +			 encoder->base.base.id,
> +			 encoder->base.name);
>  
>  	connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2;
>  
> -- 
> 2.23.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list