summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drv.h
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-12-03 10:02:54 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-12-03 10:02:54 +0100
commit30acb90a6077798b1e0c4927273067500905d6d1 (patch)
treef34097a30e18f5d18c2161b538a68f186e0a875a /shared-core/nouveau_drv.h
parent80d75cf6950acf1a00a031ceb6511b26dcc9b056 (diff)
Merge the pciid work.
Add getparams for AGP and FB physical adresses. Fix the MEM_ALLOC issue properly. Fix context switches for nv44. Change the DRM version to 0.0.1.
Diffstat (limited to 'shared-core/nouveau_drv.h')
-rw-r--r--shared-core/nouveau_drv.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared-core/nouveau_drv.h b/shared-core/nouveau_drv.h
index be8f4cf4..4dff0c59 100644
--- a/shared-core/nouveau_drv.h
+++ b/shared-core/nouveau_drv.h
@@ -32,9 +32,9 @@
#define DRIVER_DESC "nVidia Riva/TNT/GeForce"
#define DRIVER_DATE "20060213"
-#define DRIVER_MAJOR 1
+#define DRIVER_MAJOR 0
#define DRIVER_MINOR 0
-#define DRIVER_PATCHLEVEL 0
+#define DRIVER_PATCHLEVEL 1
#define NOUVEAU_FAMILY 0x0000FFFF
#define NOUVEAU_FLAGS 0xFFFF0000
@@ -122,6 +122,10 @@ typedef struct drm_nouveau_private {
uint32_t ramro_offset;
uint32_t ramro_size;
+ /* base physical adresses */
+ uint64_t fb_phys;
+ uint64_t agp_phys;
+
struct mem_block *agp_heap;
struct mem_block *fb_heap;
struct mem_block *fb_nomap_heap;