summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorLin.Cao <lincao12@amd.com>2024-04-24 06:27:16 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-05-08 22:17:05 +0300
commit547033b593063eb85bfdf9b25a5f1b8fd1911be2 (patch)
tree0edb5bd129e61f62168aecc9a90ff09d9ecc96f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentbe1684930f5262a622d40ce7a6f1423530d87f89 (diff)
downloadlinux-547033b593063eb85bfdf9b25a5f1b8fd1911be2.tar.xz
drm/amdkfd: Check debug trap enable before write dbg_ev_file
In interrupt context, write dbg_ev_file will be run by work queue. It will cause write dbg_ev_file execution after debug_trap_disable, which will cause NULL pointer access. v2: cancel work "debug_event_workarea" before set dbg_ev_file as NULL. Signed-off-by: Lin.Cao <lincao12@amd.com> Reviewed-by: Jonathan Kim <jonathan.kim@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions