Report HDP registers at all times.
HDP will now be used for coarse grain kernarg so needs to be
reported without consideration of fine grain vram over pcie.
Change-Id: I648167299faa583876a3d8685c3b3c4d8d31ebf9
[ROCm/ROCR-Runtime commit: 9c35780836]
This commit is contained in:
@@ -324,11 +324,9 @@ void GpuAgent::InitRegionList() {
|
||||
}
|
||||
break;
|
||||
case HSA_HEAPTYPE_MMIO_REMAP:
|
||||
if (core::Runtime::runtime_singleton_->flag().fine_grain_pcie()) {
|
||||
// Remap offsets defined in kfd_ioctl.h
|
||||
HDP_flush_.HDP_MEM_FLUSH_CNTL = (uint32_t*)mem_props[mem_idx].VirtualBaseAddress;
|
||||
HDP_flush_.HDP_REG_FLUSH_CNTL = HDP_flush_.HDP_MEM_FLUSH_CNTL + 1;
|
||||
}
|
||||
// Remap offsets defined in kfd_ioctl.h
|
||||
HDP_flush_.HDP_MEM_FLUSH_CNTL = (uint32_t*)mem_props[mem_idx].VirtualBaseAddress;
|
||||
HDP_flush_.HDP_REG_FLUSH_CNTL = HDP_flush_.HDP_MEM_FLUSH_CNTL + 1;
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user