mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/graphic: add lima/panfrost options
This commit is contained in:
parent
33ba606e1a
commit
3a8a16f1e6
@ -40,6 +40,11 @@ get_graphicdrivers() {
|
|||||||
VAAPI_SUPPORT="yes"
|
VAAPI_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if listcontains "$GRAPHIC_DRIVERS" "lima"; then
|
||||||
|
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,kmsro,lima"
|
||||||
|
V4L2_SUPPORT="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
if listcontains "$GRAPHIC_DRIVERS" "nvidia"; then
|
if listcontains "$GRAPHIC_DRIVERS" "nvidia"; then
|
||||||
XORG_DRIVERS="$XORG_DRIVERS nvidia"
|
XORG_DRIVERS="$XORG_DRIVERS nvidia"
|
||||||
VDPAU_SUPPORT="yes"
|
VDPAU_SUPPORT="yes"
|
||||||
@ -50,6 +55,11 @@ get_graphicdrivers() {
|
|||||||
VDPAU_SUPPORT="yes"
|
VDPAU_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if listcontains "$GRAPHIC_DRIVERS" "panfrost"; then
|
||||||
|
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,kmsro,panfrost"
|
||||||
|
V4L2_SUPPORT="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
if listcontains "$GRAPHIC_DRIVERS" "r200"; then
|
if listcontains "$GRAPHIC_DRIVERS" "r200"; then
|
||||||
DRI_DRIVERS="$DRI_DRIVERS,r200"
|
DRI_DRIVERS="$DRI_DRIVERS,r200"
|
||||||
XORG_DRIVERS="$XORG_DRIVERS ati"
|
XORG_DRIVERS="$XORG_DRIVERS ati"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user