summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas@tungstengraphics.com>2006-06-19 09:12:50 +0000
committerThomas Hellstrom <thomas@tungstengraphics.com>2006-06-19 09:12:50 +0000
commit58b63ee5ccc1427a6835ef5112fe556faa9e1be3 (patch)
treef4c109974601d12474da77898918355011403c7b /shared-core
parent96f272884d6caf7940c9bc3c95dcac75b0a8cd3f (diff)
Fix buffer cleanup on close. Move memory manager reset from final_context
to lastclose.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/sis_drv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/shared-core/sis_drv.h b/shared-core/sis_drv.h
index 037bc49d..636e5327 100644
--- a/shared-core/sis_drv.h
+++ b/shared-core/sis_drv.h
@@ -34,10 +34,10 @@
#define DRIVER_AUTHOR "SIS"
#define DRIVER_NAME "sis"
#define DRIVER_DESC "SIS 300/630/540"
-#define DRIVER_DATE "20060529"
+#define DRIVER_DATE "20060619"
#define DRIVER_MAJOR 1
#define DRIVER_MINOR 2
-#define DRIVER_PATCHLEVEL 0
+#define DRIVER_PATCHLEVEL 1
#if defined(__linux__)
#define SIS_HAVE_CORE_MM
@@ -58,6 +58,7 @@ typedef struct drm_sis_private {
} drm_sis_private_t;
extern void sis_reclaim_buffers_locked(drm_device_t *dev, struct file *filp);
+extern void sis_lastclose(drm_device_t *dev);
#else
#include "sis_ds.h"
@@ -68,11 +69,11 @@ typedef struct drm_sis_private {
} drm_sis_private_t;
extern int sis_init_context(drm_device_t * dev, int context);
+extern int sis_final_context(drm_device_t * dev, int context);
#endif
-extern int sis_final_context(drm_device_t * dev, int context);
extern drm_ioctl_desc_t sis_ioctls[];
extern int sis_max_ioctl;