On Wed, Oct 15, 2025 at 12:15:22AM -0300, Gustavo Sousa wrote:
> From: Juha-pekka Heikkila <[email protected]>
> 
> Disable support for odd panning and size in y direction when running on
> display version 35 and using semiplanar formats.
> 
> Bspec: 68903
Reviewed-by: Matt Atwood <[email protected]>
> Signed-off-by: Juha-pekka Heikkila <[email protected]>
> Signed-off-by: Gustavo Sousa <[email protected]>
> ---
>  drivers/gpu/drm/i915/display/intel_plane.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_plane.c 
> b/drivers/gpu/drm/i915/display/intel_plane.c
> index 074de9275951..8de4e15fae6b 100644
> --- a/drivers/gpu/drm/i915/display/intel_plane.c
> +++ b/drivers/gpu/drm/i915/display/intel_plane.c
> @@ -1050,6 +1050,9 @@ int intel_plane_check_src_coordinates(struct 
> intel_plane_state *plane_state)
>                    DISPLAY_VERx100(display) == 3002) &&
>                    src_x % 2 != 0)
>                       hsub = 2;
> +
> +             if (DISPLAY_VER(display) == 35)
> +                     vsub = 2;
>       } else {
>               hsub = fb->format->hsub;
>               vsub = fb->format->vsub;
> 
> -- 
> 2.51.0
> 

Reply via email to