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

@ -22,6 +22,7 @@ static const struct prop_info connector_info[] = {
{ "CRTC_ID", INDEX(crtc_id) },
{ "DPMS", INDEX(dpms) },
{ "EDID", INDEX(edid) },
{ "PATH", INDEX(path) },
{ "link-status", INDEX(link_status) },
#undef INDEX
};