Skip to content
Snippets Groups Projects
Commit 5a2ca864 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Eric Engestrom
Browse files

vulkan/wsi/wayland: improve same gpu detection


Some compositor like KWin do not return the render node.

v2: Make sure we test if only drm_info.hasPrimary is true (Jason)

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: db42ed1e ("vulkan/wsi/wl: correctly find whether the compositor uses the same GPU")
Closes: mesa/mesa#8139


Reviewed-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
Reviewed-by: default avatarJason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <mesa/mesa!20914>
(cherry picked from commit e27d217f)
parent 8f0b387d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment