pt., 15 lut 2019 o 13:50 Merlijn Wajer <merlijn@xxxxxxxxxx> napisał(a): > > Hi, > > On 15/02/2019 13:43, H. Nikolaus Schaller wrote: > > > > IMHO this is the first example where this collaboration of our group is already very helpful because > > we start to exchange knowledge about common problems. > > Yay! > > > > > For this patch, the key question is what a better solution will be. Most likely reworking the > > "pgoff << PAGE_SHIFT" stuff from which I remember that it is used quite a lot. But that should be > > done once for all and everybody on our future master branch. I hope that userspace is not checking those pointers also (like it's done for build flags). For now i leaved it as is and focused on getting it running. Then with something working i wanted to make changes/refactor/etc. > > > > > So I now have back an (almost) working reference system on v5.0-rc6 for GTA04, BeagleBoard, > > BeagleBone, PocketBeagle and potentially OpenPanodra (which uses the omap3430/sgx121 variant). > > And the OpenPandora is similar to the Nokia N900 (sgx121). If you have > the userspace sgx driver that still supports X, you might be able to get > accelerated 3D on X if you use the maemo leste ddx and userspace driver. > > https://github.com/maemo-leste/n9xx-ti-omap3-sgx > https://github.com/maemo-leste/n9xx-xf86-video-fbdev-sgx > > (armhf known to work on n900, armel not) > > I don't know how well older userspace works with the latest kernel > interface, though. > > > At least I can download and start firmware. I just have to find a way to fix the omaplfb so that it works > > with our omapdrm based panels to runs the CLipBlit test [1] on modern kernels... So now You're in the same place as i'm currently. I'm able to download and start firmware, etc, but when tryint to use some egl code (note i'm using android binaries) there are problems (no errors, but like i wrote, 0 available egl configurations). Need to check framebuffer setup (on mainline i'm using drm driver for display, maybe there are differences between it and plain fb driver). > > Maybe you can compare with what we have here: > https://github.com/maemo-leste/n9xx-linux/tree/pvr-wip-4.15.7/drivers/gpu/pvr > > Cheers, > Merlijn >