summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorMichael Karcher <freedesktop-bugzilla@mkarcher.dialup.fu-berlin.de>2006-10-16 22:06:58 -0400
committerAlex Deucher <alex@samba.(none)>2006-10-16 22:06:58 -0400
commit561e23a7c2f06b382613d3e2ae8d23104d0949aa (patch)
treebbb78fda2bd32a4126c06a65dd8ee3e4bfec1cb5 /shared-core
parent1bab514c0a1a535c19d53e3d39e3b351db3ab7a4 (diff)
dev->agp_buffer_map is not initialized for AGP DMA on savages
bug 8662
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/savage_bci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/savage_bci.c b/shared-core/savage_bci.c
index 20fea40f..01121b92 100644
--- a/shared-core/savage_bci.c
+++ b/shared-core/savage_bci.c
@@ -725,6 +725,7 @@ static int savage_do_init_bci(drm_device_t *dev, drm_savage_init_t *init)
dev_priv->status = NULL;
}
if (dev_priv->dma_type == SAVAGE_DMA_AGP && init->buffers_offset) {
+ dev->agp_buffer_token = init->buffers_offset;
dev->agp_buffer_map = drm_core_findmap(dev,
init->buffers_offset);
if (!dev->agp_buffer_map) {