linux: Enable blobless activation for radeon

This commit is contained in:
Ruben Rodriguez 2023-02-13 19:02:46 -05:00
parent 8e4b095e87
commit 21289262b6
2 changed files with 230 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright (C) 2023 Luis Guzman <ark@switnet.org>
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2008-2023 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2019 David Trudgian <dave@trudgian.net>
#
# This program is free software; you can redistribute it and/or modify
@ -19,7 +19,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=14
VERSION=15
. ./config
for PATCH in $DATA/*.patch ; do
@ -58,10 +58,7 @@ for DIR in $PRESERVEDIRS; do
cp $DIR $TMPDIR --parents -a
done
# Enable blobless activation - https://libreplanet.org/wiki/Group:Hardware/research/gpu/radeon
rm $TMPDIR/drivers/gpu/drm/radeon/ni.c
sh $DATA/deblob-5.15
sh $DATA/deblob-5.15 --force
echo "Reverting deblobbing for files patched by silent-accept-firmware"
cp $TMPDIR/* . -av