driconfig: add a workaround for Hades (Vulkan backend)
authorYiwei Zhang <zzyiwei@chromium.org>
Sat, 9 Dec 2023 06:02:10 +0000 (06:02 +0000)
committerEric Engestrom <eric@engestrom.ch>
Tue, 12 Dec 2023 10:00:30 +0000 (10:00 +0000)
commit109f64de6c76927eafac5f68e40c8b61d590bc5a
tree73582c619e775ebebc698a8ae6132de8d9bbe02d
parentda30685af9121ed2a91f0b854cf0975e581769cc
driconfig: add a workaround for Hades (Vulkan backend)

Vulkan backend of Hades can only handle at most 3 swapchain images.

It affects all drivers after below commit:
04d654a5d0b7bb4a072f515f6fbe2a686fc7f7f8

and then only affects specific driver backend which enables
extra_xwayland_image in wsi device options after below commit:
c1a62476acefcc94de9fd8e7f74d6bd9576796a7

Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Renato Pereyra <renatopereyra@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26607>
(cherry picked from commit 88c5affacf947ce64361fbe4155d2d9600f6a981)
.pick_status.json
src/util/00-mesa-defaults.conf