patjak / xf86-video-gma500

Xorg driver for gma500 forked from xf86-video-modesetting
Other
3 stars 2 forks source link

uapi/drm/gma_drm.h missing or misplaced or incomplete? #1

Closed misanthropos closed 6 years ago

misanthropos commented 10 years ago

I like to try out gma500 acceleration but can't compile the xf86 driver. After copying gma_drm.h to the include path I get drmmode_display.c:1076:9: error: 'GMA_BO_DISPLAY' undeclared (first use

gma_drm.h has just the definition being included...

gma-500-kernel and libdrm worked fine and are installed.

Can you give me hint on this?

patjak commented 10 years ago

Hi, it's not really hooked up properly but what you need for xf86-video-gma500 to find is this file: https://github.com/patjak/drm-gma500/blob/blitter_hacking/include/uapi/drm/gma_drm.h

So make sure you have the blitter_hacking branch checked out on drm-gma500. Also, you don't need the libdrm repo. All the kernel interface code is in xf86-video-gma500 for the time being, but will be moved to libdrm eventually.

With that said, I don't really remember in what state I left everything. I have probably some more patches laying around that I need to push.

misanthropos commented 10 years ago

Thanks for your response, Patrick.

Please push your stashes if needed... I was not able to compile the blitter_hack.. the gma500-next did compile fine.

patjak commented 10 years ago

I'll have to spend some time sorting out and cleaning up my code. The reason it's been laying around on my box is that I haven't had time to fix it and the benchmarking I've done shows the blitter to be much slower than blitting with the CPU. So in it's current state, it's unfortunately not very usable.

alterdaemon commented 10 years ago

I am keeping my fingers crossed!

This driver would bring another live to some still spectacular machines like Sony Vaio X11, which suffers from the poulsbo..

Regards

misanthropos commented 6 years ago

I guess there wont be any development anymore.

patjak commented 6 years ago

No, it's quite useless at this point :(