Enable HDP flush for all gfx9+ clients.

ucode versions are per asic so not valid for feature enablement outside
of bringup/dev.  Feature is older than the latest ioctl change that
the thunk depends on so use of this patch with kernel packages that
don't contain the feature is not possible in a supported environment.

Change-Id: I36b14176a7d642017ef1518aeade454b0f3dc749
This commit is contained in:
Sean Keely
2019-08-12 18:15:01 -05:00
والد 4647a5454d
کامیت 8133563a93
@@ -141,8 +141,8 @@ hsa_status_t BlitSdma<RingIndexTy, HwIndexMonotonic, SizeToCountOffset>::Initial
platform_atomic_support_ = link.info.atomic_support_64bit;
}
// Determine if sDMA microcode supports HDP flush command
if (agent_->GetSdmaMicrocodeVersion() >= SDMA_PKT_HDP_FLUSH::kMinVersion_) {
// HDP flush supported on gfx900 and forward.
if (agent_->isa()->GetMajorVersion() > 8) {
hdp_flush_support_ = true;
}