On Wed, 09 Apr 2025, Imre Deak <[email protected]> wrote:
> Following the convention, convert intel_hdmi.c to use an intel_connector
> pointer everywhere, calling this pointer connector. If the intel
> connector must be casted from a drm_connector, call this pointer
> _connector and use this pointer only for the casting.
>
> Signed-off-by: Imre Deak <[email protected]>

> @@ -2076,14 +2081,16 @@ bool intel_hdmi_bpc_possible(const struct 
> intel_crtc_state *crtc_state,
>  {
>       struct drm_atomic_state *state = crtc_state->uapi.state;
>       struct drm_connector_state *connector_state;
> -     struct drm_connector *connector;
> +     struct drm_connector *_connector;
>       int i;
>  
> -     for_each_new_connector_in_state(state, connector, connector_state, i) {
> +     for_each_new_connector_in_state(state, _connector, connector_state, i) {

Can we use for_each_new_intel_connector_in_state() here?

BR,
Jani.


-- 
Jani Nikula, Intel

Reply via email to