Home
last modified time | relevance | path

Searched refs:crtc (Results 501 – 525 of 636) sorted by relevance

1...<<212223242526

/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddsi.c203 struct drm_crtc *crtc = dsi->output.encoder.crtc; in tegra_dsi_show_regs() local
210 if (!crtc || !crtc->state->active) { in tegra_dsi_show_regs()
844 struct tegra_dc *dc = to_tegra_dc(encoder->crtc); in tegra_dsi_encoder_disable()
907 struct drm_display_mode *mode = &encoder->crtc->state->adjusted_mode; in tegra_dsi_encoder_enable()
909 struct tegra_dc *dc = to_tegra_dc(encoder->crtc); in tegra_dsi_encoder_enable()
966 struct tegra_dc *dc = to_tegra_dc(conn_state->crtc); in tegra_dsi_encoder_atomic_check()
H A Dsor.c1492 struct drm_crtc *crtc = sor->output.encoder.crtc; in tegra_sor_show_crc() local
1499 if (!crtc || !crtc->state->active) { in tegra_sor_show_crc()
1654 struct drm_crtc *crtc = sor->output.encoder.crtc; in tegra_sor_show_regs() local
1661 if (!crtc || !crtc->state->active) { in tegra_sor_show_regs()
1806 struct tegra_dc *dc = to_tegra_dc(conn_state->crtc); in tegra_sor_encoder_atomic_check()
2205 struct tegra_dc *dc = to_tegra_dc(encoder->crtc); in tegra_sor_hdmi_disable()
2247 struct tegra_dc *dc = to_tegra_dc(encoder->crtc); in tegra_sor_hdmi_enable()
2258 mode = &encoder->crtc->state->adjusted_mode; in tegra_sor_hdmi_enable()
2653 struct tegra_dc *dc = to_tegra_dc(encoder->crtc); in tegra_sor_dp_disable()
2717 struct tegra_dc *dc = to_tegra_dc(encoder->crtc); in tegra_sor_dp_enable()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c425 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(connector_state->crtc); in dm_mst_atomic_best_encoder()
1252 if (!new_conn_state->crtc) in is_dsc_need_re_compute()
1255 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in is_dsc_need_re_compute()
1420 struct drm_crtc *crtc; in find_crtc_index_in_state_by_stream() local
1423 for_each_oldnew_crtc_in_state(state, crtc, old_state, new_state, i) { in find_crtc_index_in_state_by_stream()
1450 struct drm_crtc *crtc; in is_dsc_precompute_needed() local
1454 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in is_dsc_precompute_needed()
1457 if (!amdgpu_dm_find_first_crtc_matching_connector(state, crtc)) { in is_dsc_precompute_needed()
H A Damdgpu_dm_trace.h131 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
189 __entry->crtc_id = state->crtc->base.id;
261 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dvo.c292 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_dvo_pre_enable() local
295 enum pipe pipe = crtc->pipe; in intel_dvo_pre_enable()
H A Dintel_sdvo.c1502 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_sdvo_pre_enable() local
1609 sdvox |= SDVO_PIPE_SEL_CPT(crtc->pipe); in intel_sdvo_pre_enable()
1611 sdvox |= SDVO_PIPE_SEL(crtc->pipe); in intel_sdvo_pre_enable()
1805 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_sdvo() local
1826 if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B) { in intel_disable_sdvo()
1870 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_enable_sdvo() local
1881 intel_crtc_wait_for_next_vblank(crtc); in intel_enable_sdvo()
2421 if (state->crtc) { in intel_sdvo_connector_atomic_set_property()
2423 drm_atomic_get_new_crtc_state(state->state, state->crtc); in intel_sdvo_connector_atomic_set_property()
2529 if (new_conn_state->crtc && in intel_sdvo_atomic_check()
[all …]
H A Dintel_pch_refclk.c177 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in lpt_program_iclkip() local
178 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in lpt_program_iclkip()
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c455 if (asyw->state.crtc) { in nv50_wndw_atomic_check()
456 asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc); in nv50_wndw_atomic_check()
466 if (armw->state.crtc) { in nv50_wndw_atomic_check()
467 harm = nv50_head_atom_get(asyw->state.state, armw->state.crtc); in nv50_wndw_atomic_check()
570 asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc); in nv50_wndw_prepare_fb()
/openbmc/linux/include/video/
H A Duvesafb.h135 struct vbe_crtc_ib crtc; member
/openbmc/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_rgb.c22 struct drm_crtc *crtc) in fsl_dcu_drm_encoder_create() argument
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_connectors.c93 struct drm_crtc *crtc = encoder->crtc; in amdgpu_connector_property_change_mode() local
95 if (crtc && crtc->enabled) { in amdgpu_connector_property_change_mode()
96 drm_crtc_helper_set_mode(crtc, &crtc->mode, in amdgpu_connector_property_change_mode()
97 crtc->x, crtc->y, crtc->primary->fb); in amdgpu_connector_property_change_mode()
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c526 if (mt->crtc == MATROXFB_SRC_CRTC2 && in matroxfb_g450_compute()
552 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
582 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in g450_dvi_compute()
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c318 struct drm_display_mode *mode = &encoder->crtc->mode; in tv_setup_filter()
545 int head = nouveau_crtc(encoder->crtc)->index; in nv17_ctv_update_rescaler()
547 struct drm_display_mode *crtc_mode = &encoder->crtc->mode; in nv17_ctv_update_rescaler()
H A Doverlay.c113 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv10_update_plane() argument
124 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv10_update_plane()
364 nv04_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv04_update_plane() argument
H A Ddac.c368 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dac_prepare()
381 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dac_mode_set()
416 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dac_commit()
/openbmc/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_test_pv_muxing.c129 struct drm_crtc *crtc; in get_vc4_crtc_state_for_encoder() local
134 crtc = vc4_find_crtc_for_encoder(test, drm, encoder); in get_vc4_crtc_state_for_encoder()
135 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, crtc); in get_vc4_crtc_state_for_encoder()
137 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in get_vc4_crtc_state_for_encoder()
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_drv.c424 struct drm_crtc *crtc; in mtk_drm_kms_init() local
499 crtc = drm_crtc_from_index(drm, 0); in mtk_drm_kms_init()
500 if (crtc) in mtk_drm_kms_init()
501 dma_dev = mtk_drm_crtc_dma_dev_get(crtc); in mtk_drm_kms_init()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_resource.c114 .crtc = (mmCRTC0_CRTC_CONTROL - mmCRTC_CONTROL),
120 .crtc = (mmCRTC1_CRTC_CONTROL - mmCRTC_CONTROL),
126 .crtc = (mmCRTC2_CRTC_CONTROL - mmCRTC_CONTROL),
132 .crtc = (mmCRTC3_CRTC_CONTROL - mmCRTC_CONTROL),
138 .crtc = (mmCRTC4_CRTC_CONTROL - mmCRTC_CONTROL),
144 .crtc = (mmCRTC5_CRTC_CONTROL - mmCRTC_CONTROL),
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce80/
H A Ddce80_resource.c114 .crtc = (mmCRTC0_CRTC_CONTROL - mmCRTC_CONTROL),
120 .crtc = (mmCRTC1_CRTC_CONTROL - mmCRTC_CONTROL),
126 .crtc = (mmCRTC2_CRTC_CONTROL - mmCRTC_CONTROL),
132 .crtc = (mmCRTC3_CRTC_CONTROL - mmCRTC_CONTROL),
138 .crtc = (mmCRTC4_CRTC_CONTROL - mmCRTC_CONTROL),
144 .crtc = (mmCRTC5_CRTC_CONTROL - mmCRTC_CONTROL),
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.c119 .crtc = (mmCRTC0_CRTC_CONTROL - mmCRTC_CONTROL),
123 .crtc = (mmCRTC1_CRTC_CONTROL - mmCRTC_CONTROL),
127 .crtc = (mmCRTC2_CRTC_CONTROL - mmCRTC_CONTROL),
131 .crtc = (mmCRTC3_CRTC_CONTROL - mmCRTC_CONTROL),
135 .crtc = (mmCRTC4_CRTC_CONTROL - mmCRTC_CONTROL),
139 .crtc = (mmCRTC5_CRTC_CONTROL - mmCRTC_CONTROL),
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c159 struct drm_crtc *crtc; in r600_dpm_get_vblank_time() local
165 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in r600_dpm_get_vblank_time()
166 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vblank_time()
167 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vblank_time()
186 struct drm_crtc *crtc; in r600_dpm_get_vrefresh() local
191 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in r600_dpm_get_vrefresh()
192 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vrefresh()
193 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vrefresh()
H A Devergreen.c1376 void dce4_wait_for_vblank(struct radeon_device *rdev, int crtc) in dce4_wait_for_vblank() argument
1380 if (crtc >= rdev->num_crtc) in dce4_wait_for_vblank()
1389 while (dce4_is_in_vblank(rdev, crtc)) { in dce4_wait_for_vblank()
1391 if (!dce4_is_counter_moving(rdev, crtc)) in dce4_wait_for_vblank()
1396 while (!dce4_is_in_vblank(rdev, crtc)) { in dce4_wait_for_vblank()
1398 if (!dce4_is_counter_moving(rdev, crtc)) in dce4_wait_for_vblank()
1676 struct drm_crtc *crtc; in evergreen_pm_prepare() local
1682 radeon_crtc = to_radeon_crtc(crtc); in evergreen_pm_prepare()
1701 struct drm_crtc *crtc; in evergreen_pm_finish() local
1707 radeon_crtc = to_radeon_crtc(crtc); in evergreen_pm_finish()
[all …]
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c4388 if (!old_conn_state->crtc) in drm_dp_atomic_release_time_slots()
4393 if (new_conn_state->crtc) { in drm_dp_atomic_release_time_slots()
4420 if (new_conn_state->crtc) in drm_dp_atomic_release_time_slots()
4449 struct drm_crtc *crtc; in drm_dp_mst_atomic_setup_commit() local
4507 old_mst_state->commit_deps[j]->crtc->name, ret); in drm_dp_mst_atomic_wait_for_dependencies()
4556 if (new_conn_state->crtc) { in drm_dp_mst_root_conn_atomic_check()
4567 if (old_conn_state->crtc) { in drm_dp_mst_root_conn_atomic_check()
5267 struct drm_crtc *crtc; in drm_dp_mst_add_affected_dsc_crtcs() local
5287 crtc = conn_state->crtc; in drm_dp_mst_add_affected_dsc_crtcs()
5289 if (!crtc) in drm_dp_mst_add_affected_dsc_crtcs()
[all …]
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dpsb_drv.h579 void (*save_crtc)(struct drm_crtc *crtc);
580 void (*restore_crtc)(struct drm_crtc *crtc);
583 void (*update_wm)(struct drm_device *dev, struct drm_crtc *crtc);
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.h258 int msm_crtc_enable_vblank(struct drm_crtc *crtc);
259 void msm_crtc_disable_vblank(struct drm_crtc *crtc);

1...<<212223242526