1*4882a593Smuzhiyunconfig BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV 2*4882a593Smuzhiyun bool "xf86-video-imx-viv" 3*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_LIBGL 4*4882a593Smuzhiyun depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 5*4882a593Smuzhiyun depends on BR2_PACKAGE_IMX_GPU_G2D 6*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d 7*4882a593Smuzhiyun select BR2_PACKAGE_LIBDRM 8*4882a593Smuzhiyun select BR2_PACKAGE_XORGPROTO 9*4882a593Smuzhiyun help 10*4882a593Smuzhiyun X.Org driver for iMX6 GPU (Vivante) 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun Notice EGL and GLes2 APIs are correctly supported. This 13*4882a593Smuzhiyun driver should also be able to provide Desktop OpenGL 14*4882a593Smuzhiyun implementation but, this feature seems broken since quite 15*4882a593Smuzhiyun some time. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun To use this driver, add correct configuration to your 18*4882a593Smuzhiyun /etc/X11/xorg.conf: 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun Section "Device" 21*4882a593Smuzhiyun [...] 22*4882a593Smuzhiyun Driver "vivante" 23*4882a593Smuzhiyun Option "vivante_fbdev" "/dev/fbX" 24*4882a593Smuzhiyun EndSection 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun Don't forget to load galcore.ko and create /dev/galcore 27*4882a593Smuzhiyun before using this driver (else, Xorg will exit with an 28*4882a593Smuzhiyun obscure message like "Segmentation fault at address 0xc"). 29*4882a593Smuzhiyun 30*4882a593Smuzhiyuncomment "xf86-video-imx-viv needs an OpenGL backend" 31*4882a593Smuzhiyun depends on BR2_arm 32*4882a593Smuzhiyun depends on !BR2_PACKAGE_HAS_LIBGL 33*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_SYNC_1 34*4882a593Smuzhiyun 35*4882a593Smuzhiyuncomment "xf86-video-imx-viv depends on imx-gpu-viv with X11 output" 36*4882a593Smuzhiyun depends on BR2_arm 37*4882a593Smuzhiyun depends on !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 38*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_SYNC_1 39*4882a593Smuzhiyun 40*4882a593Smuzhiyuncomment "xf86-video-imx-viv depends on imx-gpu-g2d" 41*4882a593Smuzhiyun depends on BR2_arm 42*4882a593Smuzhiyun depends on !BR2_PACKAGE_IMX_GPU_G2D 43*4882a593Smuzhiyun depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 44*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_SYNC_1 45