SWDEV-271486 - [PAL] Temporarily disable reporting sramecc support

Change-Id: I089af8f8a4645ce5353f351dbf3a018cd31df216
Dieser Commit ist enthalten in:
Vladislav Sytchenko
2021-02-16 10:38:28 -05:00
Ursprung 660e543f49
Commit ac237ac094
+5 -1
Datei anzeigen
@@ -829,7 +829,11 @@ bool Device::create(Pal::IDevice* device) {
(static_cast<uint>(properties().gpuMemoryProperties.flags.pageMigrationEnabled ||
properties().gpuMemoryProperties.flags.iommuv2Support));
bool isSRAMECCEnabled = properties().gfxipProperties.shaderCore.flags.eccProtectedGprs;
// Temporarily disable reporting sramecc support.
// PAL currently only reports if the device CAN support it,
// not if it is ENABLED. This will cause us to enable the feature on
// the HSAIL path, which is not supported.
bool isSRAMECCEnabled = false;
const amd::Isa* isa;
std::tie(isa, palName_) = findIsa(asicRevision_, isSRAMECCEnabled, isXNACKEnabled);