OSDN Git Service

drm/amd/pm: Fix power context allocation in SMU13
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 31 Mar 2023 11:00:01 +0000 (16:30 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2023 20:53:35 +0000 (16:53 -0400)
commit1d13c49cf4e246b218d71873f1bb1bbd376aa10e
treed54c34e4c26a97dcf95b222213e7763db0d30e92
parent2a1eb1a343208ce7d6839b73d62aece343e693ff
drm/amd/pm: Fix power context allocation in SMU13

Use the right data structure for allocation.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c