[android-kernel] Galaxy Nexus, camera and PVRSRVExportFDToIONHandle

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Tue Dec 4 22:59:16 UTC 2012


Hi,

> And then instead of calling PVRSRVExportFDToIONHandle I would do that:
> [...]
> +fd = buffer;
> +file = fget(fd);
> +if (file){
> +  handle = global_handle;
> +  if (handle &&
> +  !ion_phys(global_pvr_ion_client,handle, &paddr, &unused)) {
> }
> [...]
Sorry for the pseudo-patch, I've now made a real patch and cleaned up my
code:
https://gitorious.org/replicant/kernel_samsung_tuna/commit/4d560f7d09ab0fe9819ba6600183ba0c194f65a2

Denis.



More information about the Replicant mailing list