mesa/src/imagination
Frank Binns 4add1273f5 pvr: alloc WSI memory via GPU when there isn't a valid display FD
This isn't currently causing any issues as the driver only supports the
VK_KHR_display extension for now, so there will always be a valid display FD
when a WSI allocation is requested. However, checking that we have a valid
display FD when attempting to allocate via the display driver is more correct
and, when we come to support VK_KHR_wayland_surface, will avoid
vkAllocateMemory() unnecessarily failing.

This addresses a comment made here:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15507#note_2188052

Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26516>
2023-12-12 12:41:13 +00:00
..
common pvr: Force compile error on GNU void pointer arithmetic 2023-09-27 15:25:32 +00:00
csbgen pvr: Add command stream and static context state layout to rogue_kmd_stream.xml 2023-12-01 10:41:24 +00:00
include pvr: Move pvr_get_isp_num_tiles_xy() to rogue_hw_utils.h 2023-06-02 14:43:24 +00:00
rogue pvr: Force compile error on GNU void pointer arithmetic 2023-09-27 15:25:32 +00:00
vulkan pvr: alloc WSI memory via GPU when there isn't a valid display FD 2023-12-12 12:41:13 +00:00
.clang-format pvr: Add support for validating modifier combos 2023-02-24 11:29:48 +00:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build pvr: Force compile error on GNU void pointer arithmetic 2023-09-27 15:25:32 +00:00