[Openpvrsgx-devgroup] About PowerVR DDKs
H. Nikolaus Schaller
hns at goldelico.com
Tue Oct 13 18:38:40 CEST 2020
Hi Alif,
> Am 13.10.2020 um 18:17 schrieb Alif Ilhan <alifilhan0 at gmail.com>:
>
> I want to build this kernel with the PVR module for Intel Atom N2600. But which DDK should I select? There are a lot of options like Ti, SUN4i, Ingenic Generic. But which is appropiate for the SGX545?
That is a good question :)
Well, there is no specific option for SGX545 but for different SoC.
The idea is to make a generic driver handle all SGX5 variants without configuration (only through device tree which describes the hardware).
Here is my .config for some OMAP processor:
iMac:master hns$ fgrep SGX .config
CONFIG_SGX=y
# CONFIG_PVRSGX_1_9_2188537 is not set
# CONFIG_PVRSGX_1_9_2253347 is not set
# CONFIG_PVRSGX_1_10_2359475 is not set
# CONFIG_PVRSGX_1_13_3341330 is not set
# CONFIG_PVRSGX_1_14_3699939 is not set
# CONFIG_PVRSGX_1_14_3759903 is not set
# CONFIG_PVRSGX_1_14_3841212 is not set
# CONFIG_PVRSGX_1_15_4564147 is not set
CONFIG_PVRSGX_1_17_4948957=y
# CONFIG_SGX_DEBUG is not set
CONFIG_SGX_DRM=y
CONFIG_SGX_OMAP=m
# CONFIG_SGX_GENERIC is not set
iMac:master hns$
I think your setup should have a CONFIG_SGX_CEDARVIEW for Intel.
It should become visible if your setup has CONFIG_MATOM=y and CONFIG_SGX=y.
I hope it has. If not, we have a bug with Makefile and Kconfig.
Please check with drivers/gpu/drm/pvrsgx/Makefile and Kconfig
Next is to choose some DDK version.
iMac:master hns$ find drivers/gpu/drm/pvrsgx/ -name '*cedarview*'
drivers/gpu/drm/pvrsgx//1.13.3341330/eurasia_km/eurasiacon/build/linux2/pc_i686_cedarview_linux
drivers/gpu/drm/pvrsgx//1.13.3341330/eurasia_km/services4/system/cedarview_linux
drivers/gpu/drm/pvrsgx//1.14.3699939/eurasia_km/eurasiacon/build/linux2/pc_i686_cedarview_linux
drivers/gpu/drm/pvrsgx//1.14.3699939/eurasia_km/services4/system/cedarview_linux
drivers/gpu/drm/pvrsgx//1.14.3759903/eurasia_km/eurasiacon/build/linux2/pc_i686_cedarview_linux
drivers/gpu/drm/pvrsgx//1.14.3759903/eurasia_km/services4/system/cedarview_linux
drivers/gpu/drm/pvrsgx//1.14.3841212/eurasia_km/services4/system/cedarview_linux
iMac:master hns$
shows which DDKs should compile. Best is to start with CONFIG_PVRSGX_1_14_3699939.
This will be the first hurdle to jump over...
Then we will see what problem surfaces next.
BR and thanks,
Nikolaus
More information about the openpvrsgx-devgroup
mailing list