On 23/01/18 18:22, H. Nikolaus Schaller wrote:
Well, you can refer to
https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#open-source-userspace...
Interesting.
But I don't see how it is related to OMAP-SGX at all (except that it is about a GFX subsystem).
I understand that this is for the case we would plan to craft a proper DRM based solution so that DRM API and user space libs can be used.
At least the latest SGX driver is DRM based. But true, the old driver may not be. But if it's not, I think it's even more unlikely that it would be merged to mainline.
This is obviously far beyond feasibility and maybe the fifth or tenth step.
But we want to do what can be done.
My idea is also to get it placed in drivers/staging/pvr and not drivers/gpu/drm.
I don't think staging wants to merge something that's never going to be moved out from staging.
And note that I'm not trying dismiss the work you've done, I think it's great to clean up the old driver if people use it. I'm just trying to be realistic about the possible goals =).
Tomi