summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-03-19 18:57:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-07 22:18:34 +0300
commitbe7652c23d833d1ab2c67b16e173b1a4e69d1ae6 (patch)
treed68192ac94f7e93308dbaa56783dba4c57795be0 /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
parent8307ebc15c1ea98a8a0b7837af1faa6c01514577 (diff)
downloadlinux-be7652c23d833d1ab2c67b16e173b1a4e69d1ae6.tar.xz
drm/amdgpu/gfx7: fix CSIB handling
We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index 6eb48ebd3f4e..0fdc4362bbc0 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -3909,8 +3909,6 @@ static void gfx_v7_0_get_csb_buffer(struct amdgpu_device *adev,
buffer[count++] = cpu_to_le32(ext->reg_index - PACKET3_SET_CONTEXT_REG_START);
for (i = 0; i < ext->reg_count; i++)
buffer[count++] = cpu_to_le32(ext->extent[i]);
- } else {
- return;
}
}
}