diff options
| author | Amber Lin <[email protected]> | 2021-03-30 17:05:33 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-09 20:50:42 +0000 |
| commit | 158fc08d174d0f7070d8456599fb60d6f0fdb5bd (patch) | |
| tree | 07e15b3f9416cf25d0f22bdfa9c912b10dd3911b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | amd: display: modules: Remove repeated struct declaration (diff) | |
| download | kernel-158fc08d174d0f7070d8456599fb60d6f0fdb5bd.tar.gz kernel-158fc08d174d0f7070d8456599fb60d6f0fdb5bd.zip | |
drm/amdkfd: Avoid null pointer in SMI event
Power Management IP is initialized/enabled before KFD init. When a
thermal throttling happens before kfd_smi_init is done, calling the KFD
SMI update function causes a stack dump by referring a NULL pointer (
smi_clients list). Check if kfd_init is completed before calling the
function.
Signed-off-by: Amber Lin <[email protected]>
Reviewed-by: Mukul Joshi <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
