summaryrefslogtreecommitdiff
path: root/tcl_init.c
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-07-05 21:58:41 +0200
committerPatrice Mandin <patmandin@gmail.com>2010-07-05 21:58:41 +0200
commitbaed71aaca1a09faf2b7e5619a3b6cd59f810399 (patch)
treef22231b378c88886b30d7bfa2a7d897124272dab /tcl_init.c
parent478c9ae45fb00de92564dc3186e62e2d7577dfbe (diff)
Silence some compiler warningHEADmaster
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
Diffstat (limited to 'tcl_init.c')
-rw-r--r--tcl_init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tcl_init.c b/tcl_init.c
index 7729ee5..3b577ca 100644
--- a/tcl_init.c
+++ b/tcl_init.c
@@ -62,16 +62,17 @@ static void tcl_fp_color(void)
nouveau_bo_ref(NULL, &bo);
}
+#if 0
static void tcl_fp_nop(void)
{
-#if 0
+/*
000428e4 size 1, subchannel 1 (0xbeef3097),offset 0x08e4,increment
# NV30_TCL_PRIMITIVE_3D_ACTIVE_PROGRAM = 0x07bfef41
# -- program at 0x0xad7e3010 - 0x20D010
# 0x00000001 0x00000000 0x00000000 0x00000000
# INST 0: NOP (FL0.xxxx) + END
07bfef41 NV30TCL.FP_ACTIVE_PROGRAM = DMA0=TRUE | DMA1=FALSE | OFFSET=0x07bfef40
-#endif
+*/
uint32_t *map;
struct nouveau_bo *bo;
@@ -106,6 +107,7 @@ static void tcl_fp_nop(void)
nouveau_bo_ref(NULL, &bo);
}
+#endif
void tcl_init(void)
{