Home
last modified time | relevance | path

Searched refs:ion_source_share (Results 1 – 1 of 1) sorted by relevance

/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c657 struct ion_fd_data ion_source_share; in psb_CreateSurfaceFromION() local
676 ion_source_share.handle = 0; in psb_CreateSurfaceFromION()
677 ion_source_share.fd = (int)(attribute_tpi->buffers[i]); in psb_CreateSurfaceFromION()
678 ion_ret = ioctl(ion_fd, ION_IOC_IMPORT, &ion_source_share); in psb_CreateSurfaceFromION()
679 if ((ion_ret < 0) || (0 == ion_source_share.handle)) { in psb_CreateSurfaceFromION()
690 vaddr = mmap(NULL, source_size, PROT_READ|PROT_WRITE, MAP_SHARED, ion_source_share.fd, 0); in psb_CreateSurfaceFromION()
727 attribute_tpi, psb_surface, vaddr, ion_source_share.fd, 0); in psb_CreateSurfaceFromION()