aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorTuo Li <[email protected]>2021-08-04 01:51:32 +0000
committerAlex Deucher <[email protected]>2021-08-06 01:18:00 +0000
commita204ea8c20773a21c7fabbc21dab1cd104fa5a97 (patch)
tree2887562db9d453cfcc5b481d9327011f672878e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu: don't enable baco on boco platforms in runpm (diff)
downloadkernel-a204ea8c20773a21c7fabbc21dab1cd104fa5a97.tar.gz
kernel-a204ea8c20773a21c7fabbc21dab1cd104fa5a97.zip
drm/amdgpu: drop redundant null-pointer checks in amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate()
The varialbe gtt in the function amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate() is guaranteed to be not NULL in the context. Thus the null-pointer checks are redundant and can be dropped. Reported-by: TOTE Robot <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Tuo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions