Lines Matching refs:native_mode
827 struct drm_display_mode *native = nv_connector->native_mode, *m; in nouveau_connector_scaler_modes_add()
863 struct drm_display_mode *mode = nv_connector->native_mode; in nouveau_connector_detect_depth()
949 if (nv_connector->native_mode) { in nouveau_connector_get_modes()
950 drm_mode_destroy(dev, nv_connector->native_mode); in nouveau_connector_get_modes()
951 nv_connector->native_mode = NULL; in nouveau_connector_get_modes()
963 nv_connector->native_mode = drm_mode_duplicate(dev, &mode); in nouveau_connector_get_modes()
976 if (!nv_connector->native_mode) in nouveau_connector_get_modes()
977 nv_connector->native_mode = nouveau_conn_native_mode(connector); in nouveau_connector_get_modes()
978 if (ret == 0 && nv_connector->native_mode) { in nouveau_connector_get_modes()
981 mode = drm_mode_duplicate(dev, nv_connector->native_mode); in nouveau_connector_get_modes()
1062 if (nv_connector->native_mode && in nouveau_connector_mode_valid()
1063 (mode->hdisplay > nv_connector->native_mode->hdisplay || in nouveau_connector_mode_valid()
1064 mode->vdisplay > nv_connector->native_mode->vdisplay)) in nouveau_connector_mode_valid()