drm/amd/pm: Check feature support using IP version
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 25 Mar 2022 07:49:36 +0000 (13:19 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Mar 2022 16:54:39 +0000 (12:54 -0400)
commit8ecad8d66d7f03ccc8fa7b4921d45041e9b77680
tree934f20301dd525c0985d0ea5a24a0c9430be657b
parente3026a057f9675884840979f17cd230e52685792
drm/amd/pm: Check feature support using IP version

Instead of ASIC type, use GC and MP1 IP versions for feature support checks.

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