aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-04-12 13:11:14 +0530
committerAlex Deucher <[email protected]>2024-04-23 23:23:45 -0400
commit30d1cda8ce31ab49051ff7159280c542a738b23d (patch)
treeecfb9542ad8da3fa7db0ea05efb7d36bedb8a8c3 /tools/testing/selftests/bpf/progs/test_autoload.c
parent661d71ee5a010bdc0663e0db701931aff920e8e1 (diff)
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 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions