Re: [Mesa-dev] [PATCH 02/12] util: Move DRI parse_debug_string() to util

2015-10-08 Thread Kristian Høgsberg
On Thu, Oct 8, 2015 at 6:43 AM, Iago Toral wrote: > Moe than moving, this patch is duplicating it... wouldn't it be better > if we moved it for real? Seems like it would only be a matter of adding > #include "util/debug.h" s/driParseDebugString/parse_debug_string/ in the > following files: > > ./s

Re: [Mesa-dev] [PATCH 02/12] util: Move DRI parse_debug_string() to util

2015-10-08 Thread Kristian Høgsberg
On Thu, Oct 8, 2015 at 12:03 AM, Pohjolainen, Topi wrote: > On Wed, Oct 07, 2015 at 07:11:42AM -0700, Kristian H?gsberg Kristensen wrote: >> We want to use intel_debug.c in code that doesn't link to dri common. >> >> Signed-off-by: Kristian Høgsberg Kristensen >> --- >> src/mesa/drivers/dri/i965

Re: [Mesa-dev] [PATCH 02/12] util: Move DRI parse_debug_string() to util

2015-10-08 Thread Iago Toral
Moe than moving, this patch is duplicating it... wouldn't it be better if we moved it for real? Seems like it would only be a matter of adding #include "util/debug.h" s/driParseDebugString/parse_debug_string/ in the following files: ./src/mesa/drivers/dri/radeon/radeon_debug.c ./src/mesa/drivers/d

Re: [Mesa-dev] [PATCH 02/12] util: Move DRI parse_debug_string() to util

2015-10-08 Thread Pohjolainen, Topi
On Wed, Oct 07, 2015 at 07:11:42AM -0700, Kristian H?gsberg Kristensen wrote: > We want to use intel_debug.c in code that doesn't link to dri common. > > Signed-off-by: Kristian Høgsberg Kristensen > --- > src/mesa/drivers/dri/i965/intel_debug.c | 5 ++-- > src/util/Makefile.sources

[Mesa-dev] [PATCH 02/12] util: Move DRI parse_debug_string() to util

2015-10-07 Thread Kristian Høgsberg Kristensen
We want to use intel_debug.c in code that doesn't link to dri common. Signed-off-by: Kristian Høgsberg Kristensen --- src/mesa/drivers/dri/i965/intel_debug.c | 5 ++-- src/util/Makefile.sources | 2 ++ src/util/debug.c| 53 +