[Mesa-dev] [PATCH 3/5] radeon: change last instance of DEBUG_IOCTL to use RADEON_IOCTL

Alex Deucher alexdeucher at gmail.com
Sun Nov 24 09:13:18 PST 2013


On Sun, Nov 24, 2013 at 12:13 AM, Chris Forbes <chrisf at ijw.co.nz> wrote:
> 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: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/mesa/drivers/dri/radeon/radeon_ioctl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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);
>
> --
> 1.8.4.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list