mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/sysfb: Use iosys_map_memset() to clear buffer
The atomic disable in drm/sysfb currently clears the buffer using memset_io(). Since the mapping is provided in a |struct iosys_map|, it is better to use the related API instead of extracting the vaddr. This is mentioned as a TODO item. Switch to iosys_map_memset(), which takes the mapping as well as an offset into the mapping. Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260903084823.4156065-1-wenst@chromium.org Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
This commit is contained in:
parent
eff5a35591
commit
b57c9b345d
1 changed files with 2 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue