diff options
| author | Shixiong Ou <oushixiong@kylinos.cn> | 2026-08-26 15:56:13 +0800 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-08-31 13:38:53 +0200 |
| commit | bd4f73ca0e1892f8ff37d561a2d04207d3a4a380 (patch) | |
| tree | be17e1cea67565dcd384ec82370f65d9b3d507d7 /rust/kernel | |
| parent | b35be235d92b2826e1111bff4c85e080ffd8ca28 (diff) | |
drm/sysfb: Clear entire framebuffer in atomic_disable
drm_sysfb_plane_helper_atomic_disable() previously used
plane_state->src_* coordinates to construct the clear rectangle,
which depends on user-controlled input. Instead, clear the entire
visible framebuffer region using fb_mode dimensions, and use
drm_format_info_min_pitch() to compute the safe per-line clear size
without touching non-visible bytes at the end of each line.
Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260826075613.483617-1-oushixiong1025@163.com
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
