summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Sider <Graham.Sider@amd.com>2021-10-20 17:31:03 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-04-14 19:47:48 +0200
commit70bdfedaaec12dd47b24f16a59d31ae1bafffd99 (patch)
treea04e560bb90dbc6f6021cdbe17439e49a02acc63
parentdrm/amdkfd: Enable HW_UPDATE_RPTR on GC 9.4.3 (diff)
downloadlinux-70bdfedaaec12dd47b24f16a59d31ae1bafffd99.tar.xz
linux-70bdfedaaec12dd47b24f16a59d31ae1bafffd99.zip
drm/amdkfd: Add gfx_target_version for GC 9.4.3
Required for Thunk GFX version sysfs query. Signed-off-by: Graham Sider <Graham.Sider@amd.com> Reviewed-by: Amber Lin <Amber.Lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_device.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index e12ff49d01e1..00f528eb9812 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@ -323,10 +323,13 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool vf)
break;
/* Aldebaran */
case IP_VERSION(9, 4, 2):
- case IP_VERSION(9, 4, 3):
gfx_target_version = 90010;
f2g = &aldebaran_kfd2kgd;
break;
+ case IP_VERSION(9, 4, 3):
+ gfx_target_version = 90400;
+ f2g = &aldebaran_kfd2kgd;
+ break;
/* Navi10 */
case IP_VERSION(10, 1, 10):
gfx_target_version = 100100;