drm/amdgpu/gfx: Fix gfx_v7_0_get_csb_buffer to use rb_config
authorRodrigo Siqueira <siqueira@igalia.com>
Mon, 21 Apr 2025 22:12:24 +0000 (16:12 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Apr 2025 22:05:34 +0000 (18:05 -0400)
commitaff78a61720edb9123407dd8369a0b1cb97842f1
treea0c8dce108dc74cb240eac1124c5374fcc3e29aa
parente125a6e8ce0d747f4ae62234587308cfbbdcf4fa
drm/amdgpu/gfx: Fix gfx_v7_0_get_csb_buffer to use rb_config

Instead of having the hardcoded values for the CSB buffer in
gfx_v7_0_get_csb_buffer, use the values calculated in previous steps by
accessing raster_config and raster_config_1.

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