aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0243-drm-amdgpu-add-picasso-ucode-loading-method.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0243-drm-amdgpu-add-picasso-ucode-loading-method.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0243-drm-amdgpu-add-picasso-ucode-loading-method.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0243-drm-amdgpu-add-picasso-ucode-loading-method.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0243-drm-amdgpu-add-picasso-ucode-loading-method.patch
new file mode 100644
index 00000000..21a9fbd6
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0243-drm-amdgpu-add-picasso-ucode-loading-method.patch
@@ -0,0 +1,30 @@
+From b239801ca756ecfd4aad835e74dbbc0db0268cb9 Mon Sep 17 00:00:00 2001
+From: Likun Gao <Likun.Gao@amd.com>
+Date: Tue, 10 Jul 2018 20:15:45 +0800
+Subject: [PATCH 0243/2940] drm/amdgpu: add picasso ucode loading method
+
+Same as raven.
+
+Signed-off-by: Likun Gao <Likun.Gao@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Huang Rui <ray.huang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+index a942fd28dae8..8a9b6258c2e5 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+@@ -303,6 +303,7 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
+ return AMDGPU_FW_LOAD_SMU;
+ case CHIP_VEGA10:
+ case CHIP_RAVEN:
++ case CHIP_PICASSO:
+ case CHIP_VEGA12:
+ case CHIP_VEGA20:
+ if (!load_type)
+--
+2.17.1
+