mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
Lijo Lazar 30d1cda8ce 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 <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-04-23 23:23:45 -04:00
..
inc drm/amdgpu: implement smu send rma reason for smu v13.0.6 2024-02-12 16:08:17 -05:00
legacy-dpm Revert "drm/amd/pm: resolve reboot exception for si oland" 2024-02-27 12:27:52 -05:00
powerplay drm/amdgpu: fix wrong sizeof argument 2024-01-22 17:13:25 -05:00
swsmu drm/amd/pm: Restore config space after reset 2024-04-23 23:23:45 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu: implement smu send rma reason for smu v13.0.6 2024-02-12 16:08:17 -05:00
amdgpu_pm.c drm/amdgpu/pm: Remove gpu_od if it's an empty directory 2024-04-23 23:22:46 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00