From e46b2239edd73222c5f4d457c2302ee5066d257a Mon Sep 17 00:00:00 2001 From: lxoliva Date: Thu, 18 May 2023 09:12:36 +0000 Subject: [PATCH] GNU Linux-libre 6.2.16-gnu git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@19280 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-6.2 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/deblob-6.2 b/deblob-6.2 index acdbd17974b..7406b62fa37 100755 --- a/deblob-6.2 +++ b/deblob-6.2 @@ -846,9 +846,16 @@ reject_firmware drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c clean_blob drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c reject_firmware drivers/gpu/drm/amd/amdgpu/imu_v11_0.c clean_blob drivers/gpu/drm/amd/amdgpu/imu_v11_0.c -reject_firmware drivers/gpu/drm/amd/amdgpu/mes_v10_1.c +if grep -q request_firmware drivers/gpu/drm/amd/amdgpu/mes_v10_1.c; then + reject_firmware drivers/gpu/drm/amd/amdgpu/mes_v10_1.c +fi +if grep -q request_firmware drivers/gpu/drm/amd/amdgpu/mes_v11_0.c; then + reject_firmware drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +fi +if grep -q amdgpu_mes_init_microcode drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c; then + clean_blob drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +fi clean_blob drivers/gpu/drm/amd/amdgpu/mes_v10_1.c -reject_firmware drivers/gpu/drm/amd/amdgpu/mes_v11_0.c clean_blob drivers/gpu/drm/amd/amdgpu/mes_v11_0.c clean_blob drivers/gpu/drm/amd/amdgpu/psp_v3_1.c reject_firmware drivers/gpu/drm/amd/amdgpu/psp_v10_0.c @@ -882,6 +889,9 @@ reject_firmware drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c clean_blob drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c reject_firmware drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c clean_blob drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +if grep -q request_firmware drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c; then + reject_firmware drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +fi clean_kconfig drivers/gpu/drm/amd/amdgpu/Kconfig DRM_AMDGPU clean_mk CONFIG_DRM_AMDGPU drivers/gpu/drm/amd/amdgpu/Makefile @@ -928,7 +938,6 @@ clean_sed '/uc_fw->file_selected\.path = blob->path/ i\ /* Avoid retrying forever when neighbor\ entries point to the same path. */\ continue;\ -\ ' drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 'avoid infinite loop' clean_blob drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c -- 2.31.1