mesa/src/amd/common
Jan Beich 97ff5160d1 ac/rgp: define EM_AMDGPU if missing for compatibility
EM_AMDGPU isn't defined on DragonFly, FreeBSD, OpenBSD, so use the
same workaround as ac_rtld.c.

src/amd/common/ac_rgp_elf_object_pack.c:382:24: error: use of undeclared identifier 'EM_AMDGPU'
   elf_hdr.e_machine = EM_AMDGPU;
                       ^

Fixes: 110bb2c77d ("ac/rgp: add helper function to write rgp elf oject")
Reviewed-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9169>
2021-02-23 15:19:41 +00:00
..
ac_binary.c amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_binary.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_debug.c amd/ac: update fallthrough comments 2020-12-01 10:04:41 +01:00
ac_debug.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_exp_param.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_gpu_info.c ac: split lds_granularity into encode and allocation granularities 2021-02-15 13:34:30 +00:00
ac_gpu_info.h ac: split lds_granularity into encode and allocation granularities 2021-02-15 13:34:30 +00:00
ac_msgpack.c ac/rgp: add ac_msgpack.h/c 2021-02-19 14:29:46 +00:00
ac_msgpack.h ac/rgp: add ac_msgpack.h/c 2021-02-19 14:29:46 +00:00
ac_rgp.c ac/rgp: fill CPU info by parsing /proc/cpuinfo 2021-02-22 16:16:25 +00:00
ac_rgp.h ac/rgp: set gfxip in elf_hdr.e_flags 2021-02-19 14:29:47 +00:00
ac_rgp_elf_object_pack.c ac/rgp: define EM_AMDGPU if missing for compatibility 2021-02-23 15:19:41 +00:00
ac_rtld.c ac: prefer system EM_AMDGPU definition 2021-02-23 15:19:41 +00:00
ac_rtld.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_shader_args.c ac: add shader return values into ac_shader_args 2020-12-09 20:13:24 +00:00
ac_shader_args.h ac: unify shader arguments that are duplicated 2020-12-09 20:13:25 +00:00
ac_shader_util.c ac,radv: use better export formats for 8-bit when RB+ isn't allowed 2020-11-23 17:54:16 +00:00
ac_shader_util.h ac,radv: use better export formats for 8-bit when RB+ isn't allowed 2020-11-23 17:54:16 +00:00
ac_shadowed_regs.c amd: Stub sections that don't have _WIN32 support 2020-11-27 20:49:00 -08:00
ac_shadowed_regs.h ac: add ifdef __cplusplus guard to header 2021-01-14 10:33:10 +01:00
ac_sqtt.c ac,radv: add SQTT support on GFX10.3 2021-01-22 14:25:16 +00:00
ac_sqtt.h ac/rgp,radeonsi,radv: pass struct thread_trace_data to ac_sqtt_dump_data() 2021-02-19 14:29:47 +00:00
ac_surface.c amd/common: Add retile map size helper. 2021-02-23 13:32:23 +01:00
ac_surface.h amd/common: Add retile map size helper. 2021-02-23 13:32:23 +01:00
ac_surface_modifier_test.c amd: Fix leak in ac_surface_modifier_test. 2020-12-15 19:39:29 +00:00
amd_family.h amd: sort chip enums based on hw revision 2021-02-13 04:56:05 +00:00
amd_kernel_code_t.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
gfx10_format_table.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
gfx10_format_table.py amd/common: add PIPE_FORMAT_R64_{UINT,SINT} to GFX10 format table 2020-11-09 18:28:59 +00:00
meson.build ac/rgp: add helper function to write rgp elf oject 2021-02-19 14:29:47 +00:00
sid.h radv: add support for emitting PS_DONE/CS_DONE on GFX6-8 2021-01-26 09:26:58 +00:00
sid_tables.py amd: Work around MSVC limit for string literals 2020-11-27 20:49:00 -08:00