aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0086-drm-amdgpu-vg20-Change-the-load-type-of-vega20-to-ps.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0086-drm-amdgpu-vg20-Change-the-load-type-of-vega20-to-ps.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0086-drm-amdgpu-vg20-Change-the-load-type-of-vega20-to-ps.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0086-drm-amdgpu-vg20-Change-the-load-type-of-vega20-to-ps.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0086-drm-amdgpu-vg20-Change-the-load-type-of-vega20-to-ps.patch
new file mode 100644
index 00000000..54b1fe69
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0086-drm-amdgpu-vg20-Change-the-load-type-of-vega20-to-ps.patch
@@ -0,0 +1,41 @@
+From 42858351dd247120d9b5d3e582619508263f8ab1 Mon Sep 17 00:00:00 2001
+From: Likun Gao <Likun.Gao@amd.com>
+Date: Mon, 9 Jul 2018 13:47:04 -0500
+Subject: [PATCH 0086/2940] drm/amdgpu/vg20: Change the load type of vega20 to
+ psp (v2)
+
+Modified the vega20 load type to psp now that psp
+support is implemented.
+
+v2: squash in fixes history (Alex)
+
+Signed-off-by: Likun Gao <Likun.Gao@amd.com>
+Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
+Reviewed-by: Hawking Zhang <Hawking.Zhang@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 | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+index c29d519fa381..a942fd28dae8 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+@@ -304,12 +304,11 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
+ case CHIP_VEGA10:
+ case CHIP_RAVEN:
+ case CHIP_VEGA12:
++ case CHIP_VEGA20:
+ if (!load_type)
+ return AMDGPU_FW_LOAD_DIRECT;
+ else
+ return AMDGPU_FW_LOAD_PSP;
+- case CHIP_VEGA20:
+- return AMDGPU_FW_LOAD_DIRECT;
+ default:
+ DRM_ERROR("Unknown firmware load type\n");
+ }
+--
+2.17.1
+