5656 */
5757
5858static bool drm_kms_helper_poll = true;
59+ static bool drm_iex_monitor = false;
5960module_param_named (poll , drm_kms_helper_poll , bool , 0600 );
6061
6162static enum drm_mode_status
@@ -131,6 +132,7 @@ static int drm_helper_probe_single_connector_modes_merge_bits(struct drm_connect
131132 uint32_t maxX , uint32_t maxY , bool merge_type_bits )
132133{
133134 struct drm_device * dev = connector -> dev ;
135+ struct edid * edid_manufacturer ;
134136 struct drm_display_mode * mode ;
135137 const struct drm_connector_helper_funcs * connector_funcs =
136138 connector -> helper_private ;
@@ -259,6 +261,9 @@ static int drm_helper_probe_single_connector_modes_merge_bits(struct drm_connect
259261
260262 DRM_DEBUG_KMS ("[CONNECTOR:%d:%s] probed modes :\n" , connector -> base .id ,
261263 connector -> name );
264+
265+ edid_manufacturer = (struct edid * ) connector -> edid_blob_ptr -> data ;
266+ drm_iex_monitor = drm_dect_iex_edid (edid_manufacturer );
262267 list_for_each_entry (mode , & connector -> modes , head ) {
263268 drm_mode_set_crtcinfo (mode , CRTC_INTERLACE_HALVE_V );
264269 drm_mode_debug_printmodeline (mode );
@@ -267,6 +272,12 @@ static int drm_helper_probe_single_connector_modes_merge_bits(struct drm_connect
267272 return count ;
268273}
269274
275+ bool detect_iex_monitor (void )
276+ {
277+ return drm_iex_monitor ;
278+ }
279+ EXPORT_SYMBOL (detect_iex_monitor );
280+
270281/**
271282 * drm_helper_probe_single_connector_modes - get complete set of display modes
272283 * @connector: connector to probe
0 commit comments