Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. diff --git a/src/gallium/drivers/lima/lima_texture.c b/src/gallium/drivers/lima/lima_texture.c
  2. index a259a1c7b7a..d16ea147d55 100644
  3. --- a/src/gallium/drivers/lima/lima_texture.c
  4. +++ b/src/gallium/drivers/lima/lima_texture.c
  5. @@ -95,6 +95,7 @@ lima_texture_desc_set_res(struct lima_context *ctx, lima_tex_desc *desc,
  6. layout = 0;
  7. }
  8.  
  9. + lima_bo_wait(lima_res->bo, LIMA_GEM_WAIT_READ, PIPE_TIMEOUT_INFINITE);
  10. lima_submit_add_bo(ctx->pp_submit, lima_res->bo, LIMA_SUBMIT_BO_READ);
  11.  
  12. uint32_t base_va = lima_res->bo->va;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement