EMGD-Community / intel-binaries-linux

Binaries and source code published by Intel®
https://thopiekar.eu:5443/EMGD
Other
37 stars 11 forks source link

compiling error for 64 bit system (J1900) #55

Open sancelot opened 5 years ago

sancelot commented 5 years ago

I am facing this error. Since this is a 64 bit system, I suppose something is missing in the code ?

/root/new/intel-binaries-linux/drm/pvr/services4/srvkm/env/linux/osfunc.c: In function ? OSFlushCPUCacheKM?: /root/new/intel-binaries-linux/drm/pvr/services4/srvkm/env/linux/osfunc.c:122:2: error: #error "Implement full CPU cache flush for this CPU!"

error "Implement full CPU cache flush for this CPU!"

thopiekar commented 5 years ago

The EMGD copy you find here, is meant to be used with GMA500 chipsets. This SoC is a 32bit system only. Not sure, whether it is possible to migrate the new code into the old one here.

sancelot commented 5 years ago

I was working on this implementation of the emgd driver for j1900 platform: https://www.intel.com/content/www/us/en/embedded/software/emgd/embedded-media-and-graphics-drivers-downloads.html (linux ...)

Since the code is for kernel 3.8 and mine 3.18.20, I thought this was the repository of this code .

thopiekar commented 5 years ago

Well, there might be some similarities. Just compare the code. If it is the case that there are similarities, feel free to merge you code here. Maybe we can get something working that does on both platforms. 🙂