drm/amdgpu/gfx: Use CSB helpers in gfx_v11_0_get_csb_buffer
authorRodrigo Siqueira <siqueira@igalia.com>
Mon, 21 Apr 2025 22:12:19 +0000 (16:12 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Apr 2025 22:04:34 +0000 (18:04 -0400)
commit106172df6ece4fc0a53471c71e0d05e9140fa2cc
treeb381aac2206e2cc8e4c175485305796cbce57ec4
parent9718f7457dba2e98dab256217814296b5ad47ee4
drm/amdgpu/gfx: Use CSB helpers in gfx_v11_0_get_csb_buffer

Part of the code in gfx_v11_0_get_csb_buffer can be removed in favor of
some GFX CSB helpers. This commit removes the duplicated part for the
GFX 11 CSB function.

Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c