This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA756: How to load imags from GPU's framebuffer to ARM's memory quickly?

Part Number: DRA756

Hi All:

I test the DMABUF on VisionSDK3.2, but failed. 

Below is my usecase:             

   

      

         The buffer for SgxFcmcpy is allocated from IPU space (shared memory) and provided to GPU hence no frame copy is required.

          Then i get the error, log attach here:

 [HOST] [HOST  ]     16.913987 s:  EGL: GL Extensions = GL_OES_rgb8_rgba8 GL_OE 14.043409] PVR_K:(Error): DmaBufImportAndAcquirePhysAddr: dma_buf_get failed: -22
S_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_t xture_npot GL_OES_surfaceless_context GL_EXT_discard_framebuffer GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg G 14.115879] PVR_K:(Error): PVRSRVMapDmaBufKM: Failed to get dma-buf phys addr
[   14.181773] PVR_K:(Error): PVRSRVMapDmaBufBW: Failed to map dma-buf handle
_ELXT_draw_buffers GL_EXT_shader_framebuffer_fetch GL_IMG_shader_inary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_ob
 EGL: after eglCreateImageKHR() eglError (0x3003)

Is there anyone who can tell me how to solve this problem? 

       

         Regards, Jaye.