Home
last modified time | relevance | path

Searched refs:crtc (Results 326 – 350 of 636) sorted by relevance

1...<<11121314151617181920>>...26

/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv04.c88 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_dpms()
127 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_prepare()
145 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_tv_mode_set()
169 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_tv_commit()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Devergreen_hdmi.h60 struct radeon_crtc *crtc, unsigned int clock);
62 struct radeon_crtc *crtc, unsigned int clock);
H A Drs690.c273 struct radeon_crtc *crtc, in rs690_crtc_bandwidth_compute() argument
277 struct drm_display_mode *mode = &crtc->base.mode; in rs690_crtc_bandwidth_compute()
284 if (!crtc->base.enabled) { in rs690_crtc_bandwidth_compute()
305 if (crtc->vsc.full > dfixed_const(2)) in rs690_crtc_bandwidth_compute()
331 if (crtc->rmx_type != RMX_OFF) { in rs690_crtc_bandwidth_compute()
333 if (crtc->vsc.full > b.full) in rs690_crtc_bandwidth_compute()
334 b.full = crtc->vsc.full; in rs690_crtc_bandwidth_compute()
335 b.full = dfixed_mul(b, crtc->hsc); in rs690_crtc_bandwidth_compute()
351 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
359 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
[all …]
H A Ddce3_1_afmt.c117 struct radeon_crtc *crtc, unsigned int clock) in dce3_2_audio_set_dto() argument
126 if (!crtc) in dce3_2_audio_set_dto()
129 radeon_encoder = to_radeon_encoder(crtc->encoder); in dce3_2_audio_set_dto()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpll.h20 struct intel_crtc *crtc);
22 struct intel_crtc *crtc);
H A Dintel_dp.c1815 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_dp_compute_link_config() local
1955 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dp_compute_vsc_colorimetry() local
3913 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dp_phy_pattern_update() local
4289 crtc = to_intel_crtc(conn_state->crtc); in intel_dp_get_active_pipes()
4290 if (!crtc) in intel_dp_get_active_pipes()
4423 crtc = to_intel_crtc(conn_state->crtc); in intel_dp_prep_phy_test()
4424 if (!crtc) in intel_dp_prep_phy_test()
5152 crtc = to_intel_crtc(conn_state->crtc); in intel_modeset_tile_group()
5154 if (!crtc) in intel_modeset_tile_group()
5218 crtc = to_intel_crtc(old_conn_state->crtc); in intel_modeset_synced_crtcs()
[all …]
H A Dintel_psr.h26 struct intel_crtc *crtc);
48 struct intel_crtc *crtc);
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_vtg.c140 struct drm_crtc *crtc; member
341 struct drm_crtc *crtc) in sti_vtg_register_client() argument
343 vtg->crtc = crtc; in sti_vtg_register_client()
360 raw_notifier_call_chain(&vtg->notifier_list, event, vtg->crtc); in vtg_irq_thread()
H A Dsti_hqvdp.c1028 struct drm_crtc *crtc = new_plane_state->crtc; in sti_hqvdp_atomic_check() local
1036 if (!crtc || !fb) in sti_hqvdp_atomic_check()
1039 crtc_state = drm_atomic_get_crtc_state(state, crtc); in sti_hqvdp_atomic_check()
1094 crtc)) { in sti_hqvdp_atomic_check()
1103 crtc->base.id, sti_mixer_to_str(to_sti_mixer(crtc)), in sti_hqvdp_atomic_check()
1122 struct drm_crtc *crtc = newstate->crtc; in sti_hqvdp_atomic_update() local
1132 if (!crtc || !fb) in sti_hqvdp_atomic_update()
1150 mode = &crtc->mode; in sti_hqvdp_atomic_update()
1254 if (!oldstate->crtc) { in sti_hqvdp_atomic_disable()
1261 oldstate->crtc->base.id, in sti_hqvdp_atomic_disable()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_framebuffer.c997 if (disable_crtcs && plane_state->crtc->primary == plane) { in atomic_remove_fb()
1002 plane_state->crtc->base.id, in atomic_remove_fb()
1003 plane_state->crtc->name, fb->base.id); in atomic_remove_fb()
1005 crtc_state = drm_atomic_get_existing_crtc_state(state, plane_state->crtc); in atomic_remove_fb()
1007 ret = drm_atomic_add_affected_connectors(state, plane_state->crtc); in atomic_remove_fb()
1060 struct drm_crtc *crtc; in legacy_remove_fb() local
1065 drm_for_each_crtc(crtc, dev) { in legacy_remove_fb()
1066 if (crtc->primary->fb == fb) { in legacy_remove_fb()
1069 crtc->base.id, crtc->name, fb->base.id); in legacy_remove_fb()
1072 if (drm_crtc_force_disable(crtc)) in legacy_remove_fb()
[all …]
H A Ddrm_of.c199 struct drm_crtc *crtc = encoder->crtc; in drm_of_encoder_active_endpoint() local
203 if (!node || !crtc) in drm_of_encoder_active_endpoint()
209 if (port == crtc->port) { in drm_of_encoder_active_endpoint()
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c419 struct drm_crtc *crtc = state->base.crtc; in atmel_hlcdc_plane_update_clut() local
423 if (!crtc || !crtc->state) in atmel_hlcdc_plane_update_clut()
426 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in atmel_hlcdc_plane_update_clut()
429 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in atmel_hlcdc_plane_update_clut()
528 primary = drm_plane_to_atmel_hlcdc_plane(c_state->crtc->primary); in atmel_hlcdc_plane_prepare_disc_area()
544 if (ovl == c_state->crtc->primary) in atmel_hlcdc_plane_prepare_disc_area()
610 if (!hstate->base.crtc || WARN_ON(!fb)) in atmel_hlcdc_plane_atomic_check()
613 crtc_state = drm_atomic_get_existing_crtc_state(state, s->crtc); in atmel_hlcdc_plane_atomic_check()
744 if (!new_s->crtc || !new_s->fb) in atmel_hlcdc_plane_atomic_update()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.h188 struct drm_crtc *crtc = to_drm_crtc(nv_crtc); in nouveau_crtc_connector_get() local
192 if (connector->encoder && connector->encoder->crtc == crtc) { in nouveau_crtc_connector_get()
H A Dnouveau_display.c49 nouveau_display_vblank_enable(struct drm_crtc *crtc) in nouveau_display_vblank_enable() argument
53 nv_crtc = nouveau_crtc(crtc); in nouveau_display_vblank_enable()
60 nouveau_display_vblank_disable(struct drm_crtc *crtc) in nouveau_display_vblank_disable() argument
64 nv_crtc = nouveau_crtc(crtc); in nouveau_display_vblank_disable()
83 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument
86 struct drm_vblank_crtc *vblank = &crtc->dev->vblank[drm_crtc_index(crtc)]; in nouveau_display_scanoutpos_head()
87 struct nvif_head *head = &nouveau_crtc(crtc)->head; in nouveau_display_scanoutpos_head()
116 nouveau_display_scanoutpos(struct drm_crtc *crtc, in nouveau_display_scanoutpos() argument
121 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dsimpledrm.c243 struct drm_crtc crtc; member
548 static enum drm_mode_status simpledrm_crtc_helper_mode_valid(struct drm_crtc *crtc, in simpledrm_crtc_helper_mode_valid() argument
551 struct simpledrm_device *sdev = simpledrm_device_of_dev(crtc->dev); in simpledrm_crtc_helper_mode_valid()
553 return drm_crtc_helper_mode_valid_fixed(crtc, mode, &sdev->mode); in simpledrm_crtc_helper_mode_valid()
633 struct drm_crtc *crtc; in simpledrm_device_create() local
808 crtc = &sdev->crtc; in simpledrm_device_create()
809 ret = drm_crtc_init_with_planes(dev, crtc, primary_plane, NULL, in simpledrm_device_create()
813 drm_crtc_helper_add(crtc, &simpledrm_crtc_helper_funcs); in simpledrm_device_create()
822 encoder->possible_crtcs = drm_crtc_mask(crtc); in simpledrm_device_create()
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_kms.c95 struct drm_crtc *crtc; in mdp4_wait_flush() local
97 for_each_crtc_mask(mdp4_kms->dev, crtc, crtc_mask) in mdp4_wait_flush()
98 mdp4_crtc_wait_for_commit_done(crtc); in mdp4_wait_flush()
286 struct drm_crtc *crtc; in modeset_init() local
326 crtc = mdp4_crtc_init(dev, plane, priv->num_crtcs, i, in modeset_init()
328 if (IS_ERR(crtc)) { in modeset_init()
331 ret = PTR_ERR(crtc); in modeset_init()
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.h69 static inline struct sprd_dpu *to_sprd_crtc(struct drm_crtc *crtc) in to_sprd_crtc() argument
71 return container_of(crtc, struct sprd_dpu, base); in to_sprd_crtc()
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder.h46 struct drm_crtc *crtc);
56 struct drm_crtc *crtc, bool enable);
/openbmc/linux/drivers/video/fbdev/aty/
H A Dmach64_accel.c142 aty_st_le32(SC_BOTTOM, par->crtc.vyres - 1, par); in aty_init_engine()
171 aty_st_le32(DP_PIX_WIDTH, par->crtc.dp_pix_width, par); in aty_init_engine()
172 aty_st_le32(DP_CHAIN_MASK, par->crtc.dp_chain_mask, par); in aty_init_engine()
239 aty_st_le32(DP_PIX_WIDTH, par->crtc.dp_pix_width, par); in atyfb_copyarea()
276 aty_st_le32(DP_PIX_WIDTH, par->crtc.dp_pix_width, par); in atyfb_fillrect()
303 pix_width = par->crtc.dp_pix_width; in atyfb_imageblit()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mode.h265 u32 (*vblank_get_counter)(struct amdgpu_device *adev, int crtc);
279 int (*page_flip_get_scanoutpos)(struct amdgpu_device *adev, int crtc,
594 bool amdgpu_display_crtc_scaling_mode_fixup(struct drm_crtc *crtc,
599 int amdgpu_display_crtc_idx_to_irq_type(struct amdgpu_device *adev, int crtc);
601 bool amdgpu_crtc_get_scanout_position(struct drm_crtc *crtc,
611 int amdgpu_display_crtc_page_flip_target(struct drm_crtc *crtc,
/openbmc/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_core.c1164 if (!conn_state->crtc) in analogix_dp_atomic_check()
1286 return conn_state->crtc; in analogix_dp_get_old_crtc()
1305 return conn_state->crtc; in analogix_dp_get_new_crtc()
1314 struct drm_crtc *crtc; in analogix_dp_bridge_atomic_pre_enable() local
1318 crtc = analogix_dp_get_new_crtc(dp, old_state); in analogix_dp_bridge_atomic_pre_enable()
1319 if (!crtc) in analogix_dp_bridge_atomic_pre_enable()
1393 struct drm_crtc *crtc; in analogix_dp_bridge_atomic_enable() local
1399 if (!crtc) in analogix_dp_bridge_atomic_enable()
1509 struct drm_crtc *crtc; in analogix_dp_bridge_atomic_post_disable() local
1514 if (!crtc) in analogix_dp_bridge_atomic_post_disable()
[all …]
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_crtc.h37 struct drm_crtc crtc; member
71 #define drm_to_armada_crtc(c) container_of(c, struct armada_crtc, crtc)
/openbmc/linux/drivers/gpu/drm/kmb/
H A Dkmb_drv.h54 struct drm_crtc crtc; member
74 return container_of(x, struct kmb_drm_private, crtc); in crtc_to_kmb_priv()
/openbmc/linux/drivers/gpu/drm/arm/
H A Dmalidp_drv.h34 struct drm_crtc crtc; member
49 #define crtc_to_malidp_device(x) container_of(x, struct malidp_drm, crtc)
/openbmc/linux/drivers/gpu/drm/gma500/
H A Doaktrail_hdmi.c178 static void oaktrail_hdmi_find_dpll(struct drm_crtc *crtc, int target, in oaktrail_hdmi_find_dpll() argument
263 int oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_hdmi_mode_set() argument
269 struct drm_device *dev = crtc->dev; in oaktrail_crtc_hdmi_mode_set()
308 oaktrail_hdmi_find_dpll(crtc, adjusted_mode->clock, refclk, &clock); in oaktrail_crtc_hdmi_mode_set()
354 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in oaktrail_crtc_hdmi_mode_set()
355 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
383 void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_hdmi_dpms() argument
385 struct drm_device *dev = crtc->dev; in oaktrail_crtc_hdmi_dpms()
471 gma_crtc_load_lut(crtc); in oaktrail_crtc_hdmi_dpms()

1...<<11121314151617181920>>...26