Files
erofs-linux/drivers/gpu/drm/tiny
Thomas Zimmermann 40a22ad1b5 drm/appletbdrm: Allocate request/response buffers in begin_fb_access
In atomic_check, damage handling is not fully evaluated. Another
atomic_check helper could trigger a full modeset and thus invalidate
damage clips.

Allocation of the request/response buffers in appletbdrm depends on
correct damage information. Otherwise it might allocate incorrectly
sized buffers. Allocate the buffers in the driver's begin_fb_access
helper. It runs early during the commit when damage clipping has been
fully evaluated.

v5:
- pass plane state as the old damage-iterator state
v2:
- allocate before drm_gem_begin_shadow_fb_access() to avoid leak on error

Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Acked-by: Aditya Garg <[email protected]>
Acked-by: Zack Rusin <[email protected]>
Link: https://patch.msgid.link/[email protected]
2026-07-17 17:15:49 +02:00
..
2026-04-14 11:21:48 +02:00
2026-05-28 09:58:36 +02:00
…