/solaris-x11-s12/open-src/kernel/sys/drm/ |
H A D | drm_crtc_helper.h | 98 void (*dpms)(struct drm_encoder *encoder, int mode); 99 void (*save)(struct drm_encoder *encoder); 100 void (*restore)(struct drm_encoder *encoder); 102 bool (*mode_fixup)(struct drm_encoder *encoder, 105 void (*prepare)(struct drm_encoder *encoder); 106 void (*commit)(struct drm_encoder *encoder); 107 void (*mode_set)(struct drm_encoder *encoder, 110 struct drm_crtc *(*get_crtc)(struct drm_encoder *encoder); 112 enum drm_connector_status (*detect)(struct drm_encoder *encoder, 114 /* disable encoder whe 155 drm_encoder_helper_add(struct drm_encoder *encoder, const struct drm_encoder_helper_funcs *funcs) argument [all...] |
H A D | drm_crtc.h | 489 * drm_encoder_funcs - encoder controls 496 void (*reset)(struct drm_encoder *encoder); 497 void (*destroy)(struct drm_encoder *encoder); 505 * drm_encoder - central DRM encoder structure 574 * @encoder: encoder driving this connector, if any 623 struct drm_encoder *encoder; /* currently active encoder */ member in struct:drm_connector 734 * @num_encoders: encoder count 763 * @encoder_list: list of encoder object [all...] |
H A D | drm_edid.h | 292 struct drm_connector *drm_select_eld(struct drm_encoder *encoder,
|
/solaris-x11-s12/open-src/kernel/drm/src/ |
H A D | drm_crtc_helper.c | 209 * drm_helper_encoder_in_use - check if a given encoder is in use 210 * @encoder: encoder to check 218 * True if @encoder is part of the mode_config, false otherwise. 220 bool drm_helper_encoder_in_use(struct drm_encoder *encoder) argument 223 struct drm_device *dev = encoder->dev; 225 if (connector->encoder == encoder) 244 struct drm_encoder *encoder; local 247 list_for_each_entry(encoder, struc 253 drm_encoder_disable(struct drm_encoder *encoder) argument 275 struct drm_encoder *encoder; local 315 drm_encoder_crtc_ok(struct drm_encoder *encoder, struct drm_crtc *crtc) argument 347 struct drm_encoder *encoder; local 394 struct drm_encoder *encoder; local 512 struct drm_encoder *encoder; local 551 struct drm_encoder *save_encoders, *new_encoder, *encoder; local 817 drm_helper_choose_encoder_dpms(struct drm_encoder *encoder) argument 855 struct drm_encoder *encoder = connector->encoder; local 922 struct drm_encoder *encoder; local [all...] |
H A D | drm_crtc.c | 174 * Connector and encoder types. 204 const char *drm_get_encoder_name(const struct drm_encoder *encoder) argument 209 drm_encoder_enum_list[encoder->encoder_type].name, 210 encoder->base.id); 762 struct drm_encoder *encoder, 769 ret = drm_mode_object_get(dev, &encoder->base, DRM_MODE_OBJECT_ENCODER); 773 encoder->dev = dev; 774 encoder->encoder_type = encoder_type; 775 encoder->funcs = funcs; 777 list_add_tail(&encoder 761 drm_encoder_init(struct drm_device *dev, struct drm_encoder *encoder, const struct drm_encoder_funcs *funcs, int encoder_type) argument 786 drm_encoder_cleanup(struct drm_encoder *encoder) argument 1175 struct drm_encoder *encoder; local 1293 struct drm_encoder *encoder; local 1663 struct drm_encoder *encoder; local 3312 drm_mode_connector_attach_encoder(struct drm_connector *connector, struct drm_encoder *encoder) argument 3326 drm_mode_connector_detach_encoder(struct drm_connector *connector, struct drm_encoder *encoder) argument 3587 struct drm_encoder *encoder; local 3895 struct drm_encoder *encoder, *enct; local [all...] |
H A D | drm_fb_helper.c | 661 struct drm_encoder *encoder; local 694 encoder = connector_funcs->best_encoder(connector); 695 if (!encoder) 703 if ((encoder->possible_crtcs & (1 << c)) == 0)
|
H A D | drm_edid.c | 2691 * @encoder: the encoder just changed display mode 2694 * It's possible for one encoder to be associated with multiple HDMI/DP sinks. 2697 struct drm_connector *drm_select_eld(struct drm_encoder *encoder, argument 2702 struct drm_device *dev = encoder->dev; 2705 if (connector->encoder == encoder && connector->eld[0])
|
/solaris-x11-s12/open-src/kernel/i915/src/ |
H A D | intel_hdmi.c | 60 struct intel_hdmi *enc_to_intel_hdmi(struct drm_encoder *encoder) argument 63 container_of(encoder, struct intel_digital_port, base.base); 140 static void g4x_write_infoframe(struct drm_encoder *encoder, argument 145 struct drm_device *dev = encoder->dev; 178 static void ibx_write_infoframe(struct drm_encoder *encoder, argument 183 struct drm_device *dev = encoder->dev; 185 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->crtc); 218 static void cpt_write_infoframe(struct drm_encoder *encoder, argument 223 struct drm_device *dev = encoder->dev; 225 struct intel_crtc *intel_crtc = to_intel_crtc(encoder 261 vlv_write_infoframe(struct drm_encoder *encoder, struct dip_infoframe *frame) argument 301 hsw_write_infoframe(struct drm_encoder *encoder, struct dip_infoframe *frame) argument 335 intel_set_infoframe(struct drm_encoder *encoder, struct dip_infoframe *frame) argument 344 intel_hdmi_set_avi_infoframe(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) argument 370 intel_hdmi_set_spd_infoframe(struct drm_encoder *encoder) argument 385 g4x_set_infoframes(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) argument 449 ibx_set_infoframes(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) argument 510 cpt_set_infoframes(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) argument 545 vlv_set_infoframes(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) argument 579 hsw_set_infoframes(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) argument 606 intel_hdmi_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 653 intel_hdmi_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument 674 intel_hdmi_get_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 696 intel_enable_hdmi(struct intel_encoder *encoder) argument 745 intel_disable_hdmi(struct intel_encoder *encoder) argument 827 intel_hdmi_compute_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 1030 intel_hdmi_pre_enable(struct intel_encoder *encoder) argument 1077 intel_hdmi_pre_pll_enable(struct intel_encoder *encoder) argument 1108 intel_hdmi_post_disable(struct intel_encoder *encoder) argument [all...] |
H A D | intel_ddi.c | 67 struct drm_encoder *encoder = &intel_encoder->base; local 73 enc_to_dig_port(encoder); 78 DRM_ERROR("Invalid DDI encoder type %d\n", type); 287 static void intel_ddi_mode_set(struct drm_encoder *encoder, argument 291 struct drm_crtc *crtc = encoder->crtc; 293 struct intel_encoder *intel_encoder = to_intel_encoder(encoder); 303 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); 305 enc_to_dig_port(encoder); 317 intel_write_eld(encoder, adjusted_mode); 323 struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); 638 struct drm_encoder *encoder = &intel_encoder->base; local 766 struct drm_encoder *encoder = &intel_encoder->base; local 901 intel_ddi_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument 1038 struct drm_encoder *encoder = &intel_encoder->base; local 1068 struct drm_encoder *encoder = &intel_encoder->base; local 1101 struct drm_encoder *encoder = &intel_encoder->base; local 1140 struct drm_encoder *encoder = &intel_encoder->base; local 1196 intel_ddi_prepare_link_retrain(struct drm_encoder *encoder) argument 1272 intel_ddi_get_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 1293 intel_ddi_destroy(struct drm_encoder *encoder) argument 1299 intel_ddi_compute_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 1330 struct drm_encoder *encoder; local [all...] |
H A D | intel_dvo.c | 107 static struct intel_dvo *enc_to_intel_dvo(struct drm_encoder *encoder) argument 109 return container_of(encoder, struct intel_dvo, base.base); 125 static bool intel_dvo_get_hw_state(struct intel_encoder *encoder, argument 128 struct drm_device *dev = encoder->base.dev; 130 struct intel_dvo *intel_dvo = enc_to_intel_dvo(&encoder->base); 143 static void intel_dvo_get_config(struct intel_encoder *encoder, argument 146 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; 147 struct intel_dvo *intel_dvo = enc_to_intel_dvo(&encoder->base); 163 static void intel_disable_dvo(struct intel_encoder *encoder) argument 165 struct drm_i915_private *dev_priv = encoder 175 intel_enable_dvo(struct intel_encoder *encoder) argument 248 intel_dvo_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 279 intel_dvo_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 396 intel_dvo_enc_destroy(struct drm_encoder *encoder) argument [all...] |
H A D | intel_crt.c | 52 * encoder's enable/disable callbacks */ 64 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) argument 66 return container_of(encoder, struct intel_crt, base); 69 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, argument 72 struct drm_device *dev = encoder->base.dev; 74 struct intel_crt *crt = intel_encoder_to_crt(encoder); 90 static void intel_crt_get_config(struct intel_encoder *encoder, argument 93 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; 94 struct intel_crt *crt = intel_encoder_to_crt(encoder); 114 static void intel_crt_set_dpms(struct intel_encoder *encoder, in argument 143 intel_disable_crt(struct intel_encoder *encoder) argument 148 intel_enable_crt(struct intel_encoder *encoder) argument 159 struct intel_encoder *encoder = intel_attached_encoder(connector); local 229 intel_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 244 intel_crt_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument [all...] |
H A D | intel_display.c | 439 struct intel_encoder *encoder; local 441 for_each_encoder_on_crtc(dev, crtc, encoder) 442 if (encoder->type == type) 2281 * an enabled pch encoder. 3189 struct intel_encoder *encoder; local 3223 for_each_encoder_on_crtc(dev, crtc, encoder) 3224 if (encoder->pre_enable) 3225 encoder->pre_enable(encoder); 3248 for_each_encoder_on_crtc(dev, crtc, encoder) 3306 struct intel_encoder *encoder; local 3392 struct intel_encoder *encoder; local 3465 struct intel_encoder *encoder; local 3599 struct intel_encoder *encoder; local 3646 struct intel_encoder *encoder; local 3705 struct intel_encoder *encoder; local 3845 intel_encoder_destroy(struct drm_encoder *encoder) argument 3856 intel_encoder_dpms(struct intel_encoder *encoder, int mode) argument 3874 struct intel_encoder *encoder = connector->encoder; local 3913 struct intel_encoder *encoder = intel_attached_encoder(connector); local 3940 struct intel_encoder *encoder = connector->encoder; local 4409 struct intel_encoder *encoder; local 4530 struct intel_encoder *encoder; local 4630 struct intel_encoder *encoder; local 4862 struct intel_encoder *encoder; local 5029 struct intel_encoder *encoder; local 5179 struct intel_encoder *encoder; local 5351 struct intel_encoder *encoder; local 5712 struct intel_encoder *encoder; local 6071 struct intel_encoder *encoder; local 6335 intel_write_eld(struct drm_encoder *encoder, struct drm_display_mode *mode) argument 6809 struct drm_encoder *encoder = &intel_encoder->base; local 6915 struct drm_encoder *encoder = &intel_encoder->base; local 7639 intel_encoder_crtc_ok(struct drm_encoder *encoder, struct drm_crtc *crtc) argument 7669 struct intel_encoder *encoder; local 7692 struct intel_encoder *encoder; local 7826 struct intel_encoder *encoder; local 7848 struct intel_encoder *encoder; local 7950 struct intel_encoder *encoder; local 8042 struct drm_encoder *encoder; local 8227 struct intel_encoder *encoder; local 8287 struct intel_encoder *encoder; local 8548 struct drm_encoder *encoder; local 8584 struct intel_encoder *encoder; local 8663 struct intel_encoder *encoder; local 9003 intel_encoder_clones(struct intel_encoder *encoder) argument 9046 struct intel_encoder *encoder; local 9784 struct intel_encoder *encoder; local 9810 intel_sanitize_encoder(struct intel_encoder *encoder) argument 9869 struct intel_encoder *encoder; local 9954 struct intel_encoder *encoder; local 10076 intel_connector_attach_encoder(struct intel_connector *connector, struct intel_encoder *encoder) argument [all...] |
H A D | intel_drv.h | 97 * The new crtc this encoder will be driven from. Only differs from 120 * the encoder is active. If the encoder is enabled it also set the pipe 141 * The fixed encoder this connector is connected to. 143 struct intel_encoder *encoder; member in struct:intel_connector 146 * The new encoder this connector will be driven. Only differs from 147 * encoder while a modeset is in progress. 192 /* This flag must be set by the encoder's compute_config callback if it 229 * required. This is set in the 2nd loop of calling encoder's 449 void (*write_infoframe)(struct drm_encoder *encoder, 645 enc_to_dig_port(struct drm_encoder *encoder) argument 650 enc_to_intel_dp(struct drm_encoder *encoder) argument [all...] |
H A D | intel_lvds.c | 58 static struct intel_lvds_encoder *to_lvds_encoder(struct drm_encoder *encoder) argument 60 return container_of(encoder, struct intel_lvds_encoder, base.base); 68 static bool intel_lvds_get_hw_state(struct intel_encoder *encoder, argument 71 struct drm_device *dev = encoder->base.dev; 73 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); 89 static void intel_lvds_get_config(struct intel_encoder *encoder, argument 92 struct drm_device *dev = encoder->base.dev; 125 static void intel_pre_pll_enable_lvds(struct intel_encoder *encoder) argument 127 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); 128 struct drm_device *dev = encoder 190 intel_enable_lvds(struct intel_encoder *encoder) argument 216 intel_disable_lvds(struct intel_encoder *encoder) argument 315 intel_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 824 struct intel_encoder *encoder; local 891 struct drm_encoder *encoder; local [all...] |
H A D | intel_dp.c | 637 intel_dp_set_clock(struct intel_encoder *encoder, argument 640 struct drm_device *dev = encoder->base.dev; 680 intel_dp_compute_config(struct intel_encoder *encoder, argument 683 struct drm_device *dev = encoder->base.dev; 686 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); 688 struct intel_crtc *intel_crtc = encoder->new_crtc; 775 intel_dp_set_clock(encoder, pipe_config, intel_dp->link_bw); 827 intel_dp_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, argument 830 struct drm_device *dev = encoder->dev; 832 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); 1292 intel_dp_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument 1342 intel_dp_get_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 1379 intel_disable_dp(struct intel_encoder *encoder) argument 1397 intel_post_disable_dp(struct intel_encoder *encoder) argument 1410 intel_enable_dp(struct intel_encoder *encoder) argument 1440 intel_pre_enable_dp(struct intel_encoder *encoder) argument 1473 intel_dp_pre_pll_enable(struct intel_encoder *encoder) argument 2045 struct drm_encoder *encoder = &dp_to_dig_port(intel_dp)->base.base; local 2738 intel_dp_encoder_destroy(struct drm_encoder *encoder) argument 3222 struct drm_encoder *encoder; local [all...] |
H A D | intel_sdvo.c | 144 /* DDC bus used by this SDVO encoder */ 207 static struct intel_sdvo *to_intel_sdvo(struct drm_encoder *encoder) argument 209 return container_of(encoder, struct intel_sdvo, base.base); 902 intel_sdvo_get_value(encoder, SDVO_CMD_GET_HBUF_AV_SPLIT, &av_split, 1); 906 intel_sdvo_write_cmd(encoder, SDVO_CMD_SET_HBUF_INDEX, 908 intel_sdvo_write_cmd(encoder, SDVO_CMD_GET_HBUF_INFO, NULL, 0); 909 intel_sdvo_read_response(encoder, &buf_size, 1); 913 intel_sdvo_write_cmd(encoder, SDVO_CMD_GET_HBUF_DATA, 915 intel_sdvo_read_response(encoder, pos, 8); 1080 static bool intel_sdvo_compute_config(struct intel_encoder *encoder, argument 1288 intel_sdvo_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument 1311 intel_sdvo_get_config(struct intel_encoder *encoder, struct intel_crtc_config *pipe_config) argument 1379 intel_disable_sdvo(struct intel_encoder *encoder) argument 1420 intel_enable_sdvo(struct intel_encoder *encoder) argument 1581 intel_sdvo_enable_hotplug(struct intel_encoder *encoder) argument 2184 intel_sdvo_enc_destroy(struct drm_encoder *encoder) argument 2336 intel_sdvo_connector_init(struct intel_sdvo_connector *connector, struct intel_sdvo *encoder) argument 2371 struct drm_encoder *encoder = &intel_sdvo->base.base; local 2420 struct drm_encoder *encoder = &intel_sdvo->base.base; local 2457 struct drm_encoder *encoder = &intel_sdvo->base.base; local 2488 struct drm_encoder *encoder = &intel_sdvo->base.base; local [all...] |
H A D | intel_tv.c | 832 static struct intel_tv *enc_to_intel_tv(struct drm_encoder *encoder) argument 834 return container_of(encoder, struct intel_tv, base.base); 845 intel_tv_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument 847 struct drm_device *dev = encoder->base.dev; 860 intel_enable_tv(struct intel_encoder *encoder) argument 862 struct drm_device *dev = encoder->base.dev; 869 intel_disable_tv(struct intel_encoder *encoder) argument 871 struct drm_device *dev = encoder->base.dev; 914 intel_tv_compute_config(struct intel_encoder *encoder, argument 917 struct intel_tv *intel_tv = enc_to_intel_tv(&encoder 932 intel_tv_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 1176 struct drm_encoder *encoder = &intel_tv->base.base; local [all...] |
H A D | i915_irq.c | 557 DRM_DEBUG_KMS("running encoder hotplug functions\n"); 565 intel_encoder = intel_connector->encoder; 595 intel_encoder = intel_connector->encoder; 3537 if (intel_connector->encoder->hpd_pin == i) { 3647 if (!connector->polled && I915_HAS_HOTPLUG(dev) && intel_connector->encoder->hpd_pin > HPD_NONE)
|