OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5667396
)
Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either
author
Oliver McFadden
<z3ro.geek@gmail.com>
Tue, 13 Mar 2007 01:19:56 +0000
(
01:19
+0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Tue, 13 Mar 2007 01:19:56 +0000
(
01:19
+0000)
R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
shared-core/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/shared-core/r300_cmdbuf.c
b/shared-core/r300_cmdbuf.c
index
aa8b80e
..
e62cbda
100644
(file)
--- a/
shared-core/r300_cmdbuf.c
+++ b/
shared-core/r300_cmdbuf.c
@@
-692,7
+692,7
@@
static __inline__ void r300_pacify(drm_radeon_private_t *dev_priv)
BEGIN_RING(6);
OUT_RING(CP_PACKET0(R300_RB3D_DSTCACHE_CTLSTAT, 0));
- OUT_RING(
0xa
);
+ OUT_RING(
R300_RB3D_DSTCACHE_0A
);
OUT_RING(CP_PACKET0(R300_RB3D_ZCACHE_CTLSTAT, 0));
OUT_RING(0x3);
OUT_RING(CP_PACKET3(RADEON_CP_NOP, 0));