Skip to content

Commit

Permalink
mesa-vpu: don't override DEFAULT_OVERLAYS
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn authored and igorpecovnik committed Oct 9, 2024
1 parent e5d940c commit 067dd99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extensions/mesa-vpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ function extension_prepare_config__3d() {

# This should be enabled on all for rk3588 distributions where mesa and vendor kernel is present
if [[ "${LINUXFAMILY}" =~ ^(rockchip-rk3588|rk35xx)$ && "$BRANCH" == vendor ]]; then
declare -g DEFAULT_OVERLAYS="panthor-gpu"
if [[ -n $DEFAULT_OVERLAYS ]]; then
DEFAULT_OVERLAYS+=" panthor-gpu"
else
declare -g DEFAULT_OVERLAYS="panthor-gpu"
fi
fi

}
Expand Down

0 comments on commit 067dd99

Please sign in to comment.