summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-03-19 11:57:34 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-27 11:04:17 +0100
commit159b513cdc5898ba81fcca6413c18e95d1a11f65 (patch)
tree5f832cb29d97871a3df98645ccdf36683b6a1c32 /drivers/gpu/drm/amd
parent7bf45d596b5f8e6328da8ba559b615ef040584ca (diff)
downloadlinux-159b513cdc5898ba81fcca6413c18e95d1a11f65.tar.gz
linux-159b513cdc5898ba81fcca6413c18e95d1a11f65.tar.bz2
linux-159b513cdc5898ba81fcca6413c18e95d1a11f65.zip
drm/amdgpu/gfx8: fix CSIB handling
[ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index c36258d56b44..0459e7b71945 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -1268,8 +1268,6 @@ static void gfx_v8_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;
}
}
}