mesa/src
Chia-I Wu 384181921c egl/surfaceless: try kms_swrast before swrast
Before commit f7e0cdcf1a, we tried these in order

 - if (!ForceSoftware) surfaceless_probe_device(disp, false);
 - surfaceless_probe_device(disp, true);
 - surfaceless_probe_device_sw(disp);

The commit changed it to

 - surfaceless_probe_device(disp, ForceSoftware);
 - surfaceless_probe_device_sw(disp);

and broke 2D virtio-gpu and vgem when ForceSoftware is false.  This
commit restores the old behavior.

Fixes: f7e0cdcf1a ("egl/surfaceless: simplify dri2_initialize_surfaceless()")
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11992>
2021-07-21 23:12:58 +00:00
..
amd CI: Disable LAVA devices 2021-07-21 17:26:43 +01:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Flip point coordinates because OpenGL 2021-07-11 22:32:41 +00:00
broadcom ci/v3dv: update expected results 2021-07-21 09:07:52 +00:00
compiler spirv: Implement SPV_EXT_shader_atomic_float16_add 2021-07-21 20:15:21 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/surfaceless: try kms_swrast before swrast 2021-07-21 23:12:58 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno/ir3: Reduce choose_instr_dec() and _inc() overhead. 2021-07-19 23:16:54 +00:00
gallium llvmpipe: always use draw_regions intersection 2021-07-21 23:08:26 +02:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt
glx glx/drisw: Nerf PutImage when loaderPrivate == NULL 2021-07-15 15:10:17 +00:00
gtest
hgl
imgui
intel anv: Advertise support for VK_EXT_shader_atomic_float2 2021-07-21 20:15:21 +00:00
loader loader: Handle failure to load DRI driver library 2021-07-13 07:36:17 +00:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa intel/compiler: Rename brw_nir_lower_image_load_store to brw_nir_lower_storage_image 2021-07-21 11:02:15 -07:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau
panfrost pan/bi: Shrink live array to 8-bits 2021-07-18 01:49:26 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util gallivm: add basic mips64 support and set mcpu to mips64r5 on ls3a4000 2021-07-21 13:14:05 +00:00
virtio venus: refactor vn_EndCommandBuffer 2021-07-15 00:52:43 +00:00
vulkan vulkan: Update XML and headers to 1.2.185 2021-07-21 20:15:21 +00:00
meson.build panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs 2021-06-22 14:07:34 +00:00