mesa/src
Jordan Justen e9f40e42de iris: Drop extra file-descriptor dup in iris_drm_screen_create()
In a99e85db9e, we added a dup into iris_screen_create(). Apparently
some android code paths must be hitting iris_screen_create() without
calling iris_drm_screen_create(). After a99e85db9e, the code paths
that do hit iris_drm_screen_create() will now dup the fd twice, but
iris_screen_destroy() will only close 1 of these fds.

Fixes: a99e85db9e ("iris:Duplicate DRM fd internally instead of reuse.")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18020>
2022-08-23 22:54:23 +00:00
..
amd radv: Fix mipmap views on GFX10+ 2022-08-23 19:01:18 +00:00
android_stub
asahi asahi: Fix warning building for macOS 12.0 2022-08-21 14:32:40 -04:00
broadcom vc4: store tex sampler in proper register 2022-08-22 10:34:39 +00:00
c11 c11: #include <threads.h> when the os/platform provide it 2022-08-18 01:02:07 +00:00
compiler glsl: Fixes [-Wdeprecated-declarations] in list_iterators.cpp 2022-08-23 15:19:16 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl egl/dri2: Error path cleanups 2022-08-17 21:17:17 +00:00
etnaviv util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
freedreno tu: Allocate private memory per-device instead of per-pipeline 2022-08-23 08:07:58 +00:00
gallium iris: Drop extra file-descriptor dup in iris_drm_screen_create() 2022-08-23 22:54:23 +00:00
gbm gbm: Add USE_FRONT_RENDERING flag 2022-08-05 00:57:38 +00:00
getopt
glx mapi: Remove usage of _glapi_check_multithread and _glapi_destroy_multithread 2022-08-22 21:32:09 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Implement vkResetDescriptorPool API. 2022-08-16 11:32:47 +00:00
imgui
intel intel/fs: fixup scratch load/store handling on Gfx12.5+ 2022-08-23 22:19:16 +00:00
loader loader/dri3: remove a no-op free call 2022-08-12 13:11:03 +00:00
mapi mapi: Improve comment about _glapi_tls_Dispatch and _glapi_tls_Context 2022-08-22 21:32:09 +00:00
mesa radeonsi: r600: d3d12: st: Use NIR lowering for tg4 offset arrays instead of GLSL lowering 2022-08-23 01:10:23 +00:00
microsoft vulkan,anv,dozen: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT 2022-08-23 16:41:55 +00:00
nouveau nv50/nir: A group barrier is CTA-level not global-level 2022-08-23 18:29:44 +00:00
panfrost panfrost: Assert that blend shaders are nontrivial 2022-08-21 19:37:10 +00:00
tool meson/pps: Check if libdrm exists to compile pps 2022-06-22 11:52:36 +03:00
util util: Fix [-Wdeprecated-declarations] in mesa-sha1_test.cpp 2022-08-23 15:19:16 +00:00
virtio virgl: add support for hardware video acceleration 2022-08-11 10:21:03 +00:00
vulkan vulkan: Introduce vk_format_is_block_compressed function 2022-08-23 19:01:17 +00:00
meson.build meson: Remove usage of use_elf_tls 2022-07-29 23:59:11 +00:00