From bc6edc4feda1895a51d58df29ba3f6991c04d9e7 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sun, 10 Jun 2018 21:55:10 -0700 Subject: [PATCH] config/graphic: add support for freedreno --- config/graphic | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/graphic b/config/graphic index 461b9e1fb0..55c64a50e0 100644 --- a/config/graphic +++ b/config/graphic @@ -99,6 +99,13 @@ get_graphicdrivers() { VDPAU_SUPPORT="no" 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 [[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}" [[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"