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

From: Javier Martinez Canillas
Date: Wed Oct 05 2022 - 18:33:23 EST


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@xxxxxxxxxx>
>> Signed-off-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
>
> Acked-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
>

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

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat