1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd
Tuo Li a204ea8c20 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 <oslab@tsinghua.edu.cn>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tuo Li <islituo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-08-05 21:18:00 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: drop redundant null-pointer checks in amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate() 2021-08-05 21:18:00 -04:00
amdkfd drm/amdkfd: Only apply heavy-weight TLB flush on Aldebaran 2021-08-02 17:21:25 -04:00
display drm/amdgpu/display: fix DMUB firmware version info 2021-08-05 21:17:59 -04:00
include drm/amdgpu: set RAS EEPROM address from VBIOS 2021-08-05 21:17:59 -04:00
pm drm/amd/pm: update smu v13.0.1 firmware header 2021-08-05 21:17:59 -04:00