drm/amdgpu: optimize fn gfx_v12_ring_insert_nop
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 8 Oct 2024 13:16:49 +0000 (18:46 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:17:09 +0000 (11:17 -0400)
commitf83fc3abd59c34fcc9f561db75e35bb01c07885a
tree558db33a607b63f448be3cef9ef7c193b0b91be7
parent950dcb01586f7a06fd89c731bf5d11fd29d82234
drm/amdgpu: optimize fn gfx_v12_ring_insert_nop

Optimize gfx_v12_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_v12_0.c