]> Git Repo - linux.git/commit
drm/amdgpu: Fix pci state save during mode-1 reset
authorLijo Lazar <[email protected]>
Tue, 18 Jun 2024 08:34:38 +0000 (14:04 +0530)
committerAlex Deucher <[email protected]>
Thu, 27 Jun 2024 21:09:46 +0000 (17:09 -0400)
commite779af8e8b51b4b3d403fa002e579b56b1931296
treee17a8322de38c13404c12188c7b7a21aa574c88a
parentdab70d9f653665aec5cdffd2d512aa98b1b38bdb
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 <[email protected]>
Reviewed-by: Feifei Xu <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
This page took 0.067457 seconds and 4 git commands to generate.