aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-04-12 07:41:14 +0000
committerAlex Deucher <[email protected]>2024-04-26 21:22:38 +0000
commitfa7bb2cac0f7dae4604214cf547322c55975a9e8 (patch)
treeb7d3f5ec00038a6b079530d8320a530ba500c985 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu/umsch: don't execute umsch test when GPU is in reset/suspend (diff)
downloadkernel-fa7bb2cac0f7dae4604214cf547322c55975a9e8.tar.gz
kernel-fa7bb2cac0f7dae4604214cf547322c55975a9e8.zip
drm/amd/pm: Restore config space after reset
During mode-2 reset, pci config space registers are affected at device side. However, certain platforms have switches which assign virtual BAR addresses and returns the same even after device is reset. This affects pci_restore_state() as it doesn't issue another config write, if the value read is same as the saved value. Add a workaround to write saved config space values from driver side. Presently, these switches are in platforms with SMU v13.0.6 SOCs, hence restrict the workaround only to those. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions