]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/amd/pm: Remove CPU virtual address notification in aldebaran
authorLijo Lazar <lijo.lazar@amd.com>
Sat, 28 Nov 2020 10:09:55 +0000 (18:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:56:19 +0000 (22:56 -0400)
PPSMC_MSG_SetSystemVirtualDramAddrHigh/Low messages are not handled by
PMFW in aldebaran

Signed-off-by: Lijo Lazar <Lijo.Lazar@amd.com>
Reviewed-by: Kenneth Feng <Kenneth.Feng@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

index e6c25a5814e805e6b4d732c57f14007684a83f8b..ce160f233323397503c5944418d55078260a2f0d 100644 (file)
@@ -584,23 +584,6 @@ int smu_v13_0_notify_memory_pool_location(struct smu_context *smu)
        if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL)
                return ret;
 
-       address = (uintptr_t)memory_pool->cpu_addr;
-       address_high = (uint32_t)upper_32_bits(address);
-       address_low  = (uint32_t)lower_32_bits(address);
-
-       ret = smu_cmn_send_smc_msg_with_param(smu,
-                                             SMU_MSG_SetSystemVirtualDramAddrHigh,
-                                             address_high,
-                                             NULL);
-       if (ret)
-               return ret;
-       ret = smu_cmn_send_smc_msg_with_param(smu,
-                                             SMU_MSG_SetSystemVirtualDramAddrLow,
-                                             address_low,
-                                             NULL);
-       if (ret)
-               return ret;
-
        address = memory_pool->mc_address;
        address_high = (uint32_t)upper_32_bits(address);
        address_low  = (uint32_t)lower_32_bits(address);