mesa/src/broadcom
Utku Iseri 2263576f59
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
v3dv: close display_fd on incompatible_driver path
Currently, display_fd gets leaked during vulkan loader driver
probing on platforms where there's no v3dv device, as nothing
closes this fd before returning with INCOMPATIBLE_DRIVER. As
the display_fd also holds MASTER, this in turn prevents the
actual driver from becoming master on the display node.

Close the fd before returning to prevent this.

Fixes: bb532a7a ("v3dv: Fix assertion failure for not-found primary_fd during enumeration.")

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41058>
2026-05-29 19:55:33 +00:00
..
ci vc4/ci: update expected results 2026-05-25 10:22:12 +02:00
cle broadcom/cle: parse once the XML spec 2026-04-06 09:17:15 +00:00
clif broadcom: use Mesa logging functions 2026-04-06 07:40:55 +00:00
common v3dv: Enable meta_copy_buffer with TFU for V3D 7.1 2026-05-26 07:50:42 +00:00
compiler broadcom/compiler: Add explicit NOP instruction at page boundaries 2026-05-06 09:21:28 +00:00
drm-shim v3d/drm-shim: add GPU selection 2026-05-27 10:19:50 +00:00
ds mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
perfcntrs broadcom: use Mesa logging functions 2026-04-06 07:40:55 +00:00
qpu broadcom/qpu: add V3D 7.1 disasm tests 2026-05-06 07:33:42 +00:00
simulator broadcom/simulator: V3D is always 4.2 or above 2026-05-27 10:19:50 +00:00
vulkan v3dv: close display_fd on incompatible_driver path 2026-05-29 19:55:33 +00:00
.editorconfig
meson.build broadcom: Add perfetto data source 2024-12-13 12:29:11 +00:00