Re: [PATCH] drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 23, 2024 at 09:58:14AM GMT, Thomas Zimmermann wrote:
> FB_DAMAGE_CLIPS is a plane property for damage handling. Its UAPI
> should only use UAPI types. Hence replace struct drm_rect with
> struct drm_mode_rect in drm_atomic_plane_set_property(). Both types
> are identical in practice, so there's no change in behavior.
> 
> Reported-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/dri-devel/Zu1Ke1TuThbtz15E@xxxxxxxxx/
> Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Fixes: d3b21767821e ("drm: Add a new plane property to send damage during plane update")
> Cc: Lukasz Spintzyk <lukasz.spintzyk@xxxxxxxxxxxxxxx>
> Cc: Deepak Rawat <drawat@xxxxxxxxxx>
> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx>
> Cc: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxxx>
> Cc: Simona Vetter <simona@xxxxxxxx>
> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> Cc: Maxime Ripard <mripard@xxxxxxxxxx>
> Cc: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: <stable@xxxxxxxxxxxxxxx> # v5.0+
> ---
>  drivers/gpu/drm/drm_atomic_uapi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

-- 
With best wishes
Dmitry




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux