Summary: Linux-libre: clean up nouveau further in 5.6.6+
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Wed, 22 Apr 2020 06:31:18 +0000 (06:31 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Wed, 22 Apr 2020 06:31:18 +0000 (06:31 +0000)
git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@17438 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-5.6

index 3f9d399591c3962feca01168b1ebb2bbe30b4290..6078c9dc6bffc54da4972d2ca916b9fc94c5c2a0 100755 (executable)
@@ -867,6 +867,11 @@ clean_blob drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c
 clean_blob drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c
 clean_blob drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
 clean_blob drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp108.c
+if grep MODULE_FIRMWARE \
+       drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c > /dev/null; then
+  # Added in 5.6.6.
+  clean_blob drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c
+fi
 clean_blob drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
 clean_blob drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm20b.c
 clean_blob drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c