diff options
author | Thomas Hellstrom <thomas@tungstengraphics.com> | 2006-06-19 09:12:50 +0000 |
---|---|---|
committer | Thomas Hellstrom <thomas@tungstengraphics.com> | 2006-06-19 09:12:50 +0000 |
commit | 58b63ee5ccc1427a6835ef5112fe556faa9e1be3 (patch) | |
tree | f4c109974601d12474da77898918355011403c7b /linux-core/sis_drv.c | |
parent | 96f272884d6caf7940c9bc3c95dcac75b0a8cd3f (diff) |
Fix buffer cleanup on close. Move memory manager reset from final_context
to lastclose.
Diffstat (limited to 'linux-core/sis_drv.c')
-rw-r--r-- | linux-core/sis_drv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/sis_drv.c b/linux-core/sis_drv.c index 5d55357c..4119bc3c 100644 --- a/linux-core/sis_drv.c +++ b/linux-core/sis_drv.c @@ -72,8 +72,10 @@ static struct drm_driver driver = { .driver_features = DRIVER_USE_AGP | DRIVER_USE_MTRR, .load = sis_driver_load, .unload = sis_driver_unload, - .context_dtor = sis_final_context, + .context_dtor = NULL, .reclaim_buffers = NULL, + .reclaim_buffers_locked = sis_reclaim_buffers_locked, + .lastclose = sis_lastclose, .get_map_ofs = drm_core_get_map_ofs, .get_reg_ofs = drm_core_get_reg_ofs, .ioctls = sis_ioctls, |