summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drm.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_drm.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_drm.h')
-rw-r--r--shared-core/nouveau_drm.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/shared-core/nouveau_drm.h b/shared-core/nouveau_drm.h
index 2874d36a..3f363192 100644
--- a/shared-core/nouveau_drm.h
+++ b/shared-core/nouveau_drm.h
@@ -86,12 +86,14 @@ typedef struct drm_nouveau_mem_free {
drm_nouveau_mem_free_t;
/* FIXME : maybe unify {GET,SET}PARAMs */
-#define NOUVEAU_GETPARAM_PCI_VENDOR 3
-#define NOUVEAU_GETPARAM_PCI_DEVICE 4
-#define NOUVEAU_GETPARAM_BUS_TYPE 5
+#define NOUVEAU_GETPARAM_PCI_VENDOR 3
+#define NOUVEAU_GETPARAM_PCI_DEVICE 4
+#define NOUVEAU_GETPARAM_BUS_TYPE 5
+#define NOUVEAU_GETPARAM_FB_PHYSICAL 6
+#define NOUVEAU_GETPARAM_AGP_PHYSICAL 7
typedef struct drm_nouveau_getparam {
unsigned int param;
- unsigned int value;
+ uint64_t value;
}
drm_nouveau_getparam_t;
@@ -110,10 +112,16 @@ enum nouveau_card_type {
NV_04 =4,
NV_05 =5,
NV_10 =10,
+ NV_11 =10,
+ NV_15 =10,
+ NV_17 =10,
NV_20 =20,
+ NV_25 =20,
NV_30 =30,
+ NV_34 =30,
NV_40 =40,
- G_70 =50,
+ NV_44 =44,
+ NV_50 =50,
NV_LAST =0xffff,
};