Revert "gfx11 is able to perform atomic ops even PCI reports no atomic support."
This reverts commit 9f0f7741de.
For APU, the PCIe atomic is supported by default. However, the PCIe
atomic feature needs to checked for dGPU. The kfd driver has already
set PCIe atomic support for APUs, so this patch can be reverted.
Change-Id: I131d5b8e095c1104e1695e7cf8b1ed178bccddde
Signed-off-by: Shane Xiao <shane.xiao@amd.com>
Este cometimento está contido em:
1 ascendente
c574c81835
cometimento
821f6e58f9
1 ficheiro modificado
-4
@@ -148,10 +148,6 @@ bool hasPciAtomicsSupport(int node) {
|
||||
if (pNodeProperties->NumCPUCores && pNodeProperties->NumFComputeCores)
|
||||
return true;
|
||||
|
||||
/* gfx11 is able to perform aotmic ops even PCI reports no atomic support. */
|
||||
if (pNodeProperties->EngineId.ui32.Major >= 11)
|
||||
return true;
|
||||
|
||||
HsaIoLinkProperties *IolinkProperties = new HsaIoLinkProperties[pNodeProperties->NumIOLinks];
|
||||
if (hsaKmtGetNodeIoLinkProperties(node, pNodeProperties->NumIOLinks, IolinkProperties)) {
|
||||
LOG() << "Unable to get Node IO Link Information for node " << node << std::endl;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador