[PATCH 6/6] drm/gud: Use the shadow plane helper

Javier Martinez Canillas javierm at redhat.com
Wed Nov 23 08:55:52 UTC 2022


On 11/22/22 21:58, Noralf Trønnes via B4 Submission Endpoint wrote:
> From: Noralf Trønnes <noralf at tronnes.org>
> 
> Use the shadow plane helper to take care of preparing the framebuffer for
> CPU access. The synchronous flushing is now done inline without the use of
> a worker. The async path now uses a shadow buffer to hold framebuffer
> changes and it doesn't read the framebuffer behind userspace's back
> anymore.
> 
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
> ---

Patch looks good to me. But it would be good if Thomas can double check.

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list