mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
freedreno/replay: Fix replaying without SET_IOVA
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29753>
This commit is contained in:
parent
7c07c44d57
commit
e602a7a392
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ device_submit_cmdstreams(struct device *dev)
|
|||
|
||||
struct drm_msm_gem_submit_cmd *submit_cmd = &cmds[idx];
|
||||
submit_cmd->type = MSM_SUBMIT_CMD_BUF;
|
||||
submit_cmd->submit_idx = bo_idx;
|
||||
submit_cmd->submit_idx = dev->has_set_iova ? bo_idx : 0;
|
||||
if (dev->has_set_iova) {
|
||||
submit_cmd->submit_offset = cmd->iova - cmdstream_buf->iova;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue