mesa/src
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
..
amd amd/common: Use cap to test kernel modifier support. 2021-04-20 11:59:43 +00:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
broadcom ci/v3d: add KHR-GLES test jobs 2021-04-20 12:39:27 +02:00
compiler shader_enums: Fix MSVC warning C4334 (32bit shift cast to 64bit) 2021-04-20 00:28:35 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/android: include "util/compiler.h" for FALLTHROUGH macro 2021-04-16 16:42:20 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno turnip: add LRZ early-z support 2021-04-20 10:01:58 +00:00
gallium panfrost: Reserve thread storage descriptor in panfrost_launch_grid() 2021-04-20 11:41:11 +00:00
gbm egl: fix software flag in _eglAddDevice call on DRM 2021-03-26 10:32:31 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: Remove some ancient backwards-compatibility typedefs 2021-04-16 10:13:07 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: disable baked in pipeline bits from dynamic emission path 2021-04-16 11:53:25 +00:00
loader loader: prefer iris on Android 2021-03-31 06:28:18 +00:00
mapi mapi: Respect MESA_DEBUG=silent for no-op debug output. 2021-04-19 20:53:27 +00:00
mesa util: Switch the non-block formats to unpacking rgba rows instead of rects. 2021-04-19 17:59:44 +00:00
microsoft microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit) 2021-04-20 00:28:35 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Fix Bo imports to not take the process down if fd is invalid 2021-04-20 08:26:04 +02:00
util xmlconfig: Fix MSVC warning C4334 (32bit shift cast to 64bit) 2021-04-20 00:28:35 +00:00
virtio virgl: move new added field to the end. 2021-04-20 00:00:30 +00:00
vulkan meson: link vulkan_util with link_whole on mingw 2021-04-19 22:46:30 +00:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00