[PATCH 5/5] drm/simpledrm: Synchronize access to GEM BOs
Javier Martinez Canillas
javierm at redhat.com
Fri Sep 23 08:06:03 UTC 2022
On 9/22/22 15:09, Thomas Zimmermann wrote:
> Synchronize CPU access to GEM BOs with other drivers when updating the
> screen buffer. Imported buffers might otherwise contain stale data.
>
Can you please elaborate what the problem is? The framebuffers memory is
setup by the firmware and would never come from an imported dma-buf, so
could the GEM BOs even be shared with other drivers?
Or is this done just for the sake of correctness ?
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
The change looks good to me though if is for the latter.
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