Re: [Mesa-dev] Zero-Copy Texture usage from OpenCL

2019-06-03 Thread Tapani Pälli

Hi;

On 5/30/19 12:03 PM, Rudrappa, Shiva Kumara wrote:

Hi,

Can someone please help to validate below MESA features.

“system shall allow 3D rendering to make use of OpenCL buffers in a 
zero-copy manner”


“system shall allow 3D rendering to make use of Media SDK buffers in a 
zero-copy manner.”




I'm not entirely sure what the actual feature description here is but 
these features go through the stack and need implementation in OpenCL 
and Media SDK stacks + graphics allocator (minigbm, gralloc) as well. So 
this is not just a 'MESA feature'. Perhaps some clarification of the 
features would make the whole thing easier to validate.


I'm guessing that by 'system shall allow 3D rendering to make use of 
Media SDK buffers' it is meant that Mesa driver can create a texture out 
of buffer that contains video frame that Media SDK has produced. Mesa 
side of this use-case can be validated as example using Piglit test 
'ext_image_dma_buf_import-sample_yuv' but it assumes that Media SDK is 
capable is producing similar buffers as what the test is using.


Thanks;

// Tapani
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Zero-Copy Texture usage from OpenCL

2019-06-03 Thread Tapani Pälli



On 6/3/19 1:17 PM, Tapani Pälli wrote:

Hi;

On 5/30/19 12:03 PM, Rudrappa, Shiva Kumara wrote:

Hi,

Can someone please help to validate below MESA features.

“system shall allow 3D rendering to make use of OpenCL buffers in a 
zero-copy manner”


“system shall allow 3D rendering to make use of Media SDK buffers in a 
zero-copy manner.”




I'm not entirely sure what the actual feature description here is but 
these features go through the stack and need implementation in OpenCL 
and Media SDK stacks + graphics allocator (minigbm, gralloc) as well. So 
this is not just a 'MESA feature'. Perhaps some clarification of the 
features would make the whole thing easier to validate.


I'm guessing that by 'system shall allow 3D rendering to make use of 
Media SDK buffers' it is meant that Mesa driver can create a texture out 
of buffer that contains video frame that Media SDK has produced. Mesa 
side of this use-case can be validated as example using Piglit test 
'ext_image_dma_buf_import-sample_yuv' but it assumes that Media SDK is 
capable is producing similar buffers as what the test is using.


Oops, wanted to add that if you are validating things on Android, CTS 
contains tests that utilize Media + GL stack and validate the media 
use-case.



Thanks;

// Tapani
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] Zero-Copy Texture usage from OpenCL

2019-05-31 Thread Rudrappa, Shiva Kumara
Hi,

Can someone please help to validate below MESA features.


"system shall allow 3D rendering to make use of OpenCL buffers in a zero-copy 
manner"

"system shall allow 3D rendering to make use of Media SDK buffers in a 
zero-copy manner."


Thanks,
Shiva
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev