From: jsg Date: Fri, 11 Oct 2024 02:47:25 +0000 (+0000) Subject: drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8a67236b09f6d52245374a64819d5e1dddb76ad2;p=openbsd drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS From Thomas Zimmermann c923bc874659f35a216aa3099f18c82572b09416 in linux-6.6.y/6.6.55 8b0d2f61545545ab5eef923ed6e59fc3be2385e0 in mainline linux --- diff --git a/sys/dev/pci/drm/drm_atomic_uapi.c b/sys/dev/pci/drm/drm_atomic_uapi.c index bd28864e9ce..8e558a50cd7 100644 --- a/sys/dev/pci/drm/drm_atomic_uapi.c +++ b/sys/dev/pci/drm/drm_atomic_uapi.c @@ -586,7 +586,7 @@ static int drm_atomic_plane_set_property(struct drm_plane *plane, &state->fb_damage_clips, val, -1, - sizeof(struct drm_rect), + sizeof(struct drm_mode_rect), &replaced); return ret; } else if (property == plane->scaling_filter_property) {