summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drv.h
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-01-05 20:49:34 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-01-05 20:49:34 +0100
commit025f281bbfe81960e8c60234f5eafd37cbe2d881 (patch)
tree3fef7c6ed9853ccc02ae354439e569d37778bc2e /shared-core/nouveau_drv.h
parentf80659bc2967dbed4aed0d44a550bb4a9e4569b5 (diff)
nouveau: Add an mtrr over the whole FB
Diffstat (limited to 'shared-core/nouveau_drv.h')
-rw-r--r--shared-core/nouveau_drv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/nouveau_drv.h b/shared-core/nouveau_drv.h
index 6e998f3a..7f012d65 100644
--- a/shared-core/nouveau_drv.h
+++ b/shared-core/nouveau_drv.h
@@ -129,6 +129,9 @@ typedef struct drm_nouveau_private {
uint64_t fb_phys;
uint64_t agp_phys;
+ /* the mtrr covering the FB */
+ int fb_mtrr;
+
struct mem_block *agp_heap;
struct mem_block *fb_heap;
struct mem_block *fb_nomap_heap;
@@ -142,6 +145,7 @@ drm_nouveau_private_t;
extern void nouveau_preclose(drm_device_t * dev, DRMFILE filp);
extern int nouveau_load(struct drm_device *dev, unsigned long flags);
extern int nouveau_firstopen(struct drm_device *dev);
+extern void nouveau_lastclose(struct drm_device *dev);
extern int nouveau_unload(struct drm_device *dev);
extern int nouveau_ioctl_getparam(DRM_IOCTL_ARGS);
extern int nouveau_ioctl_setparam(DRM_IOCTL_ARGS);