forked from Minki/linux
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>
This commit is contained in:
parent
a1aa289703
commit
10eee0fe91
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user