mesa/src/amd/common
Mauro Rossi 725741f10d ac/debug: use util_strchrnul() to fix android build error
Similar to e09d04cd56 "radeonsi: use util_strchrnul() to fix android build error"

Android Bionic does not support strchrnul() string function,
gallium auxiliary util/u_string.h provides util_strchrnul()

This change avoids the following warning and error:

external/mesa/src/amd/common/ac_debug.c:501:15: warning: implicit declaration of function 'strchrnul' is invalid in C99
                char *end = strchrnul(out, '\n');
                            ^
external/mesa/src/amd/common/ac_debug.c:501:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int'
                char *end = strchrnul(out, '\n');
                      ^     ~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.

Fixes: c2c3912410 "ac/debug: annotate IB dumps with the raw values"
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2017-08-24 17:23:24 -05:00
..
.gitignore ac/debug: move .gitignore for sid_tables.h too 2017-01-13 00:37:52 +01:00
ac_binary.c ac: fail shader compilation if libelf is replaced by an incompatible version 2017-08-10 13:24:23 +02:00
ac_binary.h ac: fail shader compilation if libelf is replaced by an incompatible version 2017-08-10 13:24:23 +02:00
ac_debug.c ac/debug: use util_strchrnul() to fix android build error 2017-08-24 17:23:24 -05:00
ac_debug.h amd/common: split out ac_parse_ib_chunk from ac_parse_ib 2017-08-22 09:50:46 +02:00
ac_exp_param.h radeonsi/ac: move vertex export remove to common code. 2017-04-27 05:17:47 +01:00
ac_gpu_info.c radeonsi: get the raster config from AMDGPU on SI 2017-08-24 23:54:55 +02:00
ac_gpu_info.h radeonsi: get the raster config from AMDGPU on SI 2017-08-24 23:54:55 +02:00
ac_llvm_build.c radeon/ac: use ds_swizzle for derivs on si/cik. 2017-08-02 00:12:01 +01:00
ac_llvm_build.h radeon/ac: use ds_swizzle for derivs on si/cik. 2017-08-02 00:12:01 +01:00
ac_llvm_helper.cpp radeon/ac: fix build on llvm 3.8.1 2017-04-27 11:22:12 +01:00
ac_llvm_util.c radeonsi: merge si_llvm_get_amdgpu_target into ac_get_llvm_target 2017-07-17 10:50:39 -04:00
ac_llvm_util.h radeonsi: merge si_llvm_get_amdgpu_target into ac_get_llvm_target 2017-07-17 10:50:39 -04:00
ac_nir_to_llvm.c ac/nir: Add shader support for multiviews. 2017-08-24 19:20:47 +02:00
ac_nir_to_llvm.h ac/nir: Add shader support for multiviews. 2017-08-24 19:20:47 +02:00
ac_shader_abi.h ac/nir,radeonsi: add and use ac_shader_abi::frag_pos 2017-07-31 14:55:43 +02:00
ac_shader_info.c ac/nir: Add shader support for multiviews. 2017-08-24 19:20:47 +02:00
ac_shader_info.h ac/nir: Add shader support for multiviews. 2017-08-24 19:20:47 +02:00
ac_surface.c ac/surface/gfx9: don't allow DCC for the smallest mipmap levels 2017-08-22 13:29:47 +02:00
ac_surface.h ac/surface: increment surf_index only when tile swizzle is allowed 2017-08-04 02:10:04 +02:00
amd_family.h radeonsi/gfx9: add support for Raven 2017-05-15 13:00:26 +02:00
amd_kernel_code_t.h tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
amdgpu_id.h amd/addrlib: import Raven support 2017-05-15 13:00:26 +02:00
gfx9d.h radeonsi/gfx9: fix TC-compatible stencil compression 2017-06-19 20:15:36 +02:00
r600d_common.h gallium/radeon: clean up EOP_DATA_SEL magic numbers 2017-08-22 13:29:47 +02:00
sid.h ac/sid.h: don't use parentheses in PKT3_RELEASE_MEM definition 2017-06-19 20:15:36 +02:00
sid_tables.py amd/common: fix off-by-one in sid_tables.py 2017-06-19 12:03:59 +02:00