提交 10eee0fe 编写于 作者: M Michael Karcher 提交者: Dave Airlie

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

fd.o bug 8662
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册