Skip to content

Commit b6aff8b

Browse files
jokim-amdalexdeucher
authored andcommitted
drm/amdkfd: fix gfx11 restrictions on debugging cooperative launch
Restrictions on debugging cooperative launch for GFX11 devices should align to CWSR work around requirements. i.e. devices without the need for the work around should not be subject to such restrictions. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: James Zhu <james.zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 230ef39)
1 parent 8e96b36 commit b6aff8b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/gpu/drm/amd/amdkfd/kfd_debug.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ static inline bool kfd_dbg_has_gws_support(struct kfd_node *dev)
120120
&& dev->kfd->mec2_fw_version < 0x1b6) ||
121121
(KFD_GC_VERSION(dev) == IP_VERSION(9, 4, 1)
122122
&& dev->kfd->mec2_fw_version < 0x30) ||
123-
(KFD_GC_VERSION(dev) >= IP_VERSION(11, 0, 0) &&
124-
KFD_GC_VERSION(dev) < IP_VERSION(12, 0, 0)))
123+
kfd_dbg_has_cwsr_workaround(dev))
125124
return false;
126125

127126
/* Assume debugging and cooperative launch supported otherwise. */

0 commit comments

Comments
 (0)