[Openpvrsgx-devgroup] old am3517 version

Jeroen Hofstee jeroen at myspectrum.nl
Thu Dec 19 22:58:52 CET 2019


Hi,

On 12/18/19 10:14 PM, Jeroen Hofstee wrote:
> Hi ,
>
> I am looking at the old ~/Graphics_SDK_4_09_00_01 + linux 5.4 for an 
> old am3517
>
> + some patches and I don't reparent this one:
> don't clk_set_parent(psSysSpecData->psSGX_FCK, psSysSpecData->psCORE_CK);
>
> since it fails..
>
> probing that module works now:
>
> [29973.162880] pvrsrvkm: loading out-of-tree module taints kernel.
> [29973.194943] PVR: PVRCore_Init
> [29973.219580] PVR: PVRSRVDriverProbe(pDevice=51e8d31a)
> [29973.220696] PVR: EnableSystemClocks: Enabling System Clocks
> [29973.220989] PVR: Setting GPTIMER11 parent to System Clock
> [29973.221369] PVR: GPTIMER11 clock is 13MHz
> [29973.221460] PVR: Setting GPTIMER11 mode to posted (currently is 
> non-posted)
> [29973.236835] PVR: PVRCore_Init: major device 246
>
> Using it won't work:
>
ok I messed up, in copy_to_user..

now at:

[  330.371255] pvrsrvkm: loading out-of-tree module taints kernel.
[  330.389610] PVR: PVRCore_Init
[  330.405191] PVR: PVRSRVDriverProbe(pDevice=7e3cbcdf)
[  330.416538] PVR: EnableSystemClocks: Enabling System Clocks
[  330.417190] PVR: Setting GPTIMER11 parent to System Clock
[  330.417485] PVR: GPTIMER11 clock is 13MHz
[  330.417571] PVR: Setting GPTIMER11 mode to posted (currently is 
non-posted)
[  330.421343] PVR: PVRCore_Init: major device 246
[  339.692940] PVR: Installing MISR with cookie fd0e6ee9
[  339.693598] PVR: Installing device LISR SGX ISR on IRQ 21 with cookie 
f5cce1ef
[  339.693772] PVR: SysFinalise: Version string: SGX revision = 1.2.1
[  349.485803] PVR_K:(Error): DoMapToUser: Error - vmf_insert_mixed 
failed (100) [795, 
home/jeroen/Graphics_SDK_4_09_00_01/GFX_Linux_KM/services4/srvkm/env/linux/mmap.c]

I will look at that tomorrow,

Regards,

Jeroen



More information about the openpvrsgx-devgroup mailing list