aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2018-11-21 01:52:37 +0000
committerAlex Deucher <[email protected]>2018-12-07 23:13:48 +0000
commit3704d56e1a64bb0e951815f91149ae7bb726aa76 (patch)
tree2adc25a157b1bab7c9984b94dbeef11c9d40fc72 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
parentdrm/amdgpu: Add KFD VRAM limit checking (diff)
downloadkernel-3704d56e1a64bb0e951815f91149ae7bb726aa76.tar.gz
kernel-3704d56e1a64bb0e951815f91149ae7bb726aa76.zip
drm/amdkfd: Add NULL-pointer check
top_dev->gpu is NULL for CPUs. Avoid dereferencing it if NULL. Acked-by: Alex Deucher <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h')
0 files changed, 0 insertions, 0 deletions