/linux/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 91 struct drm_connector *connector, in drm_mode_validate_pipeline() argument 95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 100 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 105 drm_connector_for_each_possible_encoder(connector, encoder) { in drm_mode_validate_pipeline() 120 &connector->display_info, in drm_mode_validate_pipeline() 145 static int drm_helper_probe_add_cmdline_mode(struct drm_connector *connector) in drm_helper_probe_add_cmdline_mode() argument 150 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode() 155 list_for_each_entry(mode, &connector->probed_modes, head) { in drm_helper_probe_add_cmdline_mode() 171 mode = drm_mode_create_from_cmdline_mode(connector->dev, in drm_helper_probe_add_cmdline_mode() 176 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_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_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_preferred_mode(struct drm_connector *connector, int width, int height) in drm_connector_preferred_mode() argument 152 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_preferred_mode() [all …]
|
H A D | drm_edid.c | 101 struct drm_connector *connector; member 2180 static void connector_bad_edid(struct drm_connector *connector, in connector_bad_edid() argument 2196 connector->real_edid_checksum = in connector_bad_edid() 2199 if (connector->bad_edid_counter++ && !drm_debug_enabled(DRM_UT_KMS)) in connector_bad_edid() 2202 drm_dbg_kms(connector->dev, "[CONNECTOR:%d:%s] EDID is invalid:\n", in connector_bad_edid() 2203 connector->base.id, connector->name); in connector_bad_edid() 2209 static const struct drm_edid *drm_edid_override_get(struct drm_connector *connector) in drm_edid_override_get() argument 2213 mutex_lock(&connector->edid_override_mutex); in drm_edid_override_get() 2215 if (connector->edid_override) in drm_edid_override_get() 2216 override = drm_edid_dup(connector->edid_override); in drm_edid_override_get() [all …]
|
H A D | drm_crtc_helper.c | 109 struct drm_connector *connector; in drm_helper_encoder_in_use() local 126 drm_for_each_connector_iter(connector, &conn_iter) { in drm_helper_encoder_in_use() 127 if (connector->encoder == encoder) { in drm_helper_encoder_in_use() 465 struct drm_connector *connector; in drm_crtc_helper_disable() local 476 drm_for_each_connector_iter(connector, &conn_iter) { in drm_crtc_helper_disable() 477 if (connector->encoder != encoder) in drm_crtc_helper_disable() 480 connector->encoder = NULL; in drm_crtc_helper_disable() 488 connector->dpms = DRM_MODE_DPMS_OFF; in drm_crtc_helper_disable() 491 drm_connector_put(connector); in drm_crtc_helper_disable() 504 drm_connector_get_single_encoder(struct drm_connector *connector) in drm_connector_get_single_encoder() argument [all …]
|
/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 | 110 intel_dp_aux_supports_hdr_backlight(struct intel_connector *connector) in intel_dp_aux_supports_hdr_backlight() argument 112 struct intel_display *display = to_intel_display(connector); in intel_dp_aux_supports_hdr_backlight() 113 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() 115 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() 127 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 146 !(connector->base.hdr_sink_metadata.hdmi_type1.metadata_type & in intel_dp_aux_supports_hdr_backlight() 150 connector->base.base.id, connector->base.name, in intel_dp_aux_supports_hdr_backlight() 172 intel_dp_aux_hdr_get_backlight(struct intel_connector *connector, enum pipe pipe) in intel_dp_aux_hdr_get_backlight() argument 174 struct intel_display *display = to_intel_display(connector); in intel_dp_aux_hdr_get_backlight() 175 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 intel_display *display = to_intel_display(connector); 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_hdcp.c | 58 struct intel_connector *connector) in intel_conn_to_vcpi() argument 66 if (!connector->port) in intel_conn_to_vcpi() 68 mgr = connector->port->mgr; in intel_conn_to_vcpi() 72 payload = drm_atomic_get_mst_payload_state(mst_state, connector->port); in intel_conn_to_vcpi() 102 struct intel_connector *connector; in intel_hdcp_required_content_stream() local 116 for_each_intel_connector_iter(connector, &conn_iter) { in intel_hdcp_required_content_stream() 117 if (connector->base.status == connector_status_disconnected) in intel_hdcp_required_content_stream() 120 if (!intel_encoder_is_mst(intel_attached_encoder(connector))) in intel_hdcp_required_content_stream() 123 conn_dig_port = intel_attached_dig_port(connector); in intel_hdcp_required_content_stream() 128 intel_conn_to_vcpi(state, connector); in intel_hdcp_required_content_stream() [all …]
|
H A D | intel_dp_mst.c | 92 const struct intel_connector *connector, in intel_dp_mst_bw_overhead() argument 121 const struct intel_connector *connector, in intel_dp_mst_compute_m_n() argument 151 static int intel_dp_mst_dsc_get_slice_count(const struct intel_connector *connector, in intel_dp_mst_dsc_get_slice_count() argument 158 return intel_dp_dsc_get_slice_count(connector, in intel_dp_mst_dsc_get_slice_count() 177 struct intel_connector *connector = in intel_dp_mst_find_vcpi_slots_for_bpp() local 178 to_intel_connector(conn_state->connector); in intel_dp_mst_find_vcpi_slots_for_bpp() 179 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_mst_find_vcpi_slots_for_bpp() 195 if (!intel_dp_supports_fec(intel_dp, connector, crtc_state)) in intel_dp_mst_find_vcpi_slots_for_bpp() 216 dsc_slice_count = intel_dp_mst_dsc_get_slice_count(connector, crtc_state); in intel_dp_mst_find_vcpi_slots_for_bpp() 236 local_bw_overhead = intel_dp_mst_bw_overhead(crtc_state, connector, in intel_dp_mst_find_vcpi_slots_for_bpp() [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_display_debugfs.c | 181 struct drm_connector *connector; in intel_encoder_info() local 187 drm_for_each_connector_iter(connector, &conn_iter) { in intel_encoder_info() 189 connector->state; in intel_encoder_info() 195 connector->base.id, connector->name); in intel_encoder_info() 201 struct intel_connector *connector) in intel_panel_info() argument 205 if (list_empty(&connector->panel.fixed_modes)) in intel_panel_info() 210 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) in intel_panel_info() 246 static void intel_dp_info(struct seq_file *m, struct intel_connector *connector) in intel_dp_info() argument 248 struct intel_encoder *intel_encoder = intel_attached_encoder(connector); in intel_dp_info() 253 str_yes_no(connector->base.display_info.has_audio)); in intel_dp_info() [all …]
|
/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 …]
|
/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 …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_bridge_connector.c | 107 static void drm_bridge_connector_hpd_notify(struct drm_connector *connector, in drm_bridge_connector_hpd_notify() argument 111 to_drm_bridge_connector(connector); in drm_bridge_connector_hpd_notify() 124 struct drm_connector *connector = &drm_bridge_connector->base; in drm_bridge_connector_handle_hpd() local 125 struct drm_device *dev = connector->dev; in drm_bridge_connector_handle_hpd() 128 connector->status = status; in drm_bridge_connector_handle_hpd() 131 drm_bridge_connector_hpd_notify(connector, status); in drm_bridge_connector_handle_hpd() 133 drm_kms_helper_connector_hotplug_event(connector); in drm_bridge_connector_handle_hpd() 142 static void drm_bridge_connector_oob_hotplug_event(struct drm_connector *connector, in drm_bridge_connector_oob_hotplug_event() argument 146 to_drm_bridge_connector(connector); in drm_bridge_connector_oob_hotplug_event() 151 static void drm_bridge_connector_enable_hpd(struct drm_connector *connector) in drm_bridge_connector_enable_hpd() argument [all …]
|
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 …]
|
/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 …]
|
/linux/include/drm/ |
H A D | drm_connector.h | 997 struct drm_connector *connector; member 1163 (*tmds_char_rate_valid)(const struct drm_connector *connector, 1181 int (*clear_infoframe)(struct drm_connector *connector, 1198 int (*write_infoframe)(struct drm_connector *connector, 1227 int (*dpms)(struct drm_connector *connector, int mode); 1239 void (*reset)(struct drm_connector *connector); 1272 enum drm_connector_status (*detect)(struct drm_connector *connector, 1289 void (*force)(struct drm_connector *connector); 1314 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height); 1330 int (*set_property)(struct drm_connector *connector, struct drm_property *property, [all …]
|
/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 …]
|
/linux/drivers/gpu/drm/ast/ |
H A D | ast_vga.c | 24 static int ast_vga_connector_helper_get_modes(struct drm_connector *connector) in ast_vga_connector_helper_get_modes() argument 26 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_vga_connector_helper_get_modes() 30 count = drm_connector_helper_get_modes(connector); in ast_vga_connector_helper_get_modes() 32 drm_edid_connector_update(connector, NULL); in ast_vga_connector_helper_get_modes() 39 count = drm_add_modes_noedid(connector, 4096, 4096); in ast_vga_connector_helper_get_modes() 41 drm_set_preferred_mode(connector, 1024, 768); in ast_vga_connector_helper_get_modes() 47 static int ast_vga_connector_helper_detect_ctx(struct drm_connector *connector, in ast_vga_connector_helper_detect_ctx() argument 51 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_vga_connector_helper_detect_ctx() 54 status = drm_connector_helper_detect_from_ddc(connector, ctx, force); in ast_vga_connector_helper_detect_ctx() 57 ++connector->epoch_counter; in ast_vga_connector_helper_detect_ctx() [all …]
|
H A D | ast_sil164.c | 24 static int ast_sil164_connector_helper_get_modes(struct drm_connector *connector) in ast_sil164_connector_helper_get_modes() argument 26 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_sil164_connector_helper_get_modes() 30 count = drm_connector_helper_get_modes(connector); in ast_sil164_connector_helper_get_modes() 32 drm_edid_connector_update(connector, NULL); in ast_sil164_connector_helper_get_modes() 39 count = drm_add_modes_noedid(connector, 4096, 4096); in ast_sil164_connector_helper_get_modes() 41 drm_set_preferred_mode(connector, 1024, 768); in ast_sil164_connector_helper_get_modes() 47 static int ast_sil164_connector_helper_detect_ctx(struct drm_connector *connector, in ast_sil164_connector_helper_detect_ctx() argument 51 struct ast_connector *ast_connector = to_ast_connector(connector); in ast_sil164_connector_helper_detect_ctx() 54 status = drm_connector_helper_detect_from_ddc(connector, ctx, force); in ast_sil164_connector_helper_detect_ctx() 57 ++connector->epoch_counter; in ast_sil164_connector_helper_detect_ctx() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|