diff options
| author | Christian König <[email protected]> | 2020-03-18 09:28:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-28 20:20:30 +0000 |
| commit | f0ee63cbc5264dbbdb994e87504b0b033149da55 (patch) | |
| tree | bf56a625aecfc2ce17787ab77e525d4047cff828 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amdgpu: Fix per-IB secure flag GFX hang (diff) | |
| download | kernel-f0ee63cbc5264dbbdb994e87504b0b033149da55.tar.gz kernel-f0ee63cbc5264dbbdb994e87504b0b033149da55.zip | |
drm/amdgpu: cleanup amdgpu_ttm_copy_mem_to_mem and amdgpu_map_buffer v2
Cleanup amdgpu_ttm_copy_mem_to_mem by using fewer variables
for the same value.
Rename amdgpu_map_buffer to amdgpu_ttm_map_buffer, move it
to avoid the forward decleration, cleanup by moving the map
decission into the function and add some documentation.
No functional change.
v2: add some more cleanup suggested by Felix
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Tested-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
