tu: implement wsi hook to decide if we can present directly on device
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Mon, 31 May 2021 14:35:24 +0000 (17:35 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Jan 2022 12:19:57 +0000 (12:19 +0000)
commit3e7f6c9aebf9b4cc882313b620b2ecf40ba7be1f
tree9ad895924581d7749918741f0303966f362d2030
parentfa75b2a02748e67508a2311afe046a2d04fb4ae0
tu: implement wsi hook to decide if we can present directly on device

This will prevent the driver to take the prime blit path for presentation
in scenarios where it can avoid it.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11091>
src/freedreno/vulkan/tu_wsi.c