drm/amd/pm: Fix power context allocation in SMU13

commit 1d13c49cf4 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Lijo Lazar 2023-03-31 16:30:01 +05:30 • committed by Greg Kroah-Hartman
commit 4ce28f3ab3