mesa/src/amd/common
Bas Nieuwenhuizen 9da4590df8 amd/common: Use cap to test kernel modifier support.
Turns out both kernel v5.10 and v5.11 have the same amdgpu driver
version and only one has modifiers ... In addition the version check
is kinda annoying for backports.

So lets use the cap. Since the cap is technically about ADDFB2 I
tested that this works on rendernodes (and reading the code there
is no distinction from what kind of node this is called).

Fixes: 9a937330ef ("radeonsi: Only set modifier creation function for GFX9+ & with kernel support.")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10337>
2021-04-20 11:59:43 +00:00
..
ac_binary.c ac,radeonsi: use correct VGPR granularity on Aldebaran 2021-03-10 18:02:28 +00:00
ac_binary.h
ac_debug.c amd: fix parsing the last dword of DMA_DATA packets 2021-04-02 12:05:00 +00:00
ac_debug.h
ac_exp_param.h
ac_gpu_info.c amd/common: Use cap to test kernel modifier support. 2021-04-20 11:59:43 +00:00
ac_gpu_info.h ac: add function for querying video capabilities 2021-04-12 17:33:32 +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_nir.h ac: Add NIR passes to lower ES->GS I/O to memory accesses. 2021-03-17 12:42:23 +00:00
ac_nir_lower_esgs_io_to_mem.c ac: Fix emit_split_buffer_store modulus operation. 2021-03-23 19:48:15 -07:00
ac_nir_lower_tess_io_to_mem.c ac: invalidate metadata after hs_emit_write_tess_factors() 2021-03-25 10:46:21 +00:00
ac_rgp.c amd: Hide amdgpu_drm.h on Windows 2021-04-13 00:24:02 +00:00
ac_rgp.h ac/rgp: BSD elf library compatibility 2021-04-12 22:50:52 +00:00
ac_rgp_elf_object_pack.c ac/rgp: BSD elf library compatibility 2021-04-12 22:50:52 +00:00
ac_rtld.c ac: handle bigger instruction prefetch for Aldebaran 2021-03-10 18:02:27 +00:00
ac_rtld.h ac/rtld: make ac_rtld_upload returns the code size 2021-03-05 13:10:11 +00: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 amd/registers: rename IMG_FORMAT to GFX10_FORMAT to disambiguate the meaning 2021-04-17 02:37:49 +00:00
ac_shader_util.h
ac_shadowed_regs.c
ac_shadowed_regs.h ac: add ifdef __cplusplus guard to header 2021-01-14 10:33:10 +01:00
ac_sqtt.c ac/rgp: move radv/sqtt functions to ac 2021-03-05 13:10:11 +00:00
ac_sqtt.h ac/rgp: move radv/sqtt functions to ac 2021-03-05 13:10:11 +00:00
ac_surface.c ac/surface: allow non-DCC modifiers for YUV on GFX9+ 2021-04-15 09:43:17 +00:00
ac_surface.h ac/surface: store the HTILE pitch to the surface 2021-04-14 09:31:13 +00:00
ac_surface_meta_address_test.c ac/surface: rename gfx9_dcc_equation to gfx9_meta_equation 2021-04-14 09:31:13 +00:00
ac_surface_modifier_test.c ac/surface/tests: fix a random segfault in the modifier test 2021-04-13 03:17:42 +00:00
ac_surface_test_common.h ac/surface/tests: test Sienna Cichlid and Navy Flounder 2021-04-13 03:17:42 +00:00
amd_family.c ac: add ac_get_family_name() helper 2021-04-05 06:53:55 +00:00
amd_family.h ac: add ac_get_family_name() helper 2021-04-05 06:53:55 +00:00
amd_kernel_code_t.h
gfx10_format_table.h
gfx10_format_table.py amd/registers: rename IMG_FORMAT to GFX10_FORMAT to disambiguate the meaning 2021-04-17 02:37:49 +00:00
meson.build ac/surface: rename ac_surface_dcc_address_test.c 2021-04-14 09:31:13 +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