drm/amd/pm: Fix power limit query on aldebaran
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 28 Jan 2021 10:20:06 +0000 (18:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:58:07 +0000 (22:58 -0400)
commitd6f19a9949417db7264521b536fc86c7a68e23b1
tree6765f2e5eec153bb41083455dd97cac071d531cf
parent4ac5617c4b7d0f0a8f879997f8ceaa14636d7554
drm/amd/pm: Fix power limit query on aldebaran

Aldebaran doesn't have AC/DC power limits. Separate the implementation
from SMU13. Max power limit is queried from PPTable.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c