/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 90 struct drm_connector *connector, in drm_mode_validate_pipeline() argument 94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 99 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 104 drm_connector_for_each_possible_encoder(connector, encoder) { in drm_mode_validate_pipeline() 119 &connector->display_info, in drm_mode_validate_pipeline() 144 static int drm_helper_probe_add_cmdline_mode(struct drm_connector *connector) in drm_helper_probe_add_cmdline_mode() argument 149 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode() 154 list_for_each_entry(mode, &connector->probed_modes, head) { in drm_helper_probe_add_cmdline_mode() 170 mode = drm_mode_create_from_cmdline_mode(connector->dev, in drm_helper_probe_add_cmdline_mode() 175 drm_mode_probed_add(connector, mode); in drm_helper_probe_add_cmdline_mode() [all …]
|
H A D | drm_connector.c | 156 static void drm_connector_get_cmdline_mode(struct drm_connector *connector) in drm_connector_get_cmdline_mode() argument 158 struct drm_cmdline_mode *mode = &connector->cmdline_mode; in drm_connector_get_cmdline_mode() 161 option = video_get_options(connector->name); in drm_connector_get_cmdline_mode() 166 connector, in drm_connector_get_cmdline_mode() 171 DRM_INFO("forcing %s connector %s\n", connector->name, in drm_connector_get_cmdline_mode() 173 connector->force = mode->force; in drm_connector_get_cmdline_mode() 178 connector->name, mode->panel_orientation); in drm_connector_get_cmdline_mode() 179 drm_connector_set_panel_orientation(connector, in drm_connector_get_cmdline_mode() 184 connector->name, mode->name, in drm_connector_get_cmdline_mode() 194 struct drm_connector *connector = in drm_connector_free() local [all …]
|
H A D | drm_bridge_connector.c | 96 static void drm_bridge_connector_hpd_notify(struct drm_connector *connector, in drm_bridge_connector_hpd_notify() argument 100 to_drm_bridge_connector(connector); in drm_bridge_connector_hpd_notify() 114 struct drm_connector *connector = &drm_bridge_connector->base; in drm_bridge_connector_hpd_cb() local 115 struct drm_device *dev = connector->dev; in drm_bridge_connector_hpd_cb() 119 old_status = connector->status; in drm_bridge_connector_hpd_cb() 120 connector->status = status; in drm_bridge_connector_hpd_cb() 126 drm_bridge_connector_hpd_notify(connector, status); in drm_bridge_connector_hpd_cb() 128 drm_kms_helper_connector_hotplug_event(connector); in drm_bridge_connector_hpd_cb() 131 static void drm_bridge_connector_enable_hpd(struct drm_connector *connector) in drm_bridge_connector_enable_hpd() argument 134 to_drm_bridge_connector(connector); in drm_bridge_connector_enable_hpd() [all …]
|
H A D | drm_sysfs.c | 71 struct drm_connector *connector = to_drm_connector(dev); in drm_connector_acpi_find_companion() local 73 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion() 189 struct drm_connector *connector = to_drm_connector(device); in status_store() local 190 struct drm_device *dev = connector->dev; in status_store() 198 old_force = connector->force; in status_store() 201 connector->force = 0; in status_store() 203 connector->force = DRM_FORCE_ON; in status_store() 205 connector->force = DRM_FORCE_ON_DIGITAL; in status_store() 207 connector->force = DRM_FORCE_OFF; in status_store() 211 if (old_force != connector->force || !connector->force) { in status_store() [all …]
|
H A D | drm_edid.c | 96 struct drm_connector *connector; member 2188 static void connector_bad_edid(struct drm_connector *connector, in connector_bad_edid() argument 2204 connector->real_edid_checksum = in connector_bad_edid() 2207 if (connector->bad_edid_counter++ && !drm_debug_enabled(DRM_UT_KMS)) in connector_bad_edid() 2210 drm_dbg_kms(connector->dev, "[CONNECTOR:%d:%s] EDID is invalid:\n", in connector_bad_edid() 2211 connector->base.id, connector->name); in connector_bad_edid() 2217 static const struct drm_edid *drm_edid_override_get(struct drm_connector *connector) in drm_edid_override_get() argument 2221 mutex_lock(&connector->edid_override_mutex); in drm_edid_override_get() 2223 if (connector->edid_override) in drm_edid_override_get() 2224 override = drm_edid_dup(connector->edid_override); in drm_edid_override_get() [all …]
|
H A D | drm_client_modeset.c | 121 drm_connector_get_tiled_mode(struct drm_connector *connector) in drm_connector_get_tiled_mode() argument 125 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_get_tiled_mode() 126 if (mode->hdisplay == connector->tile_h_size && in drm_connector_get_tiled_mode() 127 mode->vdisplay == connector->tile_v_size) in drm_connector_get_tiled_mode() 134 drm_connector_fallback_non_tiled_mode(struct drm_connector *connector) in drm_connector_fallback_non_tiled_mode() argument 138 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_fallback_non_tiled_mode() 139 if (mode->hdisplay == connector->tile_h_size && in drm_connector_fallback_non_tiled_mode() 140 mode->vdisplay == connector->tile_v_size) in drm_connector_fallback_non_tiled_mode() 148 drm_connector_has_preferred_mode(struct drm_connector *connector, int width, int height) in drm_connector_has_preferred_mode() argument 152 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_has_preferred_mode() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_connector.c | 40 int intel_connector_init(struct intel_connector *connector) in intel_connector_init() argument 54 __drm_atomic_helper_connector_reset(&connector->base, in intel_connector_init() 57 intel_panel_init_alloc(connector); in intel_connector_init() 64 struct intel_connector *connector; in intel_connector_alloc() local 66 connector = kzalloc(sizeof(*connector), GFP_KERNEL); in intel_connector_alloc() 67 if (!connector) in intel_connector_alloc() 70 if (intel_connector_init(connector) < 0) { in intel_connector_alloc() 71 kfree(connector); in intel_connector_alloc() 75 return connector; in intel_connector_alloc() 85 void intel_connector_free(struct intel_connector *connector) in intel_connector_free() argument [all …]
|
H A D | intel_dp_aux_backlight.c | 115 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) in intel_dp_aux_supports_hdr_backlight() argument 117 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_aux_supports_hdr_backlight() 118 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() 120 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() 134 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 150 !(connector->base.hdr_sink_metadata.hdmi_type1.metadata_type & in intel_dp_aux_supports_hdr_backlight() 154 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 166 intel_dp_aux_hdr_get_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_get_backlight() argument 168 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_aux_hdr_get_backlight() 169 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_get_backlight() [all …]
|
H A D | intel_backlight.c | 62 static u32 clamp_user_to_hw(struct intel_connector *connector, in clamp_user_to_hw() argument 65 struct intel_panel *panel = &connector->panel; in clamp_user_to_hw() 75 static u32 scale_hw_to_user(struct intel_connector *connector, in scale_hw_to_user() argument 78 struct intel_panel *panel = &connector->panel; in scale_hw_to_user() 84 u32 intel_backlight_invert_pwm_level(struct intel_connector *connector, u32 val) in intel_backlight_invert_pwm_level() argument 86 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_invert_pwm_level() 87 struct intel_panel *panel = &connector->panel; in intel_backlight_invert_pwm_level() 104 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_backlight_set_pwm_level() local 105 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_set_pwm_level() 106 struct intel_panel *panel = &connector->panel; in intel_backlight_set_pwm_level() [all …]
|
H A D | intel_panel.c | 56 intel_panel_preferred_fixed_mode(struct intel_connector *connector) in intel_panel_preferred_fixed_mode() argument 58 return list_first_entry_or_null(&connector->panel.fixed_modes, in intel_panel_preferred_fixed_mode() 62 static bool is_in_vrr_range(struct intel_connector *connector, int vrefresh) in is_in_vrr_range() argument 64 const struct drm_display_info *info = &connector->base.display_info; in is_in_vrr_range() 66 return intel_vrr_is_capable(connector) && in is_in_vrr_range() 71 static bool is_best_fixed_mode(struct intel_connector *connector, in is_best_fixed_mode() argument 84 if (is_in_vrr_range(connector, vrefresh) && in is_best_fixed_mode() 85 is_in_vrr_range(connector, fixed_mode_vrefresh) && in is_best_fixed_mode() 95 intel_panel_fixed_mode(struct intel_connector *connector, in intel_panel_fixed_mode() argument 101 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode() [all …]
|
H A D | intel_hdcp.c | 34 struct intel_connector *connector) in intel_conn_to_vcpi() argument 42 if (!connector->port) in intel_conn_to_vcpi() 44 mgr = connector->port->mgr; in intel_conn_to_vcpi() 48 payload = drm_atomic_get_mst_payload_state(mst_state, connector->port); in intel_conn_to_vcpi() 93 static void intel_hdcp_prepare_streams(struct intel_connector *connector) in intel_hdcp_prepare_streams() argument 95 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp_prepare_streams() 97 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_prepare_streams() 99 if (!intel_encoder_is_mst(intel_attached_encoder(connector))) { in intel_hdcp_prepare_streams() 143 bool intel_hdcp_capable(struct intel_connector *connector) in intel_hdcp_capable() argument 145 struct intel_digital_port *dig_port = intel_attached_dig_port(connector); in intel_hdcp_capable() [all …]
|
H A D | intel_connector.h | 17 int intel_connector_init(struct intel_connector *connector); 19 void intel_connector_free(struct intel_connector *connector); 20 void intel_connector_destroy(struct drm_connector *connector); 21 int intel_connector_register(struct drm_connector *connector); 22 void intel_connector_unregister(struct drm_connector *connector); 23 void intel_connector_attach_encoder(struct intel_connector *connector, 25 bool intel_connector_get_hw_state(struct intel_connector *connector); 26 enum pipe intel_connector_get_pipe(struct intel_connector *connector); 27 int intel_connector_update_modes(struct drm_connector *connector, 30 void intel_attach_force_audio_property(struct drm_connector *connector); [all …]
|
H A D | intel_panel.h | 22 void intel_panel_init_alloc(struct intel_connector *connector); 23 int intel_panel_init(struct intel_connector *connector, 25 void intel_panel_fini(struct intel_connector *connector); 27 intel_panel_detect(struct drm_connector *connector, bool force); 30 intel_panel_preferred_fixed_mode(struct intel_connector *connector); 32 intel_panel_fixed_mode(struct intel_connector *connector, 35 intel_panel_downclock_mode(struct intel_connector *connector, 38 intel_panel_highest_mode(struct intel_connector *connector, 40 int intel_panel_get_modes(struct intel_connector *connector); 41 enum drrs_type intel_panel_drrs_type(struct intel_connector *connector); [all …]
|
H A D | intel_dp_mst.c | 82 struct intel_connector *connector = in intel_dp_mst_find_vcpi_slots_for_bpp() local 83 to_intel_connector(conn_state->connector); in intel_dp_mst_find_vcpi_slots_for_bpp() 84 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_mst_find_vcpi_slots_for_bpp() 115 connector->port, in intel_dp_mst_find_vcpi_slots_for_bpp() 183 struct intel_connector *connector = in intel_dp_dsc_mst_compute_link_config() local 184 to_intel_connector(conn_state->connector); in intel_dp_dsc_mst_compute_link_config() 185 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_dsc_mst_compute_link_config() 296 struct intel_connector *connector = in intel_dp_mst_has_audio() local 297 to_intel_connector(conn_state->connector); in intel_dp_mst_has_audio() 300 return connector->base.display_info.has_audio; in intel_dp_mst_has_audio() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 43 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug() argument 45 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 47 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_hotplug() 58 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 85 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); in amdgpu_connector_hotplug() 86 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); in amdgpu_connector_hotplug() 101 int amdgpu_connector_get_monitor_bpc(struct drm_connector *connector) in amdgpu_connector_get_monitor_bpc() argument 103 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_get_monitor_bpc() 108 switch (connector->connector_type) { in amdgpu_connector_get_monitor_bpc() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_connectors.c | 40 void radeon_connector_hotplug(struct drm_connector *connector) in radeon_connector_hotplug() argument 42 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 44 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_connector_hotplug() 56 if (connector->dpms != DRM_MODE_DPMS_ON) in radeon_connector_hotplug() 60 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 83 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); in radeon_connector_hotplug() 84 drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); in radeon_connector_hotplug() 99 int radeon_get_monitor_bpc(struct drm_connector *connector) in radeon_get_monitor_bpc() argument 101 struct drm_device *dev = connector->dev; in radeon_get_monitor_bpc() 103 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_get_monitor_bpc() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 53 nouveau_conn_native_mode(struct drm_connector *connector) in nouveau_conn_native_mode() argument 55 const struct drm_connector_helper_funcs *helper = connector->helper_private; in nouveau_conn_native_mode() 56 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_conn_native_mode() 57 struct drm_device *dev = connector->dev; in nouveau_conn_native_mode() 61 list_for_each_entry(mode, &connector->probed_modes, head) { in nouveau_conn_native_mode() 62 if (helper->mode_valid(connector, mode) != MODE_OK || in nouveau_conn_native_mode() 97 nouveau_conn_atomic_get_property(struct drm_connector *connector, in nouveau_conn_atomic_get_property() argument 102 struct nouveau_display *disp = nouveau_display(connector->dev); in nouveau_conn_atomic_get_property() 103 struct drm_device *dev = connector->dev; in nouveau_conn_atomic_get_property() 128 nouveau_conn_atomic_set_property(struct drm_connector *connector, in nouveau_conn_atomic_set_property() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/gud/ |
H A D | gud_connector.c | 25 struct drm_connector connector; member 44 static inline struct gud_connector *to_gud_connector(struct drm_connector *connector) in to_gud_connector() argument 46 return container_of(connector, struct gud_connector, connector); in to_gud_connector() 49 static void gud_conn_err(struct drm_connector *connector, const char *msg, int ret) in gud_conn_err() argument 51 dev_err(connector->dev->dev, "%s: %s (ret=%d)\n", connector->name, msg, ret); in gud_conn_err() 62 struct drm_connector *connector = &gconn->connector; in gud_connector_backlight_update_status_work() local 64 struct drm_device *drm = connector->dev; in gud_connector_backlight_update_status_work() 81 connector_state = drm_atomic_get_connector_state(state, connector); in gud_connector_backlight_update_status_work() 111 struct drm_connector *connector = bl_get_data(bd); in gud_connector_backlight_update_status() local 112 struct gud_connector *gconn = to_gud_connector(connector); in gud_connector_backlight_update_status() [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_connector.h | 886 struct drm_connector *connector; member 1051 int (*dpms)(struct drm_connector *connector, int mode); 1063 void (*reset)(struct drm_connector *connector); 1096 enum drm_connector_status (*detect)(struct drm_connector *connector, 1113 void (*force)(struct drm_connector *connector); 1138 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height); 1154 int (*set_property)(struct drm_connector *connector, struct drm_property *property, 1173 int (*late_register)(struct drm_connector *connector); 1186 void (*early_unregister)(struct drm_connector *connector); 1196 void (*destroy)(struct drm_connector *connector); [all …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_scdc_helper.c | 153 bool drm_scdc_get_scrambling_status(struct drm_connector *connector) in drm_scdc_get_scrambling_status() argument 158 ret = drm_scdc_readb(connector->ddc, SCDC_SCRAMBLER_STATUS, &status); in drm_scdc_get_scrambling_status() 160 drm_dbg_kms(connector->dev, in drm_scdc_get_scrambling_status() 162 connector->base.id, connector->name, ret); in drm_scdc_get_scrambling_status() 182 bool drm_scdc_set_scrambling(struct drm_connector *connector, in drm_scdc_set_scrambling() argument 188 ret = drm_scdc_readb(connector->ddc, SCDC_TMDS_CONFIG, &config); in drm_scdc_set_scrambling() 190 drm_dbg_kms(connector->dev, in drm_scdc_set_scrambling() 192 connector->base.id, connector->name, ret); in drm_scdc_set_scrambling() 201 ret = drm_scdc_writeb(connector->ddc, SCDC_TMDS_CONFIG, config); in drm_scdc_set_scrambling() 203 drm_dbg_kms(connector->dev, in drm_scdc_set_scrambling() [all …]
|
/openbmc/linux/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_rgb.c | 41 static void fsl_dcu_drm_connector_destroy(struct drm_connector *connector) in fsl_dcu_drm_connector_destroy() argument 43 drm_connector_unregister(connector); in fsl_dcu_drm_connector_destroy() 44 drm_connector_cleanup(connector); in fsl_dcu_drm_connector_destroy() 55 static int fsl_dcu_drm_connector_get_modes(struct drm_connector *connector) in fsl_dcu_drm_connector_get_modes() argument 59 fsl_connector = to_fsl_dcu_connector(connector); in fsl_dcu_drm_connector_get_modes() 60 return drm_panel_get_modes(fsl_connector->panel, connector); in fsl_dcu_drm_connector_get_modes() 64 fsl_dcu_drm_connector_mode_valid(struct drm_connector *connector, in fsl_dcu_drm_connector_mode_valid() argument 82 struct drm_connector *connector = &fsl_dev->connector.base; in fsl_dcu_attach_panel() local 85 fsl_dev->connector.encoder = encoder; in fsl_dcu_attach_panel() 87 ret = drm_connector_init(fsl_dev->drm, connector, in fsl_dcu_attach_panel() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_lvds_connector.c | 19 struct drm_connector *connector, bool force) in mdp4_lvds_connector_detect() argument 22 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_detect() 36 static void mdp4_lvds_connector_destroy(struct drm_connector *connector) in mdp4_lvds_connector_destroy() argument 39 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_destroy() 41 drm_connector_cleanup(connector); in mdp4_lvds_connector_destroy() 46 static int mdp4_lvds_connector_get_modes(struct drm_connector *connector) in mdp4_lvds_connector_get_modes() argument 49 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_get_modes() 54 ret = drm_panel_get_modes(panel, connector); in mdp4_lvds_connector_get_modes() 60 mdp4_lvds_connector_mode_valid(struct drm_connector *connector, in mdp4_lvds_connector_mode_valid() argument 64 to_mdp4_lvds_connector(connector); in mdp4_lvds_connector_mode_valid() [all …]
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_hdmi.c | 107 static void cdv_hdmi_save(struct drm_connector *connector) in cdv_hdmi_save() argument 109 struct drm_device *dev = connector->dev; in cdv_hdmi_save() 110 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() 116 static void cdv_hdmi_restore(struct drm_connector *connector) in cdv_hdmi_restore() argument 118 struct drm_device *dev = connector->dev; in cdv_hdmi_restore() 119 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() 127 struct drm_connector *connector, bool force) in cdv_hdmi_detect() argument 129 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() 134 edid = drm_get_edid(connector, connector->ddc); in cdv_hdmi_detect() 151 static int cdv_hdmi_set_property(struct drm_connector *connector, in cdv_hdmi_set_property() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/hisilicon/hibmc/ |
H A D | hibmc_drm_i2c.c | 81 struct hibmc_connector *connector) in hibmc_ddc_create() argument 83 connector->adapter.owner = THIS_MODULE; in hibmc_ddc_create() 84 connector->adapter.class = I2C_CLASS_DDC; in hibmc_ddc_create() 85 snprintf(connector->adapter.name, I2C_NAME_SIZE, "HIS i2c bit bus"); in hibmc_ddc_create() 86 connector->adapter.dev.parent = drm_dev->dev; in hibmc_ddc_create() 87 i2c_set_adapdata(&connector->adapter, connector); in hibmc_ddc_create() 88 connector->adapter.algo_data = &connector->bit_data; in hibmc_ddc_create() 90 connector->bit_data.udelay = 20; in hibmc_ddc_create() 91 connector->bit_data.timeout = usecs_to_jiffies(2000); in hibmc_ddc_create() 92 connector->bit_data.data = connector; in hibmc_ddc_create() [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_client_modeset_test.c | 19 struct drm_connector connector; member 22 static int drm_client_modeset_connector_get_modes(struct drm_connector *connector) in drm_client_modeset_connector_get_modes() argument 27 count = drm_add_modes_noedid(connector, 1920, 1200); in drm_client_modeset_connector_get_modes() 29 mode = drm_mode_analog_ntsc_480i(connector->dev); in drm_client_modeset_connector_get_modes() 33 drm_mode_probed_add(connector, mode); in drm_client_modeset_connector_get_modes() 36 mode = drm_mode_analog_pal_576i(connector->dev); in drm_client_modeset_connector_get_modes() 40 drm_mode_probed_add(connector, mode); in drm_client_modeset_connector_get_modes() 71 ret = drmm_connector_init(priv->drm, &priv->connector, in drm_client_modeset_test_init() 77 drm_connector_helper_add(&priv->connector, &drm_client_modeset_connector_helper_funcs); in drm_client_modeset_test_init() 79 priv->connector.interlace_allowed = true; in drm_client_modeset_test_init() [all …]
|