Use properties() method consistently in paldevice.cpp

Change-Id: I8074ecc283dde57bddfabf72a439bf6132ee900e
This commit is contained in:
Tony Tye committed 2021-01-13 08:24:28 +00:00
1 parent 682774a09d
commit f92b060707
1 file changed
+2 -2
+2 -2
View File
@@ -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<uint>(properties_.gpuMemoryProperties.flags.pageMigrationEnabled ||
properties_.gpuMemoryProperties.flags.iommuv2Support));
(static_cast<uint>(properties().gpuMemoryProperties.flags.pageMigrationEnabled ||
properties().gpuMemoryProperties.flags.iommuv2Support));
// Update HW info for the device
if ((GPU_ENABLE_PAL == 1) && (properties().revision <= Pal::AsicRevision::Polaris12)) {