aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-03-19 15:58:19 +0000
committerAlex Deucher <[email protected]>2025-04-07 19:18:35 +0000
commita9a8bccaa3ba64d509cf7df387cf0b5e1cd06499 (patch)
treeba2ee1d1c93ac11f1cef146602d3463350da2da1 /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
parentdrm/amdgpu/gfx10: fix CSIB handling (diff)
downloadkernel-a9a8bccaa3ba64d509cf7df387cf0b5e1cd06499.tar.gz
kernel-a9a8bccaa3ba64d509cf7df387cf0b5e1cd06499.zip
drm/amdgpu/gfx11: fix CSIB handling
We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index c78458ecb88b..cedfcd118430 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -859,8 +859,6 @@ static void gfx_v11_0_get_csb_buffer(struct amdgpu_device *adev,
PACKET3_SET_CONTEXT_REG_START);
for (i = 0; i < ext->reg_count; i++)
buffer[count++] = cpu_to_le32(ext->extent[i]);
- } else {
- return;
}
}
}