Commit 10eee0fe authored by Michael Karcher's avatar Michael Karcher Committed by Dave Airlie

drm: savage: dev->agp_buffer_map is not initialized for AGP DMA on savages

fd.o bug 8662
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent a1aa2897
......@@ -728,6 +728,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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment