diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-10-11 02:47:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-10-11 02:47:26 +0000 |
commit | 328423268b4a7838c85d271090c1a0643c7911b1 (patch) | |
tree | b7244c1084d40e603f2f1aaf9d8cf129e73cd5c9 | |
parent | 4e2d1b8dbc7e9548f17c6a563132fe17b4a38779 (diff) |
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
-rw-r--r-- | sys/dev/pci/drm/drm_atomic_uapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |