[PATCH 1/6] drm/amdgpu/gfx6: fix CSIB handling

Rodrigo Siqueira siqueira at igalia.com
Tue Mar 25 20:16:32 UTC 2025


On 03/19, Alex Deucher wrote:
> We shouldn't return after the last section.
> We need to update the rest of the CSIB.

What is CSIB?

What happens if the other CSIB is not updated?

Thanks

> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> index 13fbee46417af..cee2cf47112c9 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
> @@ -2874,8 +2874,6 @@ static void gfx_v6_0_get_csb_buffer(struct amdgpu_device *adev,
>  				buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000);
>  				for (i = 0; i < ext->reg_count; i++)
>  					buffer[count++] = cpu_to_le32(ext->extent[i]);
> -			} else {
> -				return;
>  			}
>  		}
>  	}
> -- 
> 2.48.1
> 

-- 
Rodrigo Siqueira


More information about the amd-gfx mailing list