]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb-helper: Clip damage area horizontally
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 9 Feb 2022 16:16:17 +0000 (17:16 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 10 Feb 2022 13:49:31 +0000 (14:49 +0100)
commit9ccb7083c568d38b272e1bfda5db42c19b7032cf
treef67989ea4114dfcd02ce2aaf14631f7910fb2299
parent8a4bdac4cb45e7002ade63e79696ea6ff9ea0829
drm/fb-helper: Clip damage area horizontally

Clip the damage area horizontally if only a single scanline has been
changed. This is helpful to reduce the memcpy overhead for small writes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209161617.3553-6-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c