diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2024-06-18 14:04:38 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-27 17:09:46 -0400 |
commit | e779af8e8b51b4b3d403fa002e579b56b1931296 (patch) | |
tree | e17a8322de38c13404c12188c7b7a21aa574c88a /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | dab70d9f653665aec5cdffd2d512aa98b1b38bdb (diff) |
drm/amdgpu: Fix pci state save during mode-1 reset
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: 5c03e5843e6b ("drm/amdgpu:add smu mode1/2 support for aldebaran")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions