diff options
author | 2019-09-18 18:17:57 -0400 | |
---|---|---|
committer | 2019-10-03 09:11:01 -0500 | |
commit | c637b36aeac11685a8258f9bcd667dcc06f6951a (patch) | |
tree | fb7927907e07fd4bef072eb10c33a1bbe132bd72 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
parent | drm/amdkfd: Remove unnecessary pm_init() for non HWS mode (diff) | |
download | wireguard-linux-c637b36aeac11685a8258f9bcd667dcc06f6951a.tar.xz wireguard-linux-c637b36aeac11685a8258f9bcd667dcc06f6951a.zip |
drm/amdkfd: Fix NULL pointer dereference for set_scratch_backing_va()
Currently this function pointer is missing for GFX10. Considering it is
a void function since GFX9, fix it by checking the function pointer
before dereferencing it.
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions