* Tomi Valkeinen tomi.valkeinen@ti.com [180123 16:47]:
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.
We really need some coordinated effort to get the driver kernel parts to usable state though. And considering the number of people involved I think staging is the best place to do it. Then what happens after that is of course up in the air as always. In the worst case it will get just dropped lik the TI dsp stuff based on zero effort :)
And there finally seems to some effort going on by the chromeos guys.
FYI again if it was not mentioned earlier, here's the thread for upstreaming Roque support?
"[POC 00/16] Chromebook R13 GPU driver port":
https://lists.freedesktop.org/archives/dri-devel/2017-November/157737.html
No idea how much of that will be usable for SGX though.
Regards,
Tony