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