Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

From: Simon Ser
Date: Thu May 16 2024 - 03:00:55 EST


On Tuesday, May 14th, 2024 at 22:42, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote:

> My experience on Arm platforms is that the KMS drivers offer allocation
> for scanout buffers, not render buffers, and mostly using the dumb
> allocator API. If the KMS device can scan out YUV natively, YUV buffer
> allocation should be supported. Am I missing something here ?

Note that dumb buffers are only intended for simple software-rendering
use-cases. Anything more complicated (e.g. involving GPU rendering)
should use another mechanism.