diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-07-31 13:36:15 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-06 10:43:28 -0400 |
commit | 67c4ca9f794951482c54a7006c8b3c367d6c3efc (patch) | |
tree | fb0d73f6afd0b38eba971b0839af758736281b9b /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | ee0a469cf9175aeb6131c0476c4a4a8eb5997dfa (diff) | |
download | linux-67c4ca9f794951482c54a7006c8b3c367d6c3efc.tar.gz linux-67c4ca9f794951482c54a7006c8b3c367d6c3efc.tar.bz2 linux-67c4ca9f794951482c54a7006c8b3c367d6c3efc.zip |
drm/amdgpu: do not call insert_nop fn for zero count
Do not make a function call for zero size NOP as it
does not add anything in the ring and is unnecessary
function call.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions