[Intel-gfx] [PATCH v11 03/10] drm/i915: migrate skl planes code new file (v5)

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Feb 4 20:28:25 UTC 2021


On Thu, Feb 04, 2021 at 09:43:20PM +0200, Jani Nikula wrote:
> -unsigned int
> -intel_plane_fence_y_offset(const struct intel_plane_state *plane_state)
> -{
> -	int x = 0, y = 0;
> -
> -	intel_plane_adjust_aligned_offset(&x, &y, plane_state, 0,
> -					  plane_state->color_plane[0].offset, 0);
> -
> -	return y;
> -}

This unrelated code motion is still here, messing up the diff.

<snip>
>  }
>  
> -void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state)
> -{
> -	struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
> -	int i;
> -
> -	for (i = 0; i < crtc->num_scalers; i++)
> -		skl_detach_scaler(crtc, i);
> -}

ditto

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list