mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 00:50:23 +01:00
freedreno/computerator: Use correct CP_SET_RENDER_MODE
The format of the packet changed with gen8. This went unnoticed because in this particular case the contents of the packet work out the same. But lets be correct about this. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39254>
This commit is contained in:
parent
2ea609917b
commit
e8a1bbb071
1 changed files with 7 additions and 2 deletions
|
|
@ -550,8 +550,13 @@ a6xx_emit_grid(struct kernel *kernel, uint32_t grid[3],
|
|||
cs_uav_emit<CHIP>(cs, a6xx_backend->dev, kernel);
|
||||
cs_ubo_emit(cs, kernel);
|
||||
|
||||
fd_pkt7(cs, CP_SET_MARKER, 1)
|
||||
.add(A6XX_CP_SET_MARKER_0(.mode = RM6_COMPUTE));
|
||||
if (CHIP >= A8XX) {
|
||||
fd_pkt7(cs, CP_SET_MARKER, 1)
|
||||
.add(A8XX_CP_SET_MARKER_0(.mode = RM6_COMPUTE));
|
||||
} else{
|
||||
fd_pkt7(cs, CP_SET_MARKER, 1)
|
||||
.add(A6XX_CP_SET_MARKER_0(.mode = RM6_COMPUTE));
|
||||
}
|
||||
|
||||
const unsigned *local_size = kernel->local_size;
|
||||
const unsigned *num_groups = grid;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue