drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
authorjsg <jsg@openbsd.org>
Fri, 11 Oct 2024 02:47:25 +0000 (02:47 +0000)
committerjsg <jsg@openbsd.org>
Fri, 11 Oct 2024 02:47:25 +0000 (02:47 +0000)
From Thomas Zimmermann
c923bc874659f35a216aa3099f18c82572b09416 in linux-6.6.y/6.6.55
8b0d2f61545545ab5eef923ed6e59fc3be2385e0 in mainline linux

sys/dev/pci/drm/drm_atomic_uapi.c

index bd28864..8e558a5 100644 (file)
@@ -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) {