aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-03-19 15:57:49 +0000
committerAlex Deucher <[email protected]>2025-04-07 19:18:34 +0000
commita4a4c0ae6742ec7d6bf1548d2c6828de440814a0 (patch)
tree2da9292755539697f6a18bf9c006dc3c7f3b6fa6 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
parentdrm/amdgpu/gfx8: fix CSIB handling (diff)
downloadkernel-a4a4c0ae6742ec7d6bf1548d2c6828de440814a0.tar.gz
kernel-a4a4c0ae6742ec7d6bf1548d2c6828de440814a0.zip
drm/amdgpu/gfx9: 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_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index d7db4cb907ae..d725e2e230a3 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1649,8 +1649,6 @@ static void gfx_v9_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;
}
}
}