summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/gamma_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/gamma_dma.c b/linux/gamma_dma.c
index 778130116..7b2876c85 100644
--- a/linux/gamma_dma.c
+++ b/linux/gamma_dma.c
@@ -108,7 +108,7 @@ void gamma_dma_ready(drm_device_t *dev)
static inline int gamma_dma_is_ready(drm_device_t *dev)
{
-#if !QUEUED_DMA!QUEUED_DMA!QUEUED_DMA!QUEUED_DMA!QUEUED_DMA!QUEUED_DMA!QUEUED_DMA!QUEUED_DMA
+#if !QUEUED_DMA
return(!GAMMA_READ(GAMMA_DMACOUNT));
#else
return(GAMMA_READ(GAMMA_GCOMMANDSTATUS) & 0x04);