Use properties() method consistently in paldevice.cpp

Change-Id: I8074ecc283dde57bddfabf72a439bf6132ee900e
Этот коммит содержится в:
Tony Tye
2021-01-10 05:21:07 +00:00
родитель 682774a09d
Коммит f92b060707
+2 -2
Просмотреть файл
@@ -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)) {