Home
last modified time | relevance | path

Searched refs:crtc (Results 276 – 300 of 636) sorted by relevance

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

/openbmc/linux/arch/x86/boot/
H A Dvideo-bios.c69 u16 crtc; in bios_probe() local
77 crtc = vga_crtc(); in bios_probe()
102 if (in_idx(crtc, 0x0f)) in bios_probe()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_atomic_plane.h32 struct intel_crtc *crtc);
49 struct intel_crtc *crtc);
51 struct intel_crtc *crtc);
H A Dintel_display_debugfs.h16 void intel_crtc_debugfs_add(struct intel_crtc *crtc);
20 static inline void intel_crtc_debugfs_add(struct intel_crtc *crtc) {} in intel_crtc_debugfs_add() argument
H A Dintel_overlay.c186 struct intel_crtc *crtc; member
381 overlay->crtc->overlay = NULL; in intel_overlay_off_tail()
382 overlay->crtc = NULL; in intel_overlay_off_tail()
497 overlay->crtc = NULL; in intel_overlay_reset()
817 overlay->crtc->config; in intel_overlay_do_put_image()
925 if (!crtc->active) in check_overlay_possible_on_crtc()
966 overlay->crtc->config; in check_overlay_dst()
1116 struct intel_crtc *crtc; in intel_overlay_put_image_ioctl() local
1156 if (overlay->crtc != crtc) { in intel_overlay_put_image_ioctl()
1165 overlay->crtc = crtc; in intel_overlay_put_image_ioctl()
[all …]
H A Dintel_pmdemand.c150 struct intel_crtc *crtc; in intel_pmdemand_update_max_ddiclk() local
153 for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) in intel_pmdemand_update_max_ddiclk()
155 crtc->pipe, in intel_pmdemand_update_max_ddiclk()
172 struct intel_crtc *crtc = to_intel_crtc(conn_state->crtc); in intel_pmdemand_update_connector_phys() local
175 if (!crtc) in intel_pmdemand_update_connector_phys()
179 crtc_state = intel_atomic_get_new_crtc_state(state, crtc); in intel_pmdemand_update_connector_phys()
181 crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_pmdemand_update_connector_phys()
271 struct intel_crtc *crtc; in intel_pmdemand_needs_update() local
298 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_pmdemand_needs_update()
/openbmc/linux/include/drm/
H A Ddrm_self_refresh_helper.h19 int drm_self_refresh_helper_init(struct drm_crtc *crtc);
20 void drm_self_refresh_helper_cleanup(struct drm_crtc *crtc);
H A Ddrm_atomic_uapi.h49 struct drm_crtc *crtc);
54 struct drm_crtc *crtc);
H A Ddrm_debugfs_crc.h64 int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame,
67 static inline int drm_crtc_add_crc_entry(struct drm_crtc *crtc, bool has_frame, in drm_crtc_add_crc_entry() argument
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c116 struct drm_crtc *crtc; in nv04_dfp_update_fp_control() local
121 nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_update_fp_control()
135 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_dfp_update_fp_control()
136 nv_crtc = nouveau_crtc(crtc); in nv04_dfp_update_fp_control()
250 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dfp_prepare()
287 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_mode_set()
294 const struct drm_framebuffer *fb = encoder->crtc->primary->fb; in nv04_dfp_mode_set()
451 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_commit()
454 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dfp_commit()
517 struct drm_crtc *crtc = encoder->crtc; in nv04_lvds_dpms() local
[all …]
H A Dtvnv17.c409 int head = nouveau_crtc(encoder->crtc)->index; in nv17_tv_prepare()
430 !enc->crtc && in nv17_tv_prepare()
470 int head = nouveau_crtc(encoder->crtc)->index; in nv17_tv_mode_set()
583 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv17_tv_commit()
696 struct drm_crtc *crtc = encoder->crtc; in nv17_tv_set_property() local
703 if (encoder->crtc) { in nv17_tv_set_property()
729 if (encoder->crtc) in nv17_tv_set_property()
756 if (crtc) in nv17_tv_set_property()
757 drm_crtc_helper_set_mode(crtc, &crtc->mode, in nv17_tv_set_property()
758 crtc->x, crtc->y, in nv17_tv_set_property()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_kms.c245 struct drm_crtc *crtc; in radeon_info_ioctl() local
275 crtc = (struct drm_crtc *)minfo->crtcs[i]; in radeon_info_ioctl()
276 if (crtc && crtc->base.id == *value) { in radeon_info_ioctl()
763 struct drm_device *dev = crtc->dev; in radeon_get_vblank_counter_kms()
764 unsigned int pipe = crtc->index; in radeon_get_vblank_counter_kms()
831 int radeon_enable_vblank_kms(struct drm_crtc *crtc) in radeon_enable_vblank_kms() argument
833 struct drm_device *dev = crtc->dev; in radeon_enable_vblank_kms()
834 unsigned int pipe = crtc->index; in radeon_enable_vblank_kms()
858 void radeon_disable_vblank_kms(struct drm_crtc *crtc) in radeon_disable_vblank_kms() argument
860 struct drm_device *dev = crtc->dev; in radeon_disable_vblank_kms()
[all …]
H A Dradeon_irq_kms.c449 void radeon_irq_kms_pflip_irq_get(struct radeon_device *rdev, int crtc) in radeon_irq_kms_pflip_irq_get() argument
453 if (crtc < 0 || crtc >= rdev->num_crtc) in radeon_irq_kms_pflip_irq_get()
459 if (atomic_inc_return(&rdev->irq.pflip[crtc]) == 1) { in radeon_irq_kms_pflip_irq_get()
475 void radeon_irq_kms_pflip_irq_put(struct radeon_device *rdev, int crtc) in radeon_irq_kms_pflip_irq_put() argument
479 if (crtc < 0 || crtc >= rdev->num_crtc) in radeon_irq_kms_pflip_irq_put()
485 if (atomic_dec_and_test(&rdev->irq.pflip[crtc])) { in radeon_irq_kms_pflip_irq_put()
H A Drv515.c685 WREG32(0x659C + crtc->crtc_offset, 0x0); in atom_rv515_force_tv_scaler()
688 WREG32(0x65D8 + crtc->crtc_offset, 0x0); in atom_rv515_force_tv_scaler()
689 WREG32(0x65B0 + crtc->crtc_offset, 0x0); in atom_rv515_force_tv_scaler()
690 WREG32(0x65C0 + crtc->crtc_offset, 0x0); in atom_rv515_force_tv_scaler()
924 struct radeon_crtc *crtc, in rv515_crtc_bandwidth_compute() argument
935 if (!crtc->base.enabled) { in rv515_crtc_bandwidth_compute()
953 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute()
979 if (crtc->rmx_type != RMX_OFF) { in rv515_crtc_bandwidth_compute()
981 if (crtc->vsc.full > b.full) in rv515_crtc_bandwidth_compute()
982 b.full = crtc->vsc.full; in rv515_crtc_bandwidth_compute()
[all …]
H A Devergreen_hdmi.c75 if (encoder->crtc) { in evergreen_hdmi_update_acr()
76 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in evergreen_hdmi_update_acr()
229 struct radeon_crtc *crtc, unsigned int clock) in dce4_hdmi_audio_set_dto() argument
258 if (crtc) in dce4_hdmi_audio_set_dto()
259 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce4_hdmi_audio_set_dto()
272 struct radeon_crtc *crtc, unsigned int clock) in dce4_dp_audio_set_dto() argument
284 if (crtc) in dce4_dp_audio_set_dto()
285 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce4_dp_audio_set_dto()
H A Ddce6_afmt.c270 struct radeon_crtc *crtc, unsigned int clock) in dce6_hdmi_audio_set_dto() argument
275 if (crtc) in dce6_hdmi_audio_set_dto()
276 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_hdmi_audio_set_dto()
289 struct radeon_crtc *crtc, unsigned int clock) in dce6_dp_audio_set_dto() argument
295 if (crtc) in dce6_dp_audio_set_dto()
296 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_dp_audio_set_dto()
/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_modeset.c314 static void udl_crtc_helper_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) in udl_crtc_helper_atomic_enable() argument
316 struct drm_device *dev = crtc->dev; in udl_crtc_helper_atomic_enable()
317 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in udl_crtc_helper_atomic_enable()
348 static void udl_crtc_helper_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) in udl_crtc_helper_atomic_disable() argument
350 struct drm_device *dev = crtc->dev; in udl_crtc_helper_atomic_disable()
553 struct drm_crtc *crtc; in udl_modeset_init() local
581 crtc = &udl->crtc; in udl_modeset_init()
582 ret = drm_crtc_init_with_planes(dev, crtc, primary_plane, NULL, in udl_modeset_init()
586 drm_crtc_helper_add(crtc, &udl_crtc_helper_funcs); in udl_modeset_init()
592 encoder->possible_crtcs = drm_crtc_mask(crtc); in udl_modeset_init()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vkms.h13 container_of(target, struct amdgpu_vkms_output, crtc.base)
18 struct amdgpu_crtc crtc; member
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_rgb.h10 struct drm_crtc *crtc,
16 struct drm_crtc *crtc, in rockchip_rgb_init() argument
/openbmc/linux/drivers/video/fbdev/
H A Duvesafb.c1247 if (!crtc) { in uvesafb_set_par()
1252 crtc->horiz_end = crtc->horiz_start + info->var.hsync_len; in uvesafb_set_par()
1253 crtc->horiz_total = crtc->horiz_end + info->var.left_margin; in uvesafb_set_par()
1256 crtc->vert_end = crtc->vert_start + info->var.vsync_len; in uvesafb_set_par()
1260 crtc->refresh_rate = (u16)(100 * (crtc->pixel_clock / in uvesafb_set_par()
1261 (crtc->vert_total * crtc->horiz_total))); in uvesafb_set_par()
1271 memcpy(&par->crtc, crtc, sizeof(*crtc)); in uvesafb_set_par()
1273 memset(&par->crtc, 0, sizeof(*crtc)); in uvesafb_set_par()
1289 kfree(crtc); in uvesafb_set_par()
1290 crtc = NULL; in uvesafb_set_par()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.c158 struct drm_crtc *crtc; member
171 kms->funcs->enable_vblank(kms, vbl_work->crtc); in vblank_ctrl_worker()
179 struct drm_crtc *crtc, bool enable) in vblank_ctrl_queue_work() argument
189 vbl_work->crtc = crtc; in vblank_ctrl_queue_work()
410 struct drm_crtc *crtc; in msm_drm_init() local
498 drm_for_each_crtc(crtc, ddev) { in msm_drm_init()
643 struct drm_device *dev = crtc->dev; in msm_crtc_enable_vblank()
648 drm_dbg_vbl(dev, "crtc=%u", crtc->base.id); in msm_crtc_enable_vblank()
654 struct drm_device *dev = crtc->dev; in msm_crtc_disable_vblank()
659 drm_dbg_vbl(dev, "crtc=%u", crtc->base.id); in msm_crtc_disable_vblank()
[all …]
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_overlay.c84 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_overlay_plane_atomic_update()
89 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_overlay_plane_atomic_update()
93 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_overlay_plane_atomic_update()
114 new_state->crtc->state->mode_changed) { in armada_drm_overlay_plane_atomic_update()
232 if (!old_state->crtc) in armada_drm_overlay_plane_atomic_disable()
237 old_state->crtc->base.id, old_state->crtc->name, in armada_drm_overlay_plane_atomic_disable()
240 dcrtc = drm_to_armada_crtc(old_state->crtc); in armada_drm_overlay_plane_atomic_disable()
258 armada_overlay_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, in armada_overlay_plane_update() argument
268 trace_armada_ovl_plane_update(plane, crtc, fb, in armada_overlay_plane_update()
283 ret = drm_atomic_set_crtc_for_plane(plane_state, crtc); in armada_overlay_plane_update()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c257 crtc); in dm_vblank_get_counter()
270 if ((crtc < 0) || (crtc >= adev->mode_info.num_crtc)) in dm_crtc_get_scanoutpos()
277 crtc); in dm_crtc_get_scanoutpos()
6772 struct drm_crtc *crtc = new_con_state->crtc; in amdgpu_dm_connector_atomic_check() local
8132 if (!fb || !crtc || pcrtc != crtc) in amdgpu_dm_commit_planes()
9197 crtc->base.id, crtc->name); in do_aquire_global_lock()
10002 if (new_underlying_state->crtc != crtc || underlying == crtc->cursor) in dm_check_crtc_cursor()
10042 if (conn_state->crtc != crtc) in add_affected_mst_dsc_crtcs()
10190 if (new_plane_state->crtc == crtc || in amdgpu_dm_atomic_check()
10191 old_plane_state->crtc == crtc) { in amdgpu_dm_atomic_check()
[all …]
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dcdv_device.h19 struct drm_crtc *crtc);
20 extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc);
/openbmc/linux/drivers/video/fbdev/nvidia/
H A Dnvidia.c227 state->crtc[i] = NVReadCrtc(par, i); in nvidia_save_vga()
272 NVWriteCrtc(par, i, state->crtc[i]); in nvidia_write_regs()
331 state->crtc[0x0] = Set8Bits(h_total); in nvidia_calc_regs()
332 state->crtc[0x1] = Set8Bits(h_display); in nvidia_calc_regs()
333 state->crtc[0x2] = Set8Bits(h_blank_s); in nvidia_calc_regs()
336 state->crtc[0x4] = Set8Bits(h_start); in nvidia_calc_regs()
351 state->crtc[0x10] = Set8Bits(v_start); in nvidia_calc_regs()
505 state->crtc[0x0a] = 0x20; in nvidia_init_vga()
506 state->crtc[0x17] = 0xe3; in nvidia_init_vga()
507 state->crtc[0x18] = 0xff; in nvidia_init_vga()
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_rgb.c62 static enum drm_mode_status sun4i_rgb_mode_valid(struct drm_encoder *crtc, in sun4i_rgb_mode_valid() argument
65 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(crtc); in sun4i_rgb_mode_valid()
218 rgb->encoder.possible_crtcs = drm_crtc_mask(&tcon->crtc->crtc); in sun4i_rgb_init()

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