simple-ivi-share issue

Prasad, Ram x0038811 at ti.com
Fri Apr 21 06:45:58 EDT 2017


Hi Wataru san,
Thanks a lot for the information.
It is possible to get bo from name bo from dma_fd.  I will try to use this method.

Thanks and regards,
Ramprasad

-----Original Message-----
From: Mizuno, Wataru (ADITJ/SWG) [mailto:wmizuno at jp.adit-jv.com] 
Sent: Friday, April 21, 2017 1:35 PM
To: Prasad, Ram; genivi-ivi-layer-management at lists.genivi.org
Cc: securitycheck at denso.co.jp; Natsume, Wataru (ADITJ/SWG)
Subject: RE: simple-ivi-share issue

Hello Ramprasad,

The simple-ivi-share doesn't support DMA buffer.
This application gets buffer name and creates eglImage by using CreateImageKHR() and it doen't support DMA buffer approach.

>What is the the alternate for EGL_DRM_BUFFER_MESA? Is there a way to use EGL_LINUX_DMA_BUF_EXT (sending dmabuf.fd instead of name).
Simple-ivi-share is created for Mesa, so others doesn't work.

I'm sorry I don't have idea for alternative way, but I think if your backend has the api create buffer object from DMA fd you might be able to create BO and create surface.

Best regards,

Wataru Mizuno
ADITJ / SWG

+81-(0)566-56-0946


-----Original Message-----
From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-bounces at lists.genivi.org] On Behalf Of Prasad, Ram
Sent: Friday, April 21, 2017 4:03 PM
To: genivi-ivi-layer-management at lists.genivi.org
Subject: simple-ivi-share issue

Hi Genivi team,
I am Ramprasad working for TI's DRA7xx.

I am trying to test simple-ivi-share application on TI's DRA7xx EVM.  gbm_bo_import in update_buffer_nativesurface() of ivi-share-gbm.c retured error since GBM_BO_IMPORT_WL_BUFFERis not supported.

TI's gbm backend is gbm_pvr and not gbm_dri(Mesa). It does not support GBM_BO_IMPORT_WL_BUFFER but I made it to get gbm_bo from GBM_BO_IMPORT_FD. I did this by using simple-dmabuf as the buffer sharing application and in ivi-share-gbm.c, I get the dmabuf from wl_buffer, followed by gbm_bo with GBM_BO_IMPORT_FD as import type.

Followed by this, simple-ivi-share gets callback handle_share_surface_damage() listener function, but it explicitly uses EGL_DRM_BUFFER_MESA as target to create eglImage which is again not supported by gbm_pvr.so.

What is the the alternate for EGL_DRM_BUFFER_MESA? Is there a way to use EGL_LINUX_DMA_BUF_EXT (sending dmabuf.fd instead of name).

Can you please help me?

Thanks
Ramprasad

_______________________________________________
genivi-ivi-layer-management mailing list genivi-ivi-layer-management at lists.genivi.org
http://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management


More information about the genivi-ivi-layer-management mailing list