Summary: enable activation of northern islands radeon cards without blobs
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Fri, 6 Dec 2019 13:34:23 +0000 (13:34 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Fri, 6 Dec 2019 13:34:23 +0000 (13:34 +0000)
by Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>

git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@17088 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-5.3

index f9944bd53cc92a2537700f2e14c4eec113f59ddf..0bc093990d1170473bb6731bcc06bf726e740a68 100755 (executable)
@@ -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