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>
Fri, 9 Jun 2023 16:34:30 +0000 (12:34 -0400)
commit3c87de6d034fcb756a10523367219c5564a85fd3
treefc18471b041e9a128b53eb0f99fc1fa992723f44
parent5e86aa29a338f5c25e2d10d021bffc6b1b560ad5
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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c