]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3b521c494c0e2cc072bef99cef2bec64cefd383
treec6864c335c75f7d6d40a5e8ffd1e139551f60d29
parentbef8b5e86c400bf227075e14b2d56ed31640baf1
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