Skip to content

Commit b0957ac

Browse files
alexdeuchergregkh
authored andcommitted
drm/amdgpu/gfx9: fix CSIB handling
[ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] 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]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 159b513 commit b0957ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,8 +1741,6 @@ static void gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev,
17411741
PACKET3_SET_CONTEXT_REG_START);
17421742
for (i = 0; i < ext->reg_count; i++)
17431743
buffer[count++] = cpu_to_le32(ext->extent[i]);
1744-
} else {
1745-
return;
17461744
}
17471745
}
17481746
}

0 commit comments

Comments
 (0)