From 02835efd06f0fed74739154b9ea648687de3320c Mon Sep 17 00:00:00 2001 From: lxoliva Date: Fri, 6 Dec 2019 13:34:23 +0000 Subject: [PATCH] Summary: enable activation of northern islands radeon cards without blobs by Denis 'GNUtoo' Carikli git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@17088 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-5.3 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/deblob-5.3 b/deblob-5.3 index f9944bd53cc..0bc093990d1 100755 --- a/deblob-5.3 +++ b/deblob-5.3 @@ -878,10 +878,13 @@ reject_firmware drivers/gpu/drm/radeon/r100.c clean_blob drivers/gpu/drm/radeon/r100.c reject_firmware drivers/gpu/drm/radeon/r600.c clean_blob drivers/gpu/drm/radeon/r600.c +reject_firmware drivers/gpu/drm/radeon/ni.c +clean_blob drivers/gpu/drm/radeon/ni.c # Something like this might work on other radeon cards too. If you # have such cards, please give it a try, and report back either way, # so that we can make more cards work, or at least add comments so -# that others don't waste their time trying them again. +# that others don't waste their time trying them again. See +# https://libreplanet.org/wiki/Group:Hardware/research/gpu/radeon clean_sed ' /r = r600_init_microcode(rdev);/,/}/ s,return r;,/*(DEBLOBBED)*/, ' drivers/gpu/drm/radeon/r600.c 'enable blobless activation' @@ -891,8 +894,9 @@ clean_sed ' clean_sed ' /r = r600_init_microcode(rdev);/,/}/ s,return r;,/*(DEBLOBBED)*/, ' drivers/gpu/drm/radeon/rv770.c 'enable blobless activation' -reject_firmware drivers/gpu/drm/radeon/ni.c -clean_blob drivers/gpu/drm/radeon/ni.c +clean_sed ' +/r = ni_init_microcode(rdev);/,/}/ s,return r;,/*(DEBLOBBED)*/, +' drivers/gpu/drm/radeon/ni.c 'enable blobless activation' reject_firmware drivers/gpu/drm/radeon/si.c clean_blob drivers/gpu/drm/radeon/si.c reject_firmware drivers/gpu/drm/radeon/cik.c -- 2.31.1