summaryrefslogtreecommitdiff
path: root/shared-core/via_mm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2004-11-27 22:55:31 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2004-11-27 22:55:31 +0000
commit4f8fa6028631fa1d799e9a68ed710fbc98976656 (patch)
treedf753d0e728afd97ac03388283df51f4e73a9e0d /shared-core/via_mm.c
parentf0a86288fa4d7b951f33f7b1a6ef36106c7df788 (diff)
Reworked PCI MMIO command buffer parser, and imported code from the Mesa
driver. It can now handle the 3D OpenGL commands from the Mesa unichrome driver. Added vsync frequency detection support. This will be used in the future for XvMC and better frame timing. Bumped minor version number and driver date.
Diffstat (limited to 'shared-core/via_mm.c')
-rw-r--r--shared-core/via_mm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/via_mm.c b/shared-core/via_mm.c
index 985ad0d9..5199f6c9 100644
--- a/shared-core/via_mm.c
+++ b/shared-core/via_mm.c
@@ -170,6 +170,7 @@ int via_final_context(struct drm_device *dev, int context)
/* Linux specific until context tracking code gets ported to BSD */
/* Last context, perform cleanup */
if (dev->ctx_count == 1 && dev->dev_private) {
+ DRM_DEBUG("Last Context\n");
if (dev->irq)
drm_irq_uninstall(dev);