OSDN Git Service

drm/amd/pm: Skip power state allocation
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 14 Dec 2021 07:04:47 +0000 (15:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Dec 2021 21:09:42 +0000 (16:09 -0500)
commit91e16017b6d36c2b7358654ccce9f69b2448df20
treec6864c335c75f7d6d40a5e8ffd1e139551f60d29
parent17252701ecb5ef3bdfb912aae5a011f93978781a
drm/amd/pm: Skip power state allocation

Power states are not valid for arcturus and aldebaran, no need to
allocate memory.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c