projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6edc9
)
r200: avoid setting variable on kernel mm setup
author
Dave Airlie
<airlied@redhat.com>
Thu, 29 Jan 2009 13:01:41 +0000
(23:01 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 29 Jan 2009 13:01:41 +0000
(23:01 +1000)
src/mesa/drivers/dri/r200/r200_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_context.c
b/src/mesa/drivers/dri/r200/r200_context.c
index
d8e28cd
..
9f1edd3
100644
(file)
--- 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 );