aboutsummaryrefslogtreecommitdiff
path: root/linux-core/savage_drv.c
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-01-15 16:55:01 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-01-15 16:55:01 +0000
commitffc51f1f32c57a99f2a8b02c0a9aa211362ec9b2 (patch)
tree74a86aa095dbb14700c6dfd5732aac46ed59a16e /linux-core/savage_drv.c
parent6c8a3194f40fc673b1055f1f2b70b45209881e7f (diff)
Setup MTRRs for frame buffer and aperture manually on Savage3D and
Savage4-based cards. Automatic setup in drm_initmap doesn't work due to the weird alignment and size of the aperture.
Diffstat (limited to 'linux-core/savage_drv.c')
-rw-r--r--linux-core/savage_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/savage_drv.c b/linux-core/savage_drv.c
index fff5b68a..ff15fb13 100644
--- a/linux-core/savage_drv.c
+++ b/linux-core/savage_drv.c
@@ -76,6 +76,7 @@ static struct drm_driver driver = {
.dev_priv_size = sizeof(drm_savage_buf_priv_t),
.preinit = savage_preinit,
.postinit = postinit,
+ .postcleanup = savage_postcleanup,
.reclaim_buffers = savage_reclaim_buffers,
.get_map_ofs = drm_core_get_map_ofs,
.get_reg_ofs = drm_core_get_reg_ofs,