/openbmc/linux/include/drm/ |
H A D | drm_encoder.h | 177 struct drm_crtc *crtc; member 283 struct drm_crtc *crtc) in drm_encoder_crtc_ok() argument 285 return !!(encoder->possible_crtcs & drm_crtc_mask(crtc)); in drm_encoder_crtc_ok()
|
H A D | drm_color_mgmt.h | 58 void drm_crtc_enable_color_mgmt(struct drm_crtc *crtc, 63 int drm_mode_crtc_set_gamma_size(struct drm_crtc *crtc,
|
/openbmc/linux/drivers/gpu/drm/hisilicon/hibmc/ |
H A D | hibmc_drm_vdac.c | 94 struct drm_crtc *crtc = &priv->crtc; in hibmc_vdac_init() local 104 encoder->possible_crtcs = drm_crtc_mask(crtc); in hibmc_vdac_init()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_crtc_state_dump.c | 34 struct drm_i915_private *i915 = to_i915(pipe_config->uapi.crtc->dev); in intel_dump_m_n_config() 204 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_crtc_state_dump() local 205 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in intel_crtc_state_dump() 212 crtc->base.base.id, crtc->base.name, in intel_crtc_state_dump() 328 crtc->num_scalers, in intel_crtc_state_dump() 386 if (plane->pipe == crtc->pipe) in intel_crtc_state_dump()
|
H A D | intel_cursor.c | 335 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in i9xx_cursor_ctl_crtc() local 336 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in i9xx_cursor_ctl_crtc() 349 cntl |= MCURSOR_PIPE_SEL(crtc->pipe); in i9xx_cursor_ctl_crtc() 617 struct intel_crtc *crtc = to_intel_crtc(_crtc); in intel_legacy_cursor_update() local 622 to_intel_crtc_state(crtc->base.state); in intel_legacy_cursor_update() 655 if (old_plane_state->uapi.crtc != &crtc->base || in intel_legacy_cursor_update() 667 new_crtc_state = to_intel_crtc_state(intel_crtc_duplicate_state(&crtc->base)); in intel_legacy_cursor_update() 684 intel_plane_copy_uapi_to_hw_state(new_plane_state, new_plane_state, crtc); in intel_legacy_cursor_update() 737 intel_crtc_destroy_state(&crtc->base, &new_crtc_state->uapi); in intel_legacy_cursor_update() 745 return drm_atomic_helper_update_plane(&plane->base, &crtc->base, fb, in intel_legacy_cursor_update()
|
H A D | intel_ddi.c | 386 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_set_dp_msa() local 475 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_transcoder_func_reg_val_get() local 586 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_enable_transcoder_func() local 619 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_config_transcoder_func() local 631 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_disable_transcoder_func() local 980 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_enable_transcoder_clock() local 2316 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_ddi_mso_configure() local 4152 struct intel_crtc *crtc = to_intel_crtc(conn_state->crtc); in intel_ddi_port_sync_transcoders() local 4155 if (!crtc) in intel_ddi_port_sync_transcoders() 4349 crtc = to_intel_crtc(conn_state->crtc); in intel_hdmi_reset_link() [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_drv.c | 52 struct drm_crtc *crtc; in omap_atomic_wait_for_completion() local 56 for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { in omap_atomic_wait_for_completion() 60 ret = omap_crtc_wait_pending(crtc); in omap_atomic_wait_for_completion() 141 struct drm_crtc *crtc; in omap_atomic_update_normalize_zpos() local 153 for_each_oldnew_crtc_in_state(state, crtc, old_state, new_state, c) { in omap_atomic_update_normalize_zpos() 492 struct drm_crtc *crtc; in omap_modeset_init() local 504 crtc = omap_crtc_init(dev, pipe, priv->planes[i]); in omap_modeset_init() 505 if (IS_ERR(crtc)) in omap_modeset_init() 506 return PTR_ERR(crtc); in omap_modeset_init() 509 pipe->crtc = crtc; in omap_modeset_init()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 27 struct drm_crtc *crtc, struct drm_framebuffer *fb, 349 struct drm_crtc *crtc; in mdp5_plane_atomic_check() local 352 crtc = new_plane_state->crtc ? new_plane_state->crtc : old_plane_state->crtc; in mdp5_plane_atomic_check() 353 if (!crtc) in mdp5_plane_atomic_check() 357 crtc); in mdp5_plane_atomic_check() 376 new_state->crtc, new_state->fb, in mdp5_plane_atomic_update() 394 new_plane_state->crtc); in mdp5_plane_atomic_async_check() 406 if (plane->state->crtc != new_plane_state->crtc || in mdp5_plane_atomic_async_check() 452 mdp5_crtc_get_pipeline(new_state->crtc); in mdp5_plane_atomic_async_update() 459 ctl = mdp5_crtc_get_ctl(new_state->crtc); in mdp5_plane_atomic_async_update() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_trace.h | 145 __field(u32, crtc) 153 __entry->crtc = crtc; 162 __entry->crtc, 676 struct dpu_crtc *crtc), 677 TP_ARGS(drm_id, enc_id, enable, crtc), 688 __entry->enabled = crtc->enabled; 698 TP_ARGS(drm_id, enable, crtc), 707 __entry->enabled = crtc->enabled; 715 TP_ARGS(drm_id, enable, crtc) 719 TP_ARGS(drm_id, enable, crtc) [all …]
|
/openbmc/linux/drivers/gpu/drm/vc4/tests/ |
H A D | vc4_mock.c | 115 struct drm_crtc *crtc; in __build_one_pipe() local 125 crtc = &dummy_crtc->crtc.base; in __build_one_pipe() 130 dummy_output = vc4_dummy_output(test, drm, crtc, in __build_one_pipe()
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H A D | hdlcd_drv.h | 13 struct drm_crtc crtc; member 25 #define crtc_to_hdlcd_priv(x) container_of(x, struct hdlcd_drm_private, crtc)
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | dce6_afmt.h | 48 struct radeon_crtc *crtc, unsigned int clock); 50 struct radeon_crtc *crtc, unsigned int clock);
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_lease.c | 158 struct drm_crtc *crtc; in drm_lease_filter_crtcs() local 176 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in drm_lease_filter_crtcs() 177 if (_drm_lease_held_master(master, crtc->base.id)) { in drm_lease_filter_crtcs() 441 struct drm_crtc *crtc = obj_to_crtc(obj); in fill_object_idr() local 443 …ret = idr_alloc(leases, &drm_lease_idr_object, crtc->primary->base.id, crtc->primary->base.id + 1,… in fill_object_idr() 449 if (crtc->cursor) { in fill_object_idr() 450 …ret = idr_alloc(leases, &drm_lease_idr_object, crtc->cursor->base.id, crtc->cursor->base.id + 1, G… in fill_object_idr()
|
H A D | drm_debugfs.c | 584 void drm_debugfs_crtc_add(struct drm_crtc *crtc) in drm_debugfs_crtc_add() argument 586 struct drm_minor *minor = crtc->dev->primary; in drm_debugfs_crtc_add() 590 name = kasprintf(GFP_KERNEL, "crtc-%d", crtc->index); in drm_debugfs_crtc_add() 597 crtc->debugfs_entry = root; in drm_debugfs_crtc_add() 599 drm_debugfs_crtc_crc_add(crtc); in drm_debugfs_crtc_add() 602 void drm_debugfs_crtc_remove(struct drm_crtc *crtc) in drm_debugfs_crtc_remove() argument 604 debugfs_remove_recursive(crtc->debugfs_entry); in drm_debugfs_crtc_remove() 605 crtc->debugfs_entry = NULL; in drm_debugfs_crtc_remove()
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | plane.c | 93 struct drm_crtc *crtc; in tegra_plane_supports_sector_layout() local 95 drm_for_each_crtc(crtc, plane->dev) { in tegra_plane_supports_sector_layout() 96 if (plane->possible_crtcs & drm_crtc_mask(crtc)) { in tegra_plane_supports_sector_layout() 97 struct tegra_dc *dc = to_tegra_dc(crtc); in tegra_plane_supports_sector_layout() 203 struct tegra_dc *dc = to_tegra_dc(state->crtc); in tegra_plane_prepare_fb() 219 struct tegra_dc *dc = to_tegra_dc(state->crtc); in tegra_plane_cleanup_fb() 237 crtc_state = drm_atomic_get_new_crtc_state(state->state, state->crtc); in tegra_plane_calculate_memory_bandwidth() 247 soc = to_tegra_dc(state->crtc)->soc; in tegra_plane_calculate_memory_bandwidth() 305 crtc_state = drm_atomic_get_crtc_state(state->state, state->crtc); in tegra_plane_state_add()
|
H A D | output.c | 244 struct drm_crtc *crtc; in tegra_output_find_possible_crtcs() local 247 drm_for_each_crtc(crtc, drm) { in tegra_output_find_possible_crtcs() 248 struct tegra_dc *dc = to_tegra_dc(crtc); in tegra_output_find_possible_crtcs() 251 mask |= drm_crtc_mask(crtc); in tegra_output_find_possible_crtcs()
|
/openbmc/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_drv.c | 292 struct drm_crtc *crtc = encoder->crtc; in ch7006_encoder_set_property() local 364 if (crtc) in ch7006_encoder_set_property() 365 drm_crtc_helper_set_mode(crtc, &crtc->mode, in ch7006_encoder_set_property() 366 crtc->x, crtc->y, in ch7006_encoder_set_property() 367 crtc->primary->fb); in ch7006_encoder_set_property()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | cyber2000fb.c | 422 u_char crtc[19]; member 566 hw->crtc[13] = hw->pitch; in cyber2000fb_decode_crtc() 567 hw->crtc[17] = 0xe3; in cyber2000fb_decode_crtc() 568 hw->crtc[14] = 0; in cyber2000fb_decode_crtc() 569 hw->crtc[8] = 0; in cyber2000fb_decode_crtc() 604 hw->crtc[6] = Vtotal; in cyber2000fb_decode_crtc() 616 hw->crtc[10] = Vsyncstart; in cyber2000fb_decode_crtc() 619 hw->crtc[12] = Vdispend; in cyber2000fb_decode_crtc() 620 hw->crtc[15] = Vblankstart; in cyber2000fb_decode_crtc() 621 hw->crtc[16] = Vblankend; in cyber2000fb_decode_crtc() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_group.c | 285 struct rcar_du_crtc *crtc; in rcar_du_set_dpad0_vsp1_routing() local 301 crtc = &rcdu->crtcs[index * 2]; in rcar_du_set_dpad0_vsp1_routing() 303 ret = clk_prepare_enable(crtc->clock); in rcar_du_set_dpad0_vsp1_routing() 309 clk_disable_unprepare(crtc->clock); in rcar_du_set_dpad0_vsp1_routing() 346 rstate = to_rcar_crtc_state(rcrtc->crtc.state); in rcar_du_group_set_dpad_levels()
|
H A D | rcar_du_crtc.h | 48 struct drm_crtc crtc; member 78 #define to_rcar_crtc(c) container_of(c, struct rcar_du_crtc, crtc)
|
/openbmc/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_plane.c | 38 if (!new_plane_state->crtc) { in tidss_plane_atomic_check() 49 new_plane_state->crtc); in tidss_plane_atomic_check() 98 hw_videoport = to_tidss_crtc(new_plane_state->crtc)->hw_videoport; in tidss_plane_atomic_check() 125 hw_videoport = to_tidss_crtc(new_state->crtc)->hw_videoport; in tidss_plane_atomic_update()
|
H A D | tidss_irq.h | 67 void tidss_irq_enable_vblank(struct drm_crtc *crtc); 68 void tidss_irq_disable_vblank(struct drm_crtc *crtc);
|
/openbmc/linux/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 355 needs_modeset = drm_atomic_crtc_needs_modeset(newstate->crtc->state); in ingenic_ipu_plane_atomic_update() 576 struct drm_crtc *crtc = new_plane_state->crtc ?: old_plane_state->crtc; in ingenic_ipu_plane_atomic_check() local 580 if (!crtc) in ingenic_ipu_plane_atomic_check() 583 crtc_state = drm_atomic_get_existing_crtc_state(state, crtc); in ingenic_ipu_plane_atomic_check() 592 if (!old_plane_state->crtc ^ !new_plane_state->crtc) in ingenic_ipu_plane_atomic_check() 595 if (!new_plane_state->crtc || in ingenic_ipu_plane_atomic_check() 707 if (state->crtc) { in ingenic_ipu_plane_atomic_set_property() 708 crtc_state = drm_atomic_get_existing_crtc_state(state->state, state->crtc); in ingenic_ipu_plane_atomic_set_property() 761 struct drm_crtc *crtc = drm_crtc_from_index(ipu->drm, 0); in ingenic_ipu_irq_handler() local 780 drm_crtc_handle_vblank(crtc); in ingenic_ipu_irq_handler()
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tv.c | 267 struct sun4i_crtc *crtc = drm_crtc_to_sun4i_crtc(encoder->crtc); in sun4i_tv_disable() local 275 sunxi_engine_disable_color_correction(crtc->engine); in sun4i_tv_disable() 282 struct sun4i_crtc *crtc = drm_crtc_to_sun4i_crtc(encoder->crtc); in sun4i_tv_enable() local 284 drm_atomic_get_new_crtc_state(state, encoder->crtc); in sun4i_tv_enable() 387 sunxi_engine_apply_color_correction(crtc->engine); in sun4i_tv_enable()
|
/openbmc/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_drv.c | 67 struct drm_crtc *crtc; in vkms_atomic_commit_tail() local 83 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail() 125 struct drm_crtc *crtc; in vkms_atomic_check() local 129 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in vkms_atomic_check()
|