aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-03-19 15:58:03 +0000
committerAlex Deucher <[email protected]>2025-04-07 19:18:35 +0000
commit683308af030cd9b8d3f1de5cbc1ee51788878feb (patch)
treec0ccf19ce35f9b1512b49c0b5830ae0f4719332f /drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
parentdrm/amdgpu/gfx9: fix CSIB handling (diff)
downloadkernel-683308af030cd9b8d3f1de5cbc1ee51788878feb.tar.gz
kernel-683308af030cd9b8d3f1de5cbc1ee51788878feb.zip
drm/amdgpu/gfx10: 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_v10_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index d9c2dab17f6b..792c31411ae3 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -4322,8 +4322,6 @@ static void gfx_v10_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;
}
}
}