Commit 32b26693 authored by Lijo Lazar's avatar Lijo Lazar Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: Skip TMR allocation if not required



[ Upstream commit 5b03127d ]

On ASICs with PSPv13.0.6, TMR is reserved at boot time. There is no need
to allocate TMR region by driver. However, it's still required to send
SETUP_TMR command to PSP.

Signed-off-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 467e00b3 ("drm/amd/amdgpu: Fix missing error return on kzalloc failure")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 75051649
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment