From 27ea6107f8e5f744398cb37fa6d8b1a471be576b Mon Sep 17 00:00:00 2001 From: Jay Cornwall Date: Fri, 13 Sep 2019 15:42:36 -0400 Subject: [PATCH] Disable SDMA HDP flush on gfx10 Not currently functional, triggering SRBM write protection. Change-Id: Ib0b832357e3df5a6a0d0b46648515ec9bd70f017 [ROCm/ROCR-Runtime commit: 906cd841863b998d79ce2465f9a028f152f74712] --- .../runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp index 910360d000..188345e2d3 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp @@ -142,7 +142,8 @@ hsa_status_t BlitSdma::Initial } // HDP flush supported on gfx900 and forward. - if (agent_->isa()->GetMajorVersion() > 8) { + // FIXME: Not working on gfx10, raises SRBM write protection interrupt. + if (agent_->isa()->GetMajorVersion() == 9) { hdp_flush_support_ = true; }