diff options
author | Christoph Bumiller <[email protected]> | 2012-05-17 14:43:47 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-05-17 15:24:58 +0200 |
commit | 1befacc7647f51344f5cfbfa86b62e53625a436f (patch) | |
tree | cc3ef152070aeed35223e0f145792bd469dfb77f /src/gallium/drivers/nouveau/nouveau_screen.h | |
parent | 717f55d79d9709a31e0f85a87f076ac13446701d (diff) |
nouveau: place static buffers in VRAM if preferred by the driver
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_screen.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.h b/src/gallium/drivers/nouveau/nouveau_screen.h index 4ca286bfe8d..5a3cfab92e9 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.h +++ b/src/gallium/drivers/nouveau/nouveau_screen.h @@ -17,7 +17,13 @@ struct nouveau_screen { struct nouveau_client *client; struct nouveau_pushbuf *pushbuf; - unsigned sysmem_bindings; + unsigned vidmem_bindings; /* PIPE_BIND_* where VRAM placement is desired */ + unsigned sysmem_bindings; /* PIPE_BIND_* where GART placement is desired */ + unsigned lowmem_bindings; /* PIPE_BIND_* that require an address < 4 GiB */ + /* + * For bindings with (vidmem & sysmem) bits set set, PIPE_USAGE_* decides + * placement. + */ uint16_t class_3d; |