summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-03-01 21:28:29 +0100
committerChristoph Bumiller <[email protected]>2012-04-14 06:14:21 +0200
commit2206a7f5132905bb1b53d8343d11847010f6b63a (patch)
tree733e18f85c79e124de434144b6cb1e4d763dfb0b /src/gallium/drivers/nvc0/nvc0_screen.h
parent680f20351ec65fb22774dc08f63d26cf66b47c59 (diff)
nv50,nvc0: use new scratch buffers code
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h
index 9abf4b1fd3d..e0f5e5ec246 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.h
+++ b/src/gallium/drivers/nvc0/nvc0_screen.h
@@ -14,11 +14,6 @@
struct nvc0_context;
-#define NVC0_SCRATCH_SIZE (2 << 20)
-#define NVC0_SCRATCH_NR_BUFFERS 2
-
-#define NVC0_SCREEN_RESIDENT_BO_COUNT 5
-
struct nvc0_blitctx;
struct nvc0_screen {
@@ -42,13 +37,6 @@ struct nvc0_screen {
struct nvc0_blitctx *blitctx;
struct {
- struct nouveau_bo *bo[NVC0_SCRATCH_NR_BUFFERS];
- uint8_t *buf;
- int index;
- uint32_t offset;
- } scratch;
-
- struct {
void **entries;
int next;
uint32_t lock[NVC0_TIC_MAX_ENTRIES / 32];