GNU Linux-libre 5.7.8-gnu scripts scripts/v5.7.8-gnu
authorAlexandre Oliva <lxoliva@fsfla.org>
Thu, 9 Jul 2020 12:59:49 +0000 (08:59 -0400)
committerAlexandre Oliva <lxoliva@fsfla.org>
Thu, 9 Jul 2020 12:59:49 +0000 (08:59 -0400)
deblob-5.7
deblob-check

index 2e074c9967c707055caf4546ac128a8799b35047..f813954ef5daa47a72986dc19413e9489cb6b3d2 100755 (executable)
@@ -267,6 +267,12 @@ for f in \
     drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm \
     drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm \
   drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h \
+\
+    drivers/gpu/drm/i915/gt/shaders/README \
+    drivers/gpu/drm/i915/gt/shaders/clear_kernel/hsw.asm \
+  drivers/gpu/drm/i915/gt/hsw_clear_kernel.c \
+    drivers/gpu/drm/i915/gt/shaders/clear_kernel/ivb.asm \
+  drivers/gpu/drm/i915/gt/ivb_clear_kernel.c \
 \
     drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/com.fuc \
     drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/gf100.fuc3 \
@@ -847,13 +853,6 @@ reject_firmware drivers/gpu/drm/i915/display/intel_opregion.c
 reject_firmware drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
 clean_blob drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
 clean_blob drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
-# Hmm, these are quite sparse, and a little too regular to be code of
-# significant complexity, but being a little on the too-big side, and
-# due to the inclusion as X11/MIT-licensed without comments or links
-# to corresponding sources, I'm conservatively assuming they are
-# binary blobs.  If you know otherwise, please let me know.
-clean_blob drivers/gpu/drm/i915/gt/hsw_clear_kernel.c
-clean_blob drivers/gpu/drm/i915/gt/ivb_clear_kernel.c
 clean_kconfig drivers/gpu/drm/i915/Kconfig DRM_I915
 clean_mk CONFIG_DRM_I915 drivers/gpu/drm/i915/Makefile
 
@@ -3375,7 +3374,7 @@ clean_blob sound/pci/echoaudio/mona.c
 clean_kconfig sound/pci/Kconfig SND_MONA
 clean_mk CONFIG_SND_MONA sound/pci/echoaudio/Makefile
 
-announce SND_'<(Echoaudio)>' - "(Echoaudio) all of the above "
+announce SND_'<(Echoaudio)>' - "(Echoaudio) all of the above"
 reject_firmware sound/pci/echoaudio/echoaudio.c
 clean_blob sound/pci/echoaudio/echoaudio.c
 
index 407f206583b52f1063c7b9cac6c7b88b0cf5bde1..816000462b25b3b66530b19d3f72e34368f2608b 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# deblob-check version 2020-05-29
+# deblob-check version 2020-07-09
 # Inspired in gNewSense's find-firmware script.
 # Written by Alexandre Oliva <lxoliva@fsfla.org>
 
@@ -5884,7 +5884,9 @@ set_except () {
     accept '[ ]*device[ ]name[ ]with[ ]["]\.bin["][ ]as' Documentation/devicetree/bindings/mfd/iqs62x.yaml
     blobname 'amdgpu[/]%s' drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
     accept '[\t][\t]\.sha256[\t ]=[ ][{][ ]0x[0-9a-f][0-9a-f]\([,][ \t\n]*0x[0-9a-f][0-9a-f]\)*[ ][}][,]' drivers/platform/x86/touchscreen_dmi.c
-    blobna '0x00000001[,][ ]0x26020128[,][ ]0x00000024[,][ ]0x00000000\([,][\n\t ]*0x[0-9a-f]*\)*[,]\?' drivers/gpu/drm/i915/gt/'\(hsw\|ivb\)_clear_kernel\.c'
+    # Sources added to 5.7.8, but they were available elsewhere before..
+    defsnc 'static[ ]const[ ]u32[ ]ivb_clear_kernel\[\][ ]=' drivers/gpu/drm/i915/gt/ivb_clear_kernel.c
+    defsnc 'static[ ]const[ ]u32[ ]hsw_clear_kernel\[\][ ]=' drivers/gpu/drm/i915/gt/hsw_clear_kernel.c
 
     ;;