winsys/radeon: Compute is_displayable in surf_drm_to_winsys
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 26 Jan 2018 17:32:32 +0000 (18:32 +0100)
committerMichel Dänzer <michel@daenzer.net>
Wed, 31 Jan 2018 08:53:58 +0000 (09:53 +0100)
commit1cf1bf32eff5ffca0b928c0884b0e792207b61b7
tree0254494db72c0f960198c8e5768b52b1a5c8e72e
parentef272b161e05e8216f2d1f4df5023f3aed0ae4fa
winsys/radeon: Compute is_displayable in surf_drm_to_winsys

It was always 0, breaking (at least) DRI3 with Xwayland.

Bugzilla: https://bugs.freedesktop.org/104306
Fixes: 5f2073be3282 ("ac/surface: add ac_surface::is_displayable")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_surface.c