diff options
author | Dave Airlie <[email protected]> | 2009-01-29 23:01:41 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-01-29 23:01:41 +1000 |
commit | 31a112e6e81246944bc96b8d095960dd0f96c83c (patch) | |
tree | 66a589856071aba7d1c268fc15336a14b40edd11 /src/mesa/drivers | |
parent | ab6edc9dce3ee0c63037c155a40d97a868c19341 (diff) |
r200: avoid setting variable on kernel mm setup
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index d8e28cd7531..9f1edd39d3d 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -365,7 +365,8 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, } - rmesa->dma.buf0_address = rmesa->radeon.radeonScreen->buffers->list[0].address; + if (!rmesa->radeon.radeonScreen->kernel_mm) + rmesa->dma.buf0_address = rmesa->radeon.radeonScreen->buffers->list[0].address; (void) memset( rmesa->radeon.texture_heaps, 0, sizeof( rmesa->radeon.texture_heaps ) ); make_empty_list( & rmesa->radeon.swapped ); |