commit | c637b36aeac11685a8258f9bcd667dcc06f6951a | [log] [tgz] |
---|---|---|
author | Yong Zhao <Yong.Zhao@amd.com> | Wed Sep 18 18:17:57 2019 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Oct 03 09:11:01 2019 -0500 |
tree | fb7927907e07fd4bef072eb10c33a1bbe132bd72 | |
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>