Commit 74fa02c
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: 5c03e58 ("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>1 parent f6f49dd commit 74fa02c
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5220 | 5220 | | |
5221 | 5221 | | |
5222 | 5222 | | |
| 5223 | + | |
| 5224 | + | |
| 5225 | + | |
| 5226 | + | |
| 5227 | + | |
5223 | 5228 | | |
5224 | 5229 | | |
5225 | 5230 | | |
5226 | | - | |
5227 | | - | |
5228 | 5231 | | |
5229 | 5232 | | |
5230 | 5233 | | |
| |||
0 commit comments