drm/amdgpu: optimize fn gfx_v9_ring_insert_nop
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 8 Oct 2024 13:14:09 +0000 (18:44 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:16:52 +0000 (11:16 -0400)
commit1537638ae3c16be56b68169f67003c70df5d6605
tree1cdb31942de7c84f4c420765a5bf90f7e1f87bcd
parenta23575bb3c25d86c616931c416e0dd07128ce40a
drm/amdgpu: optimize fn gfx_v9_ring_insert_nop

Optimize gfx_v9_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_0.c