linux/drivers/gpu/drm/amd
Christian König c884129fdc drm/amdgpu: revert "Adjust removal control flow for smu v13_0_2"
commit fb1c93c2e9 upstream.

Calling amdgpu_device_ip_resume_phase1() during shutdown leaves the
HW in an active state and is an unbalanced use of the IP callbacks.

Using the IP callbacks like this can lead to memory leaks, double
free and imbalanced reference counters.

Leaving the HW in an active state can lead to DMA accesses to memory now
freed by the driver.

Both is a complete no-go for driver unload so completely revert the
workaround for now.

This reverts commit f5c7e77970.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-01-25 15:45:16 -08:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: revert "Adjust removal control flow for smu v13_0_2" 2024-01-25 15:45:16 -08:00
amdkfd Revert "drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole" 2024-01-25 15:45:09 -08:00
amdxcp drm/amdxcp: fix amdxcp unloads incompletely 2023-10-26 19:04:53 -04:00
display drm/amd/display: avoid stringop-overflow warnings for dp_decide_lane_settings() 2024-01-25 15:45:08 -08:00
include drm/amd/pm: Add gpu_metrics_v1_5 2024-01-04 09:51:16 -05:00
pm drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init 2024-01-25 15:45:08 -08:00