[PATCH] drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Mon Sep 23 12:02:17 UTC 2024
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 at linux.intel.com>
> Closes: https://lore.kernel.org/dri-devel/Zu1Ke1TuThbtz15E@intel.com/
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Fixes: d3b21767821e ("drm: Add a new plane property to send damage during plane update")
> Cc: Lukasz Spintzyk <lukasz.spintzyk at displaylink.com>
> Cc: Deepak Rawat <drawat at vmware.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Thomas Hellstrom <thellstrom at vmware.com>
> Cc: David Airlie <airlied at gmail.com>
> Cc: Simona Vetter <simona at ffwll.ch>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Maxime Ripard <mripard at kernel.org>
> Cc: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: dri-devel at lists.freedesktop.org
> Cc: <stable at vger.kernel.org> # v5.0+
> ---
> drivers/gpu/drm/drm_atomic_uapi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list