]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Optimize damage clips
authorJocelyn Falempe <jfalempe@redhat.com>
Wed, 4 May 2022 13:40:25 +0000 (15:40 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Thu, 12 May 2022 13:15:17 +0000 (15:15 +0200)
commit3a9263282993e5009c6fbdde3c3c5e36e6690680
tree70b2d58851995198f777ef0aea4ecbf09743ce45
parentc5b9e6be74bf4d5b2da6f9e5368078be5d233e98
drm/mgag200: Optimize damage clips

When there are multiple damage clips, previous code merged them into one
big rectangle. As the Matrox memory is very slow, it's faster to copy each
damage clip.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504134026.283417-2-jfalempe@redhat.com
drivers/gpu/drm/mgag200/mgag200_mode.c