Re: [PATCH] drm/virtio: Enable fb damage clips property for the primary plane

2023-03-13 Thread Javier Martinez Canillas
Javier Martinez Canillas writes: > Christian Hergert reports that the driver doesn't enable the property and > that leads to always doing a full plane update, even when the driver does > support damage clipping for the primary plane. > > Don't enable it for the cursor plane, because its .atomic_u

Re: [PATCH] drm/virtio: Enable fb damage clips property for the primary plane

2023-03-13 Thread Gerd Hoffmann
On Fri, Mar 10, 2023 at 01:59:42PM +0100, Javier Martinez Canillas wrote: > Christian Hergert reports that the driver doesn't enable the property and > that leads to always doing a full plane update, even when the driver does > support damage clipping for the primary plane. > > Don't enable it for

Re: [PATCH] drm/virtio: Enable fb damage clips property for the primary plane

2023-03-10 Thread Javier Martinez Canillas
Thomas Zimmermann writes: Hello Thomas, > Hi Javier > > Am 10.03.23 um 13:59 schrieb Javier Martinez Canillas: >> Christian Hergert reports that the driver doesn't enable the property and >> that leads to always doing a full plane update, even when the driver does >> support damage clipping for

Re: [PATCH] drm/virtio: Enable fb damage clips property for the primary plane

2023-03-10 Thread Thomas Zimmermann
Hi Javier Am 10.03.23 um 13:59 schrieb Javier Martinez Canillas: Christian Hergert reports that the driver doesn't enable the property and that leads to always doing a full plane update, even when the driver does support damage clipping for the primary plane. Don't enable it for the cursor plan

[PATCH] drm/virtio: Enable fb damage clips property for the primary plane

2023-03-10 Thread Javier Martinez Canillas
Christian Hergert reports that the driver doesn't enable the property and that leads to always doing a full plane update, even when the driver does support damage clipping for the primary plane. Don't enable it for the cursor plane, because its .atomic_update callback doesn't handle damage clips.