aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_video_bsp.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-08-10 15:27:49 -0400
committerMaarten Lankhorst <[email protected]>2013-08-15 15:19:47 +0200
commit86e5c3c97b0a9e3f34f0f3caf71131a5b401a948 (patch)
treeea60800952a098e144ebb52e13d31dc496f86d89 /src/gallium/drivers/nvc0/nvc0_video_bsp.c
parentb57875bbb3c677eee8930b41b03fbd2544278a6b (diff)
nvc0: standardize on using #if for NVC0_DEBUG_FENCE
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_video_bsp.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_video_bsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_video_bsp.c b/src/gallium/drivers/nvc0/nvc0_video_bsp.c
index 8f93861ec59..bdb9c64be16 100644
--- a/src/gallium/drivers/nvc0/nvc0_video_bsp.c
+++ b/src/gallium/drivers/nvc0/nvc0_video_bsp.c
@@ -261,7 +261,7 @@ nvc0_decoder_bsp(struct nvc0_decoder *dec, union pipe_desc desc,
struct nouveau_pushbuf_refn bo_refs[] = {
{ bsp_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM },
{ inter_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM },
-#ifdef NVC0_DEBUG_FENCE
+#if NVC0_DEBUG_FENCE
{ dec->fence_bo, NOUVEAU_BO_WR | NOUVEAU_BO_GART },
#endif
{ dec->bitplane_bo, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM },
@@ -271,7 +271,7 @@ nvc0_decoder_bsp(struct nvc0_decoder *dec, union pipe_desc desc,
if (!dec->bitplane_bo)
num_refs--;
-#ifdef NVC0_DEBUG_FENCE
+#if NVC0_DEBUG_FENCE
fence_extra = 4;
#endif