AnsweredAssumed Answered

Help with device tree / installing vivante GPU driver for X11 in debian 9.2 with i.MX6 SoloLite

Question asked by Joey Hanlon on Jan 9, 2018
Latest reply on Jan 10, 2018 by Joey Hanlon

Hi - I am currently running debian 9.2 / kernel 4.4.80-armv7-x14 with an i.MX6 SoloLite, and running X11 apps with fbdev. The graphics are very choppy with this setup, so I need to figure out how to get the GPU working. I've added the GPU to the device tree:

gpu@02200000 {
   compatible = "fsl,imx6sl-gpu", "fsl,imx6q-gpu";
   reg = <0x2200000 0x4000 0x2204000 0x4000 0x80000000 0x0>;
   reg-names = "iobase_2d", "iobase_vg", "phys_baseaddr";
   interrupts = <0x0 0xa 0x4 0x0 0xb 0x4>;
   interrupt-names = "irq_2d", "irq_vg";
   clocks = <0x2 0x5e 0x2 0x5e 0x2 0x69>;
   clock-names = "gpu2d_axi_clk", "openvg_axi_clk", "gpu2d_clk";
   resets = <0x27 0x3 0x27 0x3>;
   reset-names = "gpu2d", "gpuvg";
   pu-supply = <0x4>;
   linux,phandle = <0x63>;
   phandle = <0x63>;

... but I'm not sure I've done it correctly. Some examples I've seen have the word "vivante" in a few fields up there, but I do not. Guides I have found also reference the gpu-viv-bin-mx6q package, but I cannot figure out how to obtain this package anywhere. Any assistance in getting the GPU working and installing the required drivers would be GREATLY appreciated, I've been driving myself crazy trying to figure this out.