linux/drivers/gpu/drm/solomon
Javier Martinez Canillas fdd0640b63
drm/ssd130x: Iterate over damage clips instead of using a merged rect
The drm_atomic_helper_damage_merged() helper merges all the damage clips
into one rectangle. If there are multiple damage clips that aren't close
to each other, the resulting rectangle could be quite big.

Instead of using that function helper, iterate over all the damage clips
and update them one by one.

Suggested-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220930152944.2584356-1-javierm@redhat.com
2022-10-06 00:27:09 +02:00
..
Kconfig drm/solomon: Add SSD130x OLED displays SPI support 2022-04-20 18:48:17 +02:00
Makefile drm/solomon: Add SSD130x OLED displays SPI support 2022-04-20 18:48:17 +02:00
ssd130x-i2c.c drm/ssd130x: Make ssd130x_remove() return void 2022-04-26 09:43:37 +02:00
ssd130x-spi.c drm/ssd130x: Use new regmap bulk write support to drop custom bus 2022-07-18 10:38:42 +02:00
ssd130x.c drm/ssd130x: Iterate over damage clips instead of using a merged rect 2022-10-06 00:27:09 +02:00
ssd130x.h drm/ssd130x: Replace simple display helpers with the atomic helpers 2022-09-08 10:46:19 +02:00