texasinstruments / dri3wsegl Goto Github PK
View Code? Open in Web Editor NEWDRI3 WSEGL plugin for PVR driver
License: MIT License
DRI3 WSEGL plugin for PVR driver
License: MIT License
Hi,
while doing:
~/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/build/linux2/omap_linux$ make -j4 $*
I got:
CC [M] /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c: In function ‘OSAddTimer’: /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:2890:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration] init_timer(&psTimerCBData->sTimer); ^~~~~~~~~~ init_timers /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:2895:26: error: ‘struct timer_list’ has no member named ‘data’ psTimerCBData->sTimer.data = (IMG_UINTPTR_T)psTimerCBData; ^ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:305: /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 make[3]: *** Waiting for unfinished jobs....
I'm using gcc-8.2.0 natively.
Linux-4.14.74, gcc-8.2, native build:
CC [M] /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:781, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from ./arch/arm/include/asm/cacheflush.h:13, from /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:55: ./include/linux/timer.h: In function ‘timer_setup’: ./include/linux/timer.h:179:23: error: cast between incompatible function types from ‘void (*)(struct timer_list *)’ to ‘void (*)(long unsigned int)’ [-Werror=cast-function-type] __setup_timer(timer, (TIMER_FUNC_TYPE)callback, ^ ./include/linux/timer.h:144:25: note: in definition of macro ‘__setup_timer’ (_timer)->function = (_fn); \ ^~~ /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c: In function ‘OSEventObjectCreateKM’: /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:3051:13: error: ‘strncpy’ specified bound 50 equals destination size [-Werror=stringop-truncation] strncpy(psEventObject->szName, pszName, EVENTOBJNAME_MAXLENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:329: /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 make[2]: *** [Makefile:1527: _module_/home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild] Error 2 make[1]: *** [eurasiacon/build/linux2/kbuild/kbuild.mk:56: kbuild] Error 2 make: *** [../config/core.mk:679: build] Error 2
Would it be possible to support the newer/latest DDK 1.17?
We (Maemo Leste) are looking to support the Nokia N900, Motorola Droid 4 and (many) other OMAP4 devices with this latest drop. Our various phones use different DDK's - some really old, some relatively recent, but we'd really like to use the same (and latest) on all devices.
The openpvrsgx-devgroup are maintaining the kernel side(s) for the DDK's on top of mainline: https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/
And people have reported having success with the DDK, to at least get kmscube rendering (on the Motorola Droid 4 for example, with Linux 5.9.1).
We're interested in getting X11 support going, but it looks like the recent DDK 1.17 removed support for X at all - requiring more than dri3wsegl. Does anyone here have a good view of what would need to be implemented/written to get to that point? Me and others are happy to contribute time and write (C) code to get this going, but lack some of the higher level pictures.
cc @daveshah1 - since I saw you were also interested in doing this here: #5 (comment)
Hi,
I followed the instructions, I'm in:
~/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/build/linux2/omap5430_linux
But I got:
CC [M] /home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o /bin/sh: dostextfile: No such file or directory make[3]: *** [scripts/Makefile.build:306: /home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 rm /home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c make[2]: *** [Makefile:1515: _module_/home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild] Error 2 make[1]: *** [eurasiacon/build/linux2/kbuild/kbuild.mk:56: kbuild] Error 2 make: *** [../config/core.mk:613: build] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.