Skip to content

Commit c3e1091

Browse files
amd-yahuilgregkh
authored andcommitted
drm/amdkfd: Correct F8_MODE for gfx950
commit 0c7e053 upstream. Correct F8_MODE setting for gfx950 that was removed Fixes: 61972cd ("drm/amdkfd: Set per-process flags only once for gfx9/10/11/12") Signed-off-by: Amber Lin <[email protected]> Reviewed-by: Harish Kasiviswanathan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a8a34fb commit c3e1091

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v9.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ static bool set_cache_memory_policy_v9(struct device_queue_manager *dqm,
6969
qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT;
7070

7171
if (KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 4, 3) ||
72-
KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 4, 4) ||
73-
KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 5, 0))
72+
KFD_GC_VERSION(dqm->dev->kfd) == IP_VERSION(9, 4, 4))
7473
qpd->sh_mem_config |= (1 << SH_MEM_CONFIG__F8_MODE__SHIFT);
7574

7675
qpd->sh_mem_ape1_limit = 0;

0 commit comments

Comments
 (0)