Created
September 28, 2019 16:24
-
-
Save anarsoul/980636fb5f6ba8bcbb30baad7de7cb2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/gallium/drivers/lima/lima_texture.c b/src/gallium/drivers/lima/lima_texture.c | |
| index a259a1c7b7a..d16ea147d55 100644 | |
| --- a/src/gallium/drivers/lima/lima_texture.c | |
| +++ b/src/gallium/drivers/lima/lima_texture.c | |
| @@ -95,6 +95,7 @@ lima_texture_desc_set_res(struct lima_context *ctx, lima_tex_desc *desc, | |
| layout = 0; | |
| } | |
| + lima_bo_wait(lima_res->bo, LIMA_GEM_WAIT_READ, PIPE_TIMEOUT_INFINITE); | |
| lima_submit_add_bo(ctx->pp_submit, lima_res->bo, LIMA_SUBMIT_BO_READ); | |
| uint32_t base_va = lima_res->bo->va; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment