Skip to content

Commit e530974

Browse files
jokim-amdjfvogel
authored andcommitted
drm/amdkfd: set precise mem ops caps to disabled for gfx 11 and 12
[ Upstream commit f82d27dcff939d3cbecbc60e1b71e2518c37e81d ] Clause instructions with precise memory enabled currently hang the shader so set capabilities flag to disabled since it's unsafe to use for debugging. Signed-off-by: Jonathan Kim <[email protected]> Tested-by: Lancelot Six <[email protected]> Reviewed-by: Harish Kasiviswanathan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit 8b80fd3f76f2a641c76fbda45b9ca4e1eddfc763) Signed-off-by: Jack Vogel <[email protected]>
1 parent ad05ca3 commit e530974

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,10 +2002,6 @@ static void kfd_topology_set_capabilities(struct kfd_topology_device *dev)
20022002
dev->node_props.debug_prop |= HSA_DBG_WATCH_ADDR_MASK_LO_BIT_GFX10 |
20032003
HSA_DBG_WATCH_ADDR_MASK_HI_BIT;
20042004

2005-
if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(11, 0, 0))
2006-
dev->node_props.capability |=
2007-
HSA_CAP_TRAP_DEBUG_PRECISE_MEMORY_OPERATIONS_SUPPORTED;
2008-
20092005
if (KFD_GC_VERSION(dev->gpu) >= IP_VERSION(12, 0, 0))
20102006
dev->node_props.capability |=
20112007
HSA_CAP_TRAP_DEBUG_PRECISE_ALU_OPERATIONS_SUPPORTED;

0 commit comments

Comments
 (0)