mesa/src
Daniel Abrecht 4b96eb0cc4 etnaviv: Make sure to track different pipe_screens for different DRM device descriptions
pipe_screens that are created used to be dedublicated directly based on the gpu device file.
If a process created two of them, for example by opening the etnaviv render node twice
and calling `gbm_create_device`, or by opening two card nodes which used kmsro, or any
combination of these things, then for any but the first instance, the gem handles created
for it would be for the first one instead of the intended one, due to them being created
using the same pipe_screen, and buffers allocated for kmsro devices would be allocated using
the wrong file description as well. This can lead to various problems, such as a proccess not
being able to use two cards which use kmsro at the same time, for example.

This patch changes the dedublication to be done based on the gpu device description
rather than based on the gpu device file. This will solve the above mentioned problem,
but there will now be only a few cases in which anything is dedublicated at all.

Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6790>
2020-10-07 13:01:20 +00:00
..
amd radv: remove trailing whitespace 2020-10-07 11:53:23 +00:00
android_stub mesa: Make the android_stub be a set of non-installed shared libraries. 2020-09-22 17:09:22 +00:00
broadcom broadcom/simulator: update to a newer simulator 2020-10-05 22:08:43 +02:00
compiler nir/constant_folding: init nir_const_value to zero 2020-10-06 20:27:39 +00:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/android: HAVE_DRM_GRALLOC path fixes (v2) 2020-09-07 23:33:15 +02:00
etnaviv etnaviv: replace all dup() with os_dupfd_cloexec() 2020-06-18 02:09:56 +00:00
freedreno turnip: Enable support for KHR_incremental_present 2020-10-07 07:13:41 +00:00
gallium etnaviv: Make sure to track different pipe_screens for different DRM device descriptions 2020-10-07 13:01:20 +00:00
gbm gallium: rename pipe_transfer_usage -> pipe_map_flags 2020-09-22 03:20:54 +00:00
getopt
glx glx: Allow depth-30 pbuffers to work without a depth-30 pixmap format 2020-09-17 14:28:24 -04:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel intel/uuid: use git-sha1/package for the driver UUID 2020-10-07 11:11:34 +03:00
loader driconf: Make the driver's declarations be structs instead of XML. 2020-10-02 23:59:52 +00:00
mapi gl_marshal.py: inline print_sync_dispatch 2020-10-06 15:59:07 +00:00
mesa gallium/util: remove empty file u_half.h 2020-10-06 21:07:11 -04:00
panfrost panfrost: bifrost: disassemble: Fix decoding of next_regs 2020-10-07 14:21:20 +02:00
util gallium/util: remove empty file u_half.h 2020-10-06 21:07:11 -04:00
virtio virgl: update protocol headers 2020-08-21 18:38:44 +00:00
vulkan vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
meson.build meson: don't advertise TLS support if glx wasn't build with it 2020-08-31 09:14:57 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00