From 1a033c6ee9377a441ed0b7bdacc753c7795b5964 Mon Sep 17 00:00:00 2001 From: Tony Tye Date: Sun, 10 Jan 2021 05:21:07 +0000 Subject: [PATCH] Use properties() method consistently in paldevice.cpp Change-Id: I8074ecc283dde57bddfabf72a439bf6132ee900e [ROCm/clr commit: f92b0607078133010f115ad7dca18647e47815be] --- projects/clr/rocclr/device/pal/paldevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/rocclr/device/pal/paldevice.cpp b/projects/clr/rocclr/device/pal/paldevice.cpp index 698f0197bb..db6eaf8cdc 100644 --- a/projects/clr/rocclr/device/pal/paldevice.cpp +++ b/projects/clr/rocclr/device/pal/paldevice.cpp @@ -885,8 +885,8 @@ bool Device::create(Pal::IDevice* device) { // XNACK flag should be set for PageMigration or IOMMUv2 support. // Note: Navi2x should have a fix in HW. bool isXNACKSupported = (ipLevel_ <= Pal::GfxIpLevel::GfxIp10_1) && - (static_cast(properties_.gpuMemoryProperties.flags.pageMigrationEnabled || - properties_.gpuMemoryProperties.flags.iommuv2Support)); + (static_cast(properties().gpuMemoryProperties.flags.pageMigrationEnabled || + properties().gpuMemoryProperties.flags.iommuv2Support)); // Update HW info for the device if ((GPU_ENABLE_PAL == 1) && (properties().revision <= Pal::AsicRevision::Polaris12)) {