monitor: Allow vendor/product/serial to return NULL
Same applies to MetaOutput. The reason for this is to make it possible to more reliably know when there was EDID telling us about these details. This will be used for colord integration. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2141>
This commit is contained in:
@ -483,7 +483,8 @@ meta_output_kms_new (MetaGpuKms *gpu_kms,
|
||||
output_info->max_bpc_max = max_bpc_range->max_value;
|
||||
}
|
||||
|
||||
meta_output_info_parse_edid (output_info, connector_state->edid_data);
|
||||
if (connector_state->edid_data)
|
||||
meta_output_info_parse_edid (output_info, connector_state->edid_data);
|
||||
|
||||
output_info->tile_info = connector_state->tile_info;
|
||||
|
||||
|
Reference in New Issue
Block a user