summaryrefslogtreecommitdiff
path: root/shared-core/via_map.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-12-28 22:17:08 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-12-28 22:17:08 +0100
commita16a8a47cdb04e29f5d8ed05403f21714f7aaf9d (patch)
tree812f58a316ac168306b0f52d451818e644a7923c /shared-core/via_map.c
parent7859bd61d3d5b5dd69ce978adeae91eaa1e533aa (diff)
Add some new via chipsets.
Disable 3D functionality and AGP DMA for chipsets with the DX9 3D engine.
Diffstat (limited to 'shared-core/via_map.c')
-rw-r--r--shared-core/via_map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared-core/via_map.c b/shared-core/via_map.c
index 71967d6c..a37f5fd2 100644
--- a/shared-core/via_map.c
+++ b/shared-core/via_map.c
@@ -107,8 +107,7 @@ int via_driver_load(drm_device_t *dev, unsigned long chipset)
dev->dev_private = (void *)dev_priv;
- if (chipset == VIA_PRO_GROUP_A)
- dev_priv->pro_group_a = 1;
+ dev_priv->chipset = chipset;
#ifdef VIA_HAVE_CORE_MM
ret = drm_sman_init(&dev_priv->sman, 2, 12, 8);