mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-28 02:50:36 +00:00
crocus: add Mesa gallium driver for older Intel GPUs
This commit is contained in:
parent
f11ba02f91
commit
4e6f8705e6
@ -23,7 +23,14 @@ get_graphicdrivers() {
|
||||
V4L2_SUPPORT="no"
|
||||
|
||||
if [ "${GRAPHIC_DRIVERS}" = "all" ]; then
|
||||
GRAPHIC_DRIVERS="iris i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
|
||||
GRAPHIC_DRIVERS="crocus iris i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "crocus"; then
|
||||
GALLIUM_DRIVERS+=" crocus"
|
||||
XORG_DRIVERS+=" intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
|
||||
|
@ -17,7 +17,7 @@ get_graphicdrivers
|
||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET+=" nasm:host x265"
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(iris|i915|i965)"; then
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915|i965)"; then
|
||||
PKG_DEPENDS_TARGET+=" intel-vaapi-driver"
|
||||
fi
|
||||
fi
|
||||
|
@ -26,7 +26,7 @@ PKG_MESON_OPTS_TARGET="-Dlibkms=false \
|
||||
-Dinstall-test-programs=false \
|
||||
-Dudev=false"
|
||||
|
||||
listcontains "${GRAPHIC_DRIVERS}" "(iris|i915|i965)" &&
|
||||
listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915|i965)" &&
|
||||
PKG_MESON_OPTS_TARGET+=" -Dintel=true" || PKG_MESON_OPTS_TARGET+=" -Dintel=false"
|
||||
|
||||
listcontains "${GRAPHIC_DRIVERS}" "(r200|r300|r600|radeonsi)" &&
|
||||
|
@ -66,6 +66,10 @@ else
|
||||
PKG_MESON_OPTS_TARGET+=" -Dgallium-va=disabled"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "crocus"; then
|
||||
PKG_MESON_OPTS_TARGET+=" -Dprefer-crocus=true"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "vmware"; then
|
||||
PKG_MESON_OPTS_TARGET+=" -Dgallium-xa=enabled"
|
||||
else
|
||||
|
@ -39,7 +39,7 @@ if [ "${MEDIACENTER}" = "kodi" ]; then
|
||||
fi
|
||||
|
||||
get_graphicdrivers
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(iris|i915|i965)"; then
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915|i965)"; then
|
||||
PKG_DEPENDS_TARGET+=" intel-vaapi-driver media-driver"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user