/drivers/gpu/drm/msm/edp/ |
D | edp.c | 19 struct msm_edp *edp = dev_id; in edp_irq() local 22 return msm_edp_ctrl_irq(edp->ctrl); in edp_irq() 27 struct msm_edp *edp = platform_get_drvdata(pdev); in edp_destroy() local 29 if (!edp) in edp_destroy() 32 if (edp->ctrl) { in edp_destroy() 33 msm_edp_ctrl_destroy(edp->ctrl); in edp_destroy() 34 edp->ctrl = NULL; in edp_destroy() 43 struct msm_edp *edp = NULL; in edp_init() local 52 edp = devm_kzalloc(&pdev->dev, sizeof(*edp), GFP_KERNEL); in edp_init() 53 if (!edp) { in edp_init() [all …]
|
D | edp_bridge.c | 18 struct msm_edp *edp; member 29 struct msm_edp *edp = edp_bridge->edp; in edp_bridge_pre_enable() local 32 msm_edp_ctrl_power(edp->ctrl, true); in edp_bridge_pre_enable() 48 struct msm_edp *edp = edp_bridge->edp; in edp_bridge_post_disable() local 51 msm_edp_ctrl_power(edp->ctrl, false); in edp_bridge_post_disable() 61 struct msm_edp *edp = edp_bridge->edp; in edp_bridge_mode_set() local 75 msm_edp_ctrl_timing_cfg(edp->ctrl, in edp_bridge_mode_set() 91 struct drm_bridge *msm_edp_bridge_init(struct msm_edp *edp) in msm_edp_bridge_init() argument 97 edp_bridge = devm_kzalloc(edp->dev->dev, in msm_edp_bridge_init() 104 edp_bridge->edp = edp; in msm_edp_bridge_init() [all …]
|
D | edp_connector.c | 20 struct msm_edp *edp; member 28 struct msm_edp *edp = edp_connector->edp; in edp_connector_detect() local 31 return msm_edp_ctrl_panel_connected(edp->ctrl) ? in edp_connector_detect() 49 struct msm_edp *edp = edp_connector->edp; in edp_connector_get_modes() local 55 ret = msm_edp_ctrl_get_panel_info(edp->ctrl, connector, &drm_edid); in edp_connector_get_modes() 70 struct msm_edp *edp = edp_connector->edp; in edp_connector_mode_valid() local 77 requested, edp_connector->edp->encoder); in edp_connector_mode_valid() 84 edp->ctrl, mode->clock, NULL, NULL)) in edp_connector_mode_valid() 110 struct drm_connector *msm_edp_connector_init(struct msm_edp *edp) in msm_edp_connector_init() argument 120 edp_connector->edp = edp; in msm_edp_connector_init() [all …]
|
D | edp.h | 49 struct drm_bridge *msm_edp_bridge_init(struct msm_edp *edp); 53 struct drm_connector *msm_edp_connector_init(struct msm_edp *edp); 73 int msm_edp_ctrl_init(struct msm_edp *edp);
|
D | edp_ctrl.c | 1090 int msm_edp_ctrl_init(struct msm_edp *edp) in msm_edp_ctrl_init() argument 1093 struct device *dev = &edp->pdev->dev; in msm_edp_ctrl_init() 1096 if (!edp) { in msm_edp_ctrl_init() 1105 edp->ctrl = ctrl; in msm_edp_ctrl_init() 1106 ctrl->pdev = edp->pdev; in msm_edp_ctrl_init()
|
/drivers/gpu/drm/gma500/ |
D | intel_bios.c | 60 struct bdb_edp *edp; in parse_edp() local 65 edp = find_section(bdb, BDB_EDP); in parse_edp() 67 dev_priv->edp.bpp = 18; in parse_edp() 68 if (!edp) { in parse_edp() 69 if (dev_priv->edp.support) { in parse_edp() 71 dev_priv->edp.bpp); in parse_edp() 77 switch ((edp->color_depth >> (panel_type * 2)) & 3) { in parse_edp() 79 dev_priv->edp.bpp = 18; in parse_edp() 82 dev_priv->edp.bpp = 24; in parse_edp() 85 dev_priv->edp.bpp = 30; in parse_edp() [all …]
|
D | cdv_intel_dp.c | 528 (cdv_intel_dp_link_required(mode->clock, dev_priv->edp.bpp) in cdv_intel_dp_mode_valid() 910 bpp = dev_priv->edp.bpp; in cdv_intel_dp_mode_fixup() 1014 bpp = dev_priv->edp.bpp; in cdv_intel_dp_set_m_n() 1141 int edp = is_edp(intel_encoder); in cdv_intel_dp_prepare() local 1143 if (edp) { in cdv_intel_dp_prepare() 1151 if (edp) in cdv_intel_dp_prepare() 1158 int edp = is_edp(intel_encoder); in cdv_intel_dp_commit() local 1160 if (edp) in cdv_intel_dp_commit() 1164 if (edp) in cdv_intel_dp_commit() 1175 int edp = is_edp(intel_encoder); in cdv_intel_dp_dpms() local [all …]
|
D | psb_drv.h | 620 } edp; member
|
D | cdv_intel_display.c | 702 switch (dev_priv->edp.bpp) { in cdv_intel_crtc_mode_set()
|
/drivers/gpu/drm/msm/ |
D | Makefile | 18 edp/edp.o \ 19 edp/edp_aux.o \ 20 edp/edp_bridge.o \ 21 edp/edp_connector.o \ 22 edp/edp_ctrl.o \ 23 edp/edp_phy.o \
|
D | msm_drv.h | 100 struct msm_edp *edp; member 255 int msm_edp_modeset_init(struct msm_edp *edp, struct drm_device *dev,
|
/drivers/gpu/drm/i915/ |
D | intel_bios.c | 558 dev_priv->vbt.edp.support = 1; in parse_driver_features() 574 const struct bdb_edp *edp; in parse_edp() local 579 edp = find_section(bdb, BDB_EDP); in parse_edp() 580 if (!edp) { in parse_edp() 581 if (dev_priv->vbt.edp.support) in parse_edp() 586 switch ((edp->color_depth >> (panel_type * 2)) & 3) { in parse_edp() 588 dev_priv->vbt.edp.bpp = 18; in parse_edp() 591 dev_priv->vbt.edp.bpp = 24; in parse_edp() 594 dev_priv->vbt.edp.bpp = 30; in parse_edp() 599 edp_pps = &edp->power_seqs[panel_type]; in parse_edp() [all …]
|
D | intel_ddi.c | 325 if (dev_priv->vbt.edp.low_vswing) { in bdw_get_buf_trans_edp() 352 if (dev_priv->vbt.edp.low_vswing) { in skl_get_buf_trans_edp() 1482 if (type == INTEL_OUTPUT_EDP && dev_priv->vbt.edp.low_vswing) { in bxt_ddi_vswing_sequence() 2301 if (encoder->type == INTEL_OUTPUT_EDP && dev_priv->vbt.edp.bpp && in intel_ddi_get_config() 2302 pipe_config->pipe_bpp > dev_priv->vbt.edp.bpp) { in intel_ddi_get_config() 2317 pipe_config->pipe_bpp, dev_priv->vbt.edp.bpp); in intel_ddi_get_config() 2318 dev_priv->vbt.edp.bpp = pipe_config->pipe_bpp; in intel_ddi_get_config()
|
D | intel_dp.c | 1622 (dev_priv->vbt.edp.bpp && dev_priv->vbt.edp.bpp < bpp)) { in intel_dp_compute_config() 1624 dev_priv->vbt.edp.bpp); in intel_dp_compute_config() 1625 bpp = dev_priv->vbt.edp.bpp; in intel_dp_compute_config() 2548 if (is_edp(intel_dp) && dev_priv->vbt.edp.bpp && in intel_dp_get_config() 2549 pipe_config->pipe_bpp > dev_priv->vbt.edp.bpp) { in intel_dp_get_config() 2564 pipe_config->pipe_bpp, dev_priv->vbt.edp.bpp); in intel_dp_get_config() 2565 dev_priv->vbt.edp.bpp = pipe_config->pipe_bpp; in intel_dp_get_config() 2999 if (dev_priv->vbt.edp.low_vswing && port == PORT_A) in intel_dp_voltage_max() 5014 vbt = dev_priv->vbt.edp.pps; in intel_dp_init_panel_power_sequencer()
|
D | intel_lvds.c | 1010 if (dev_priv->vbt.edp.support) { in intel_lvds_init()
|
D | i915_debugfs.c | 5399 bool edp; member 5431 if (b->edp && in i915_dpcd_show()
|
D | i915_drv.h | 1520 } edp; member
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_kms.c | 238 if (!priv->edp) in modeset_init_intf() 254 ret = msm_edp_modeset_init(priv->edp, dev, encoder); in modeset_init_intf()
|