diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2021-03-23 01:33:23 +0100 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-04-20 12:10:12 -0300 |
| commit | a8ee8f6d2703025a0549cf705e31d616d54fb5fb (patch) | |
| tree | badc0786ad75816f59d161a659bf65e189795f34 /recipes-graphics | |
| parent | 1ebb62d0f66ec7c74fe7b3f4d7dc751aa156f48f (diff) | |
| download | meta-freescale-a8ee8f6d2703025a0549cf705e31d616d54fb5fb.tar.gz | |
Move mesa/etnaviv to xf86-video-modesetting
* armada sources are gone finally
* glmark2-es2 performance is almost doubled 87 -> 162
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'recipes-graphics')
| -rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 3 | ||||
| -rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config/use-mainline-bsp/xorg.conf | 31 |
2 files changed, 10 insertions, 24 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 76f1bc287..738f02c88 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -20,6 +20,9 @@ PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno" | |||
| 20 | # For NXP BSP, GPU drivers don't support dri | 20 | # For NXP BSP, GPU drivers don't support dri |
| 21 | PACKAGECONFIG_remove_imxgpu_use-nxp-bsp = "dri" | 21 | PACKAGECONFIG_remove_imxgpu_use-nxp-bsp = "dri" |
| 22 | 22 | ||
| 23 | # mainline/etnaviv: | ||
| 24 | RRECOMMENDS_${PN}-megadriver_append_use-mainline-bsp = " libdrm-etnaviv mesa-etnaviv-env" | ||
| 25 | |||
| 23 | BACKEND = \ | 26 | BACKEND = \ |
| 24 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 27 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
| 25 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | 28 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ |
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/use-mainline-bsp/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/use-mainline-bsp/xorg.conf index b6f83469c..c58ae207e 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/use-mainline-bsp/xorg.conf +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/use-mainline-bsp/xorg.conf | |||
| @@ -1,28 +1,11 @@ | |||
| 1 | Section "Device" | 1 | Section "Device" |
| 2 | Identifier "Driver0" | 2 | Identifier "etnaviv" |
| 3 | Screen 0 | 3 | Driver "modesetting" |
| 4 | Driver "armada" | 4 | Option "kmsdev" "/dev/dri/card0" |
| 5 | 5 | Option "AccelMethod" "glamor" | |
| 6 | # Support hotplugging displays? | 6 | EndSection |
| 7 | Option "Hotplug" "TRUE" | ||
| 8 | |||
| 9 | # Support hardware cursor if available? | ||
| 10 | Option "HWCursor" "TRUE" | ||
| 11 | |||
| 12 | # Use GPU acceleration? | ||
| 13 | Option "UseGPU" "TRUE" | ||
| 14 | |||
| 15 | # Provide Xv interfaces? | ||
| 16 | Option "XvAccel" "TRUE" | ||
| 17 | |||
| 18 | # Prefer overlay for Xv (TRUE for armada-drm, FALSE for imx-drm) | ||
| 19 | Option "XvPreferOverlay" "TRUE" | ||
| 20 | |||
| 21 | # Which accelerator module to load (automatically found if commented out) | ||
| 22 | Option "AccelModule" "etnadrm_gpu" | ||
| 23 | Option "AccelModule" "etnaviv_gpu" | ||
| 24 | 7 | ||
| 25 | # Support DRI2 interfaces? | 8 | Section "ServerFlags" |
| 26 | Option "DRI" "TRUE" | 9 | Option "AutoAddGPU" "false" |
| 27 | EndSection | 10 | EndSection |
| 28 | 11 | ||
