diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1038-drm-amdgpu-psp-declare-raven-psp-firmware.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1038-drm-amdgpu-psp-declare-raven-psp-firmware.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1038-drm-amdgpu-psp-declare-raven-psp-firmware.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1038-drm-amdgpu-psp-declare-raven-psp-firmware.patch new file mode 100644 index 00000000..2738c3f9 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1038-drm-amdgpu-psp-declare-raven-psp-firmware.patch @@ -0,0 +1,29 @@ +From c6c86c330ca743277a01a51a0eb38104fa4fa465 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Fri, 15 Sep 2017 17:36:19 -0400 +Subject: [PATCH 1038/4131] drm/amdgpu/psp: declare raven psp firmware + +So it gets picked up properly by the kernel. + +Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c +index bbd783d..ba56db5 100644 +--- a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c +@@ -35,6 +35,8 @@ + #include "raven1/GC/gc_9_1_offset.h" + #include "raven1/SDMA0/sdma0_4_1_offset.h" + ++MODULE_FIRMWARE("amdgpu/raven_asd.bin"); ++ + static int + psp_v10_0_get_fw_type(struct amdgpu_firmware_info *ucode, enum psp_gfx_fw_type *type) + { +-- +2.7.4 + |