[Openpvrsgx-devgroup] Building the 1.7.862890 branch for x86
Julius Schwartzenberg
julius.vrijheid at freedom.nl
Thu May 30 13:23:26 CEST 2024
On 28.05.24 15:57, H. Nikolaus Schaller wrote:
> Hm. To me it appeared that you are on the right one. But there are two branches:
> a) letux/pvrsrvkm-1.7.862890 - which is (currently) based on upstream v6.8-rc4
> b) pvrsrvkm-6.8-rc4 - which merges everything into a full branch, including the core driver and letux_defconfig
I was using a, but I'm struggling with how I could use b. Could it be
that it misses glue needed for Cedarview? I guess something would still
need to be ported. I enabled all PowerVR related options I found in
`make menuconfig` but the compilation didn't seem to pass the driver code.
>> The CONFIG variable used by my branch is the one that Intel's developers chose (CONFIG_DRM_INTEL_CDV).
>
> Ah, I see. Well, we have a scheme that tries to combine all architectures and therefor isn't focussed on Intel&Cedarview.
For now I continued again with my prior branch with the added Cedarview
bits. It would be great to move things into a tree that combines all
architectures, but I think the first step would be to get something to
work with a newer kernel at all. (At least boot up and find /proc/pvr
existing and some userspace libs interacting with it.)
>> Hopefully we could simply move everything to the latest DDK instead? :)
>
> Well it may be possible but isn't simple either :)
I am thinking we might have some luck with reaching out to Imagination
once we are at a stage where we'd just need the right userspace code
from their end :)
After solving some more compilation issues, I'm now running into build
errors that seem to be in Intel Cedarview specific parts:
> drivers/gpu/drm/pvrsgx/1.7.862890/drv/psb_gtt.h:56:30: error: field ‘hash’ has incomplete type
> 56 | struct drm_open_hash hash;
> | ^~~~
> drivers/gpu/drm/pvrsgx/1.7.862890/drv/psb_gtt.h:62:30: error: field ‘ht’ has incomplete type
> 62 | struct drm_open_hash ht;
> | ^~
> drivers/gpu/drm/pvrsgx/1.7.862890/drv/psb_gtt.h:64:30: error: field ‘item’ has incomplete type
> 64 | struct drm_hash_item item;
> | ^~~~
> drivers/gpu/drm/pvrsgx/1.7.862890/drv/psb_gtt.h:69:30: error: field ‘item’ has incomplete type
> 69 | struct drm_hash_item item;
> | ^~~~
> drivers/gpu/drm/pvrsgx/1.7.862890/drv/psb_drv.h:41:10: fatal error: ttm/ttm_object.h: Немає такого файла або каталогу
> 41 | #include "ttm/ttm_object.h"
> | ^~~~~~~~~~~~~~~~~~
I guess I need to look at how other drivers solved these issues.
Best regards,
Julius
More information about the openpvrsgx-devgroup
mailing list