diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-09-18 18:17:57 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 09:11:01 -0500 |
commit | c637b36aeac11685a8258f9bcd667dcc06f6951a (patch) | |
tree | fb7927907e07fd4bef072eb10c33a1bbe132bd72 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c | |
parent | 424b5442a2a67ba369839455c3b1fb1b00c6d861 (diff) |
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_amdkfd_gfx_v10.c')
0 files changed, 0 insertions, 0 deletions