julbouln / etnaviv_x15 Goto Github PK
View Code? Open in Web Editor NEWEtnaviv GC320 drm driver for Beagleboard X15 (AM572x)
Etnaviv GC320 drm driver for Beagleboard X15 (AM572x)
It is an extraction of the latest etnaviv (https://github.com/etnaviv) drm driver version from mainline kernel to test the support of the Beagleboard X15 (am57x) integrated Vivante GC320 GPU. - it is backported to 4.9.x kernel - it can be used without kernel recompilation by modifying DTB - armada X11 driver can be used to take advantage of the GPU (https://github.com/xobs/xserver-xorg-video-armada) Modifying DTB in DTBs directory (/boot/dtbs): Backup the current DTB: # cp am57xx-beagle-x15.dtb am57xx-beagle-x15.dtb.BAK Decompile DTB: # dtc -I dtb -O dts am57xx-beagle-x15.dtb > am57xx-beagle-x15.dts In am57xx-beagle-x15.dts, replace the bb2d entry (was "bb2d@59000000 {compatible = "ti,dra7-bb2d" ...") by: gpu_2d: bb2d@59000000 { compatible = "ti,dra7-bb2d","vivante,gc"; reg = <0x59000000 0x700>; interrupts = <0x0 0x78 0x4>; ti,hwmods = "bb2d"; clocks = <0xc2>; clock-names = "fclk"; status = "okay"; linux,phandle = <0x1b0>; phandle = <0x1b0>; }; And add: gpu-subsystem { compatible = "ti,dra7-gpu-subsystem"; cores = <&gpu_2d>; }; Recompile DTS: # dtc -O dtb -o am57xx-beagle-x15.dtb -b 0 am57xx-beagle-x15.dts Reboot: # reboot Compiling the module: # make -C /usr/src/$(YOUR_KERNEL_HEADERS)/ M=$PWD # insmod etnaviv.ko At this point, the device should be recognised: # dmesg ... [11108.002439] etnaviv gpu-subsystem: bound 59000000.bb2d (ops gpu_ops [etnaviv]) [11108.002461] etnaviv-gpu 59000000.bb2d: model: GC320, revision: 5301 Installing armada X11 driver: To be able to compile and use https://github.com/xobs/xserver-xorg-video-armada, you will need to install : - libdrm-armada (git://ftp.arm.linux.org.uk/~rmk/libdrm-armada.git/) - galcore headers https://github.com/etnaviv/galcore_headers (cp -fr galcore_headers/tree/master/include_v4 /usr/local/include/HAL) - libetnaviv https://github.com/etnaviv/libetnaviv
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.