[PATCH v2] drm/ssd130x: Iterate over damage clips instead of using a merged rect

Javier Martinez Canillas javierm at redhat.com
Wed Oct 5 22:33:04 UTC 2022


On 10/5/22 19:18, Thomas Zimmermann wrote:
> 
> 
> Am 30.09.22 um 17:29 schrieb Javier Martinez Canillas:
>> 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 at redhat.com>
>> Signed-off-by: Javier Martinez Canillas <javierm at redhat.com>
> 
> Acked-by: Thomas Zimmermann <tzimmermann at suse.de>
> 

Pushed this to drm-misc (drm-misc-next) now. Thanks!

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list