diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-09-19 01:17:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 17:11:01 +0300 |
commit | c637b36aeac11685a8258f9bcd667dcc06f6951a (patch) | |
tree | fb7927907e07fd4bef072eb10c33a1bbe132bd72 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 424b5442a2a67ba369839455c3b1fb1b00c6d861 (diff) | |
download | linux-c637b36aeac11685a8258f9bcd667dcc06f6951a.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions