Displaying 1 result from an estimated 1 matches for "update_native_mode".
2014 Mar 18
1
[PATCH RFC] drm: Add update_native_mode callback to connectors
...vers/gpu/drm/drm_crtc_helper.c
index ea92b82..8816f3f 100644
--- a/drivers/gpu/drm/drm_crtc_helper.c
+++ b/drivers/gpu/drm/drm_crtc_helper.c
@@ -173,6 +173,9 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
if (count == 0)
goto prune;
+ if (*connector_funcs->update_native_mode)
+ (*connector_funcs->update_native_mode)(connector);
+
drm_mode_connector_list_update(connector);
if (maxX && maxY)
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c
index 1674882..c9c32b7 100644
--- a/drivers/gpu/drm/nouveau/n...