mesa/src
Michel Dänzer 8197111881 winsys/amdgpu: Always use amdgpu_device_get_fd for aws->fd
If the caller passed in the same DRM file description, use it for sws->fd
as well. This is simpler than the previously reverted commit and also
fixes https://gitlab.freedesktop.org/mesa/mesa/-/issues/12208.

v2:
* Move fallback sws->fd assignment to proper scope, fixes CI failures.
* Remove close(sws->fd) from amdgpu_winsys_create failure path, it can
  never be a valid file descriptor != aws->fd there.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32377>
2024-12-02 10:38:22 +00:00
..
amd aco: force linear for event_vmem_sample and event_vmem_bvh 2024-12-02 10:13:39 +00:00
android_stub
asahi asahi,vtn: precompile kernels 2024-11-28 17:34:12 +00:00
broadcom v3dv: use Mesa log infrastructure instead of using stderr 2024-11-26 12:09:29 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir/tests: fix SSA dominance in opt_if_merge tests 2024-12-02 09:38:22 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl meson: drop unused variables 2024-11-26 20:45:41 +00:00
etnaviv etnaviv: drm: use list_first_entry 2024-11-20 13:08:28 +00:00
freedreno ir3: reformat after refactoring in previous commit 2024-12-01 10:21:26 +00:00
gallium winsys/amdgpu: Always use amdgpu_device_get_fd for aws->fd 2024-12-02 10:38:22 +00:00
gbm Revert "gbm: mark surface buffers as explicit flushed" 2024-11-27 22:48:04 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream meson: drop unused variables 2024-11-26 20:45:41 +00:00
glx glx: return BadMatch for invalid reset notification strategy 2024-11-27 19:00:20 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pco: initial validation boilerplate and SSA checks 2024-11-29 15:14:12 +00:00
imgui
intel glx: return BadMatch for invalid reset notification strategy 2024-11-27 19:00:20 +00:00
loader loader: Fix typo in __DRI_IMAGE_FORMAT_XBGR16161616 definition 2024-10-25 14:18:24 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa mesa: error-check GL_TEXTURE_TILING_EXT params 2024-11-29 13:48:27 +00:00
microsoft nir_lower_mem_access_bit_sizes: pass access to callback 2024-11-13 12:59:26 +00:00
nouveau nvk/android: Add support for ANDROID_native_buffer 2024-11-26 21:45:16 +00:00
panfrost panvk: Add a flag to force SIMULTANEOUS_USE 2024-11-28 20:21:52 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util/ra: Remove unimplemented function declaration 2024-11-28 19:19:26 +00:00
virtio vdrm+tu+fd: Make cross-device optional 2024-11-28 19:55:11 +00:00
vulkan vulkan: update to 302 headers for av1 encode 2024-12-02 06:29:00 +10:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format nir: add helpers for precompiled shaders 2024-11-28 17:34:12 +00:00
meson.build meson: simplify logic a bit 2024-11-26 20:45:41 +00:00