mesa/src/imagination/vulkan
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
..
pds pvr: Force compile error on GNU void pointer arithmetic 2023-09-27 15:25:32 +00:00
usc pvr: Fix SPM load shader sample rate 2023-10-11 08:19:30 +00:00
winsys pvr: Add powervr winsys implementation 2023-12-01 10:41:24 +00:00
meson.build pvr: Add powervr winsys implementation 2023-12-01 10:41:24 +00:00
pvr_blit.c pvr: update symbols that have become aliases for newer ones 2023-12-04 12:16:06 +00:00
pvr_blit.h
pvr_bo.c pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_bo.h pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_border.c pvr: Clean up & fix sampler border color support 2023-10-11 10:58:34 +00:00
pvr_border.h pvr: Clean up & fix sampler border color support 2023-10-11 10:58:34 +00:00
pvr_clear.c
pvr_clear.h
pvr_cmd_buffer.c pvr: update symbols that have become aliases for newer ones 2023-12-04 12:16:06 +00:00
pvr_common.h pvr: Use vk_sampler base 2023-10-11 10:58:33 +00:00
pvr_csb.c pvr: Don't rely on GNU void pointer arithmetic 2023-09-27 15:25:32 +00:00
pvr_csb.h
pvr_csb_enum_helpers.h
pvr_descriptor_set.c
pvr_device.c pvr: alloc WSI memory via GPU when there isn't a valid display FD 2023-12-12 12:41:13 +00:00
pvr_dump_bo.c
pvr_dump_bo.h
pvr_dump_csb.c pvr: Don't rely on GNU void pointer arithmetic 2023-09-27 15:25:32 +00:00
pvr_formats.c pvr: Clean up & fix sampler border color support 2023-10-11 10:58:34 +00:00
pvr_formats.h pvr: Clean up & fix sampler border color support 2023-10-11 10:58:34 +00:00
pvr_hardcode.c
pvr_hardcode.h
pvr_hw_pass.c
pvr_hw_pass.h
pvr_image.c pvr: Fix cubemap layer stride 2023-10-09 13:35:56 +00:00
pvr_job_common.c pvr: remove pvr_pbe_get_src_pos() 2023-09-22 21:03:43 +00:00
pvr_job_common.h
pvr_job_compute.c
pvr_job_compute.h
pvr_job_context.c
pvr_job_context.h
pvr_job_render.c pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_job_render.h pvr: Submit PR commands 2023-07-14 10:45:49 +00:00
pvr_job_transfer.c pvr: Fix for loop itarator usage 2023-09-24 13:44:19 +00:00
pvr_job_transfer.h
pvr_limits.h
pvr_pass.c pvr: Don't merge subpasses on framebuffer-global dependancy 2023-10-12 09:30:07 +00:00
pvr_pipeline.c vk/graphics_state, tu: Rewrite renderpass flags handling 2023-11-06 14:33:51 +00:00
pvr_private.h pvr: update symbols that have become aliases for newer ones 2023-12-04 12:16:06 +00:00
pvr_query.c pvr: Implement VK_EXT_host_query_reset 2023-10-20 14:58:12 +00:00
pvr_query_compute.c pvr: change a few places to use PVR_DW_TO_BYTES() 2023-10-10 17:54:14 +00:00
pvr_queue.c pvr: Fix occlusion query unaccounted for user fences 2023-07-19 12:22:30 +00:00
pvr_robustness.c
pvr_robustness.h
pvr_shader.c
pvr_shader.h
pvr_spm.c pvr: Fix SPM load shader sample rate 2023-10-11 08:19:30 +00:00
pvr_spm.h pvr: Compile SPM EOT shader 2023-07-14 10:45:49 +00:00
pvr_tex_state.c pvr: decouple vulkan driver and compiler from gallium 2023-08-03 07:29:35 +00:00
pvr_tex_state.h
pvr_transfer_frag_store.c
pvr_transfer_frag_store.h
pvr_wsi.c
vk_format.h