Mesa (master): radeon: change last instance of DEBUG_IOCTL to use RADEON_IOCTL

Chris Forbes chrisf at kemper.freedesktop.org
Mon Nov 25 08:18:06 UTC 2013


Module: Mesa
Branch: master
Commit: e0c98fa401ab2c17820eefd178e1bebe897e1fd6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0c98fa401ab2c17820eefd178e1bebe897e1fd6

Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Sun Nov 24 17:55:39 2013 +1300

radeon: change last instance of DEBUG_IOCTL to use RADEON_IOCTL

DEBUG_IOCTL comes from i965, and is about to be removed. Both defines
have the same value (4).

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/mesa/drivers/dri/radeon/radeon_ioctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c
index d6419f3..a542db1 100644
--- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c
+++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c
@@ -282,7 +282,7 @@ void radeonEmitVertexAOS( r100ContextPtr rmesa,
 #else
    BATCH_LOCALS(&rmesa->radeon);
 
-   if (RADEON_DEBUG & (RADEON_PRIMS|DEBUG_IOCTL))
+   if (RADEON_DEBUG & (RADEON_PRIMS|RADEON_IOCTL))
       fprintf(stderr, "%s:  vertex_size 0x%x offset 0x%x \n",
 	      __FUNCTION__, vertex_size, offset);
 




More information about the mesa-commit mailing list