/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dsi.c | 203 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 D | sor.c | 1492 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 D | amdgpu_dm_mst_types.c | 425 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 D | amdgpu_dm_trace.h | 131 __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 D | intel_dvo.c | 292 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 D | intel_sdvo.c | 1502 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 D | intel_pch_refclk.c | 177 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 D | wndw.c | 455 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 D | uvesafb.h | 135 struct vbe_crtc_ib crtc; member
|
/openbmc/linux/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_rgb.c | 22 struct drm_crtc *crtc) in fsl_dcu_drm_encoder_create() argument
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 93 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 D | matroxfb_g450.c | 526 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 D | tvmodesnv17.c | 318 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 D | overlay.c | 113 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 D | dac.c | 368 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 D | vc4_test_pv_muxing.c | 129 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 D | mtk_drm_drv.c | 424 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 D | dce60_resource.c | 114 .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 D | dce80_resource.c | 114 .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 D | dce112_resource.c | 119 .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 D | r600_dpm.c | 159 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 D | evergreen.c | 1376 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 D | drm_dp_mst_topology.c | 4388 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 D | psb_drv.h | 579 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 D | msm_drv.h | 258 int msm_crtc_enable_vblank(struct drm_crtc *crtc); 259 void msm_crtc_disable_vblank(struct drm_crtc *crtc);
|