diff options
author | Kun Liu <Kun.Liu2@amd.com> | 2024-12-27 06:43:22 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-01-06 23:19:36 +0300 |
commit | 2a238b09bfd04e8155a7a323364bce1c38b28c0f (patch) | |
tree | d0d0ca184319f416fe552db2aed68550872147e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
parent | a993d319aebb7cce8a10c6e685344b7c2ad5c4c2 (diff) | |
download | linux-2a238b09bfd04e8155a7a323364bce1c38b28c0f.tar.xz |
drm/amd/pm: fix BUG: scheduling while atomic
atomic scheduling will be triggered in interrupt handler for
AC/DC mode switch as following backtrace.
Call Trace:
<IRQ>
dump_stack_lvl
__schedule_bug
__schedule
schedule
schedule_preempt_disabled
__mutex_lock
smu_cmn_send_smc_msg_with_param
smu_v13_0_irq_process
amdgpu_irq_dispatch
amdgpu_ih_process
amdgpu_irq_handler
__handle_irq_event_percpu
handle_irq_event
handle_edge_irq
__common_interrupt
common_interrupt
</IRQ>
<TASK>
asm_common_interrupt
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Kun Liu <Kun.Liu2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 03cc84b102d1a832e8dfc59344346dedcebcdf42)
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions