[PATCH 07/10] drm/i915/dp: Use an intel_connector pointer everywhere

Jani Nikula jani.nikula at linux.intel.com
Wed Apr 9 08:26:46 UTC 2025


On Wed, 09 Apr 2025, Imre Deak <imre.deak at intel.com> wrote:
> Following the convention, convert intel_dp.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 <imre.deak at intel.com>


> @@ -5979,21 +5982,22 @@ static int intel_modeset_tile_group(struct intel_atomic_state *state,
>  {
>  	struct intel_display *display = to_intel_display(state);
>  	struct drm_connector_list_iter conn_iter;
> -	struct drm_connector *connector;
> +	struct drm_connector *_connector;
>  	int ret = 0;
>  
>  	drm_connector_list_iter_begin(display->drm, &conn_iter);
> -	drm_for_each_connector_iter(connector, &conn_iter) {
> +	drm_for_each_connector_iter(_connector, &conn_iter) {

for_each_intel_connector_iter()


-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list