Skip to content
Commit f16c10e0 authored by Lijo Lazar's avatar Lijo Lazar Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: Fix pci state save during mode-1 reset



[ Upstream commit 74fa02c4 ]

Cache the PCI state before bus master is disabled. The saved state is
later used for other cases like restoring config space after mode-2
reset.

Fixes: 5c03e584 ("drm/amdgpu:add smu mode1/2 support for aldebaran")
Signed-off-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent abb84c46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment