backend/drm: Improve encoder logic

This fixes an issue that can occur with DP MST connectors not reporting
any encoders.
This commit is contained in:
Scott Anderson 2018-12-09 22:48:00 +13:00
parent f8056a0350
commit efdd4d6ea2
3 changed files with 34 additions and 23 deletions

View file

@ -15,6 +15,7 @@ union wlr_drm_connector_props {
uint32_t edid;
uint32_t dpms;
uint32_t link_status; // not guaranteed to exist
uint32_t path;
// atomic-modesetting only