mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
config/graphic: add support for freedreno
This commit is contained in:
parent
42b160894f
commit
bc6edc4fed
@ -99,6 +99,13 @@ get_graphicdrivers() {
|
|||||||
VDPAU_SUPPORT="no"
|
VDPAU_SUPPORT="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if listcontains "$GRAPHIC_DRIVERS" "freedreno"; then
|
||||||
|
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,freedreno"
|
||||||
|
V4L2_SUPPORT="yes"
|
||||||
|
VAAPI_SUPPORT="no"
|
||||||
|
VDPAU_SUPPORT="no"
|
||||||
|
fi
|
||||||
|
|
||||||
# remove leading comma if present
|
# remove leading comma if present
|
||||||
[[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
|
[[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
|
||||||
[[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
|
[[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user