summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-12-09 17:41:13 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-12-09 17:41:13 +0100
commite32ec112785d9ea111a9de0087f2f487cadc9051 (patch)
treefd59742d69dbdbb876c2f5aa2d351e97e996d25a /src/gallium/drivers/nvc0/nvc0_screen.h
parent92f3642a4fe71b272b4ceb6953fbf55d1efcbeb5 (diff)
nvc0: call grobj_alloc for all used classes
Only doing this to notify the DRM that we need a PGRAPH context, nvc0 hardware doesn't use actual grobjs anymore.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h
index 12cea658a5..8aa77da2bf 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.h
+++ b/src/gallium/drivers/nvc0/nvc0_screen.h
@@ -65,6 +65,10 @@ struct nvc0_screen {
struct nvc0_mman *mm_GART;
struct nvc0_mman *mm_VRAM;
struct nvc0_mman *mm_VRAM_fe0;
+
+ struct nouveau_grobj *fermi;
+ struct nouveau_grobj *eng2d;
+ struct nouveau_grobj *m2mf;
};
static INLINE struct nvc0_screen *