On Mon, May 13, 2024 at 11:10:00AM -0400, Nicolas Dufresne 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 ?
On Tuesday, May 14th, 2024 at 22:42, Laurent Pinchart laurent.pinchart@ideasonboard.com wrote:
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.
On Thu, May 16, 2024 at 07:00:31AM +0000, Simon Ser wrote:
Sure. Even if dumb buffers may work for GPU rendering in some cases, there's no guarantee they will, so they shouldn't be used.
My comment was related to scanout buffers, as I was puzzled by Nicolas mentioning how "KMS drivers only offer allocation for render buffers". On Arm platforms the render buffers are allocated on the GPU's DRM device as far as I understand, while the KMS drivers allocate scanout buffers using the dumb buffers API.
linaro-mm-sig@lists.linaro.org