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