[Openpvrsgx-devgroup] New branch and tree structure

H. Nikolaus Schaller hns at goldelico.com
Sat Nov 16 18:56:33 CET 2019


> Am 16.11.2019 um 18:44 schrieb Tony Lindgren <tony at atomide.com>:
> 
> Hi,
> 
> * H. Nikolaus Schaller <hns at goldelico.com> [191116 12:22]:
>> Hi,
>> after our discussion about staging or gpu/drm I have reworked our
>> branches and tree structure.
>> 
>> Files are now all residing in
>> 
>> drivers/gpu/drm/pvrsgx
>> 
>> On top level we have the Kconfig and Makefile and initial patches
>> by Tony going towards a generic driver.
>> 
>> And we have subdirectories for different DDK versions I have collected.
>> This leads to the following source tree structure:
>> 
>> iMac:master hns$ ls -l drivers/gpu/drm/pvrsgx/
>> total 392
>> drwxr-xr-x  4 hns  staff     238 Nov 16 09:48 1.10.2359475
>> drwx------@ 3 hns  staff     238 Nov 16 09:47 1.13.3341330
>> drwxr-xr-x  3 hns  staff     102 Nov 15 18:19 1.14.3699939
>> drwx------@ 3 hns  staff     238 Nov 16 09:47 1.14.3759903
>> drwxr-xr-x  3 hns  staff     102 Nov 16 08:52 1.14.3841212
>> drwxr-xr-x  3 hns  staff     102 Nov 16 09:52 1.15.4564147
>> drwxr-xr-x  3 hns  staff     102 Nov 15 17:37 1.17.4948957
>> drwxr-xr-x  4 hns  staff     272 Nov 16 09:47 1.9.2253347
>> -rw-r--r--  1 hns  staff    2037 Nov 16 09:47 Kconfig
>> -rw-r--r--  1 hns  staff    8259 Nov 16 09:47 Makefile
>> -rw-r--r--  1 hns  staff    3277 Nov 16 09:47 TODO
>> -rw-r--r--  1 hns  staff    7958 Nov 16 09:47 pvr-drv.c
>> -rw-r--r--  1 hns  staff    3207 Nov 16 09:47 pvr-drv.h
>> iMac:master hns$ 
> 
> Great, makes sense to me.
> 
> FYI, I'll be moving ioremap over to the pvr-drv.c next.
> After that we can start adding revision detection functions
> etc.

Fine!

> I guess I'll move over interrupt handling after that.
> 
> Then I'll continue working on adding command translation
> support.

Looks like a good plan. At the moment my available time
only leaves me to integrate things and test but no code
to this area...

> 
> And I guess Ivaylo is planning to look at the MMU code a
> bit at some point?
> 
> And maybe after that we can try to add 2d support based
> on drivers/gpu/drm/gma500/accel_2d.c (sgx540?) for the
> versions that have 2d hardware on them.

Wikipedia https://en.wikipedia.org/wiki/Intel_GMA#PowerVR_GPU_based

says the gma500/600 is an sgx535, i.e. another variant...
There is also gma3600/3650 using sgx545. This seems to be
found in some Atom processors.

But I remember there are macros and errata in the DDK which
also cover sgx520,sgx535,sgx545 and more.

And, we have a subdirectory for hardware integration of some
Intel chips (poulsbo & cedarview) in

https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/tree/letux/pvrsrvkm-1.14.3699939/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/services4/system

There is also sgx_pc_i686_tc3 where I wasn't able to find out
what it is.

BR,
Nikolaus



More information about the openpvrsgx-devgroup mailing list