diff options
author | Ilia Mirkin <[email protected]> | 2015-01-01 06:09:59 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-09-05 23:03:52 -0400 |
commit | 75e34d1df8b0ab56e5e658b8ef90ff6057ec954e (patch) | |
tree | 606456f6a1e18248fc2f9d43afa92a2705bad315 /src/gallium/drivers/nouveau/nv50/nv50_context.h | |
parent | 5165e464f225cd1b0f61e0da0758052b9b9ff518 (diff) |
nv50: fix drawing from tfb, direct-to-pushbuf submits
The stride was being set to 0, which is illegal (and also non-sensical).
Also we must wait for the buffer to become available for reading as
otherwise a wrong value may be prefetched. Since we must wait for the
buffer anyways, and it's mapped and in GART, we may as well avoid the
annoyance of the indirect pushbuf submit.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_context.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.h b/src/gallium/drivers/nouveau/nv50/nv50_context.h index e7adf472ed0..69c121274a9 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.h @@ -197,7 +197,7 @@ extern struct draw_stage *nv50_draw_render_stage(struct nv50_context *); /* nv50_query.c */ void nv50_init_query_functions(struct nv50_context *); -void nv50_query_pushbuf_submit(struct nouveau_pushbuf *, +void nv50_query_pushbuf_submit(struct nouveau_pushbuf *, uint16_t method, struct pipe_query *, unsigned result_offset); void nv84_query_fifo_wait(struct nouveau_pushbuf *, struct pipe_query *); void nva0_so_target_save_offset(struct pipe_context *, |