[Openpvrsgx-devgroup] Poulsbo and Cedarview (GMA500 and GMA3600)
H. Nikolaus Schaller
hns at goldelico.com
Tue Oct 27 14:07:30 CET 2020
Hi Alif and Eloy,
thanks for helping to get something to compile. I am only waiting for v5.9.2 to arrive to
push an update.
In the meantime, I have found the kernel driver code for the Ubuntu 12.04 cedarview driver:
https://github.com/thomas001/cedarview-drm/tree/master/staging/cdv/pvr
I will include this as letux/pvrsrvkm-1.7.862890 in the next releases.
This should be the compatible kernel counterpart to the user-space libs provided by
https://launchpad.net/ubuntu/+source/cedarview-graphics-drivers
Well, finding the code is just the start and getting it work is a marathon run...
It needs to get a Makefile that is compatible with our wrapper Makefile.
The code seems to be maintained until v3.7 only, so we have to add a lot of kernel API fixes.
Next will be to check if this is cedarview only or also supports poulsbo.
And as a final step we have to debug it with the user-space components...
Anyways, this somehow helps to complete the puzzle of different sgx driver releases
and versions. From that we might be able to shape a generic one. Which removes
all the #if LINUX_VERSION macros. And one which handles clocks, resets etc. in a generic
way so that we get rid of compiling slightly different kernel modules for different SoC.
(Maybe the variations between 530, 535, 540, 544, 545 remain but that would already
be better than having 10 of them).
BR,
Nikolaus
More information about the openpvrsgx-devgroup
mailing list