drm/amdgpu: optimize fn gfx_v10_ring_insert_nop
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 8 Oct 2024 13:15:05 +0000 (18:45 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:16:57 +0000 (11:16 -0400)
commit6aa902938bb479e46af83c3df1402d66747d7270
tree2dc55b34ad2072a6549a9b55de332d01259169c1
parent1537638ae3c16be56b68169f67003c70df5d6605
drm/amdgpu: optimize fn gfx_v10_ring_insert_nop

Optimize gfx_v10_ring_insert_nop() to call
optimized version of amdgpu_ring_insert_nop
instead of calling amdgpu_ring_write for number
of nop times.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c