Skip to content

Commit

Permalink
drm: savage: dev->agp_buffer_map is not initialized for AGP DMA on sa…
Browse files Browse the repository at this point in the history
…vages

fd.o bug 8662

Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Michael Karcher authored and Dave Airlie committed Oct 24, 2006
1 parent a1aa289 commit 10eee0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/drm/savage_bci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 10eee0f

Please sign in to comment.