aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/1045-drm-amdgpu-psp-update-the-naming-of-GFX_FW_TYPE_RLC_.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1045-drm-amdgpu-psp-update-the-naming-of-GFX_FW_TYPE_RLC_.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/1045-drm-amdgpu-psp-update-the-naming-of-GFX_FW_TYPE_RLC_.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1045-drm-amdgpu-psp-update-the-naming-of-GFX_FW_TYPE_RLC_.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1045-drm-amdgpu-psp-update-the-naming-of-GFX_FW_TYPE_RLC_.patch
new file mode 100644
index 00000000..545aafa3
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1045-drm-amdgpu-psp-update-the-naming-of-GFX_FW_TYPE_RLC_.patch
@@ -0,0 +1,46 @@
+From 1e8d1ba750cee2145f9141a6b3132cdb7844390d Mon Sep 17 00:00:00 2001
+From: Hawking Zhang <Hawking.Zhang@amd.com>
+Date: Wed, 2 Jan 2019 19:16:06 +0800
+Subject: [PATCH 1045/2940] drm/amdgpu/psp: update the naming of
+ GFX_FW_TYPE_RLC_RESTORE_LIST_CNTL
+
+GFX_FW_TYPE_RLC_RESTORE_LIST_CNTL was renamed to GFX_FW_TYPE_RLC_RESTORE_LIST_SRM_CNTL
+in latest psp_gfx_if drop
+
+Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 2 +-
+ drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h b/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h
+index 0de00fbe9233..f3a7d207af07 100644
+--- a/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h
++++ b/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h
+@@ -191,7 +191,7 @@ enum psp_gfx_fw_type
+ GFX_FW_TYPE_MMSCH = 19,
+ GFX_FW_TYPE_RLC_RESTORE_LIST_GPM_MEM = 20,
+ GFX_FW_TYPE_RLC_RESTORE_LIST_SRM_MEM = 21,
+- GFX_FW_TYPE_RLC_RESTORE_LIST_CNTL = 22,
++ GFX_FW_TYPE_RLC_RESTORE_LIST_SRM_CNTL = 22,
+ GFX_FW_TYPE_UVD1 = 23,
+ GFX_FW_TYPE_MAX = 24
+ };
+diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
+index c5a03ccba3e6..2b03378b9d88 100644
+--- a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
+@@ -73,7 +73,7 @@ psp_v10_0_get_fw_type(struct amdgpu_firmware_info *ucode, enum psp_gfx_fw_type *
+ *type = GFX_FW_TYPE_RLC_G;
+ break;
+ case AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL:
+- *type = GFX_FW_TYPE_RLC_RESTORE_LIST_CNTL;
++ *type = GFX_FW_TYPE_RLC_RESTORE_LIST_SRM_CNTL;
+ break;
+ case AMDGPU_UCODE_ID_RLC_RESTORE_LIST_GPM_MEM:
+ *type = GFX_FW_TYPE_RLC_RESTORE_LIST_GPM_MEM;
+--
+2.17.1
+