aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorMichael Karcher <freedesktop-bugzilla@mkarcher.dialup.fu-berlin.de>2006-10-24 07:46:55 -0400
committerDave Airlie <airlied@linux.ie>2006-10-24 07:46:55 -0400
commit10eee0fe9114694401c7ae154e8cfb2ab2f59c10 (patch)
treea994bbb274ce0915d3d506f9d0e22cebba6cdfab /drivers/char
parenta1aa28970316d7fb606321d5ab7fb3873641ab54 (diff)
drm: savage: dev->agp_buffer_map is not initialized for AGP DMA on savages
fd.o bug 8662 Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/drm/savage_bci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/savage_bci.c b/drivers/char/drm/savage_bci.c
index 59c7520bf9a2..a9a84f88df5e 100644
--- a/drivers/char/drm/savage_bci.c
+++ b/drivers/char/drm/savage_bci.c
@@ -728,6 +728,7 @@ static int savage_do_init_bci(drm_device_t * dev, drm_savage_init_t * init)
728 dev_priv->status = NULL; 728 dev_priv->status = NULL;
729 } 729 }
730 if (dev_priv->dma_type == SAVAGE_DMA_AGP && init->buffers_offset) { 730 if (dev_priv->dma_type == SAVAGE_DMA_AGP && init->buffers_offset) {
731 dev->agp_buffer_token = init->buffers_offset;
731 dev->agp_buffer_map = drm_core_findmap(dev, 732 dev->agp_buffer_map = drm_core_findmap(dev,
732 init->buffers_offset); 733 init->buffers_offset);
733 if (!dev->agp_buffer_map) { 734 if (!dev->agp_buffer_map) {