intel/display: don't report unknown state as connected

The changes "intel/display: report connectors w/o modes as off" still
need improvements to detect mode-less connectors in intermediate states.
Until then, don't report connector_status_unknown as connected with
modes.
This commit is contained in:
Christian Helmuth 2024-10-29 16:21:27 +01:00
parent 77471cc10e
commit 8ec2d6a36b

View File

@ -1015,7 +1015,7 @@ static void _report_connectors(void * genode_data, bool const discrete)
lx_emul_i915_report_connector(connector, genode_data,
connector->name,
connector->status != connector_status_disconnected,
connector->status == connector_status_connected,
has_modes,
get_brightness(connector, INVALID_BRIGHTNESS),
connector->display_info.width_mm,