- Disable libdrm verbosity. It isn't important enough yet to make a

run-time flag for it.
- Fix the (void)atic; tricks to quiet unused variable warnings in ATI
    template files. Mixing statements and variable defines works in newer
    compilers, but not pdx's.
This commit is contained in:
Eric Anholt 2003-12-29 05:10:55 +00:00
parent a4f352a8df
commit 3fcb40f94f
2 changed files with 6 additions and 6 deletions

View File

@ -25,15 +25,15 @@
#ifdef USE_DMA
#define TAG(x) x##DMA
#define LOCALS (void)atic; \
RING_LOCALS
#define LOCALS RING_LOCALS; \
(void)atic
#define BEGIN(x) BEGIN_RING(x * 2)
#define OUT_REG(reg, val) OUT_RING_REG(reg, val)
#define END() ADVANCE_RING()
#else
#define TAG(x) x##MMIO
#define LOCALS (void)atis; \
char *mmio = atic->reg_base
#define LOCALS char *mmio = atic->reg_base; \
(void)atis
#define BEGIN(x) ATIWaitAvailMMIO(x)
#define OUT_REG(reg, val) MMIO_OUT32((mmio), (reg), (val))
#define END()

View File

@ -25,8 +25,8 @@
#ifdef USE_DMA
#define TAG(x) x##DMA
#define LOCALS (void)atic; \
RING_LOCALS
#define LOCALS RING_LOCALS; \
(void)atic
#define BEGIN(x) BEGIN_RING(x * 2)
#define OUT_REG(reg, val) OUT_RING_REG(reg, val)
#define END() ADVANCE_RING()