aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3549-drm-amdgpu-MODULE_FIRMWARE-requires-linux-module.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3549-drm-amdgpu-MODULE_FIRMWARE-requires-linux-module.h.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3549-drm-amdgpu-MODULE_FIRMWARE-requires-linux-module.h.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3549-drm-amdgpu-MODULE_FIRMWARE-requires-linux-module.h.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3549-drm-amdgpu-MODULE_FIRMWARE-requires-linux-module.h.patch
new file mode 100644
index 00000000..fa9bbbf4
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3549-drm-amdgpu-MODULE_FIRMWARE-requires-linux-module.h.patch
@@ -0,0 +1,28 @@
+From d004179a83d95de96febc2e6a27025c9f92561db Mon Sep 17 00:00:00 2001
+From: Stephen Rothwell <sfr@canb.auug.org.au>
+Date: Tue, 13 Aug 2019 18:10:38 +1000
+Subject: [PATCH 3549/4256] drm/amdgpu: MODULE_FIRMWARE requires linux/module.h
+
+Fixes: 6a7a0bdbfa0c ("drm/amdgpu: add psp_v12_0 for renoir (v2)")
+Reviewed-by: Huang Rui <ray.huang@amd.com>
+Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/psp_v12_0.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v12_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v12_0.c
+index fd55baa6ea31..c72e43f8e0be 100644
+--- a/drivers/gpu/drm/amd/amdgpu/psp_v12_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/psp_v12_0.c
+@@ -21,6 +21,7 @@
+ */
+
+ #include <linux/firmware.h>
++#include <linux/module.h>
+ #include "amdgpu.h"
+ #include "amdgpu_psp.h"
+ #include "amdgpu_ucode.h"
+--
+2.17.1
+