drm/amdgpu: optimize fn gfx_v9_4_3_ring_insert_nop
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 8 Oct 2024 13:10:50 +0000 (18:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:16:46 +0000 (11:16 -0400)
commita23575bb3c25d86c616931c416e0dd07128ce40a
tree0f3eec1042481a399821b05055ded80b57444733
parentea4e4754c9efb53b3f70e5c4c75d08a48b2f7693
drm/amdgpu: optimize fn gfx_v9_4_3_ring_insert_nop

Optimize gfx_v9_4_3_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_v9_4_3.c