Home
last modified time | relevance | path

Searched refs:crtc_id (Results 1 – 25 of 72) sorted by relevance

123

/linux/drivers/gpu/drm/amd/amdgpu/
A Datombios_crtc.c52 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup()
124 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_lock()
140 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_enable()
244 int crtc_id, in amdgpu_atombios_crtc_program_ss() argument
265 i != crtc_id && in amdgpu_atombios_crtc_program_ss()
577 u32 crtc_id, in amdgpu_atombios_crtc_program_pll() argument
614 args.v1.ucCRTC = crtc_id; in amdgpu_atombios_crtc_program_pll()
624 args.v2.ucCRTC = crtc_id; in amdgpu_atombios_crtc_program_pll()
634 if (crtc_id == ATOM_CRTC2) in amdgpu_atombios_crtc_program_pll()
644 args.v5.ucCRTC = crtc_id; in amdgpu_atombios_crtc_program_pll()
[all …]
A Ddce_v8_0.c185 int crtc_id, u64 crtc_base, bool async) in dce_v8_0_page_flip() argument
537 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v8_0_line_buffer_adjust()
2025 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v8_0_crtc_load_lut()
2420 amdgpu_crtc->crtc_id); in dce_v8_0_crtc_dpms()
2487 i != amdgpu_crtc->crtc_id && in dce_v8_0_crtc_disable()
2615 amdgpu_crtc->crtc_id = index; in dce_v8_0_crtc_init()
3115 unsigned crtc_id; in dce_v8_0_pageflip_irq() local
3119 crtc_id = (entry->src_id - 8) >> 1; in dce_v8_0_pageflip_irq()
3120 amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v8_0_pageflip_irq()
3122 if (crtc_id >= adev->mode_info.num_crtc) { in dce_v8_0_pageflip_irq()
[all …]
A Ddce_v6_0.c192 int crtc_id, u64 crtc_base, bool async) in dce_v6_0_page_flip() argument
996 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v6_0_line_buffer_adjust()
2054 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v6_0_crtc_load_lut()
2410 amdgpu_crtc->crtc_id); in dce_v6_0_crtc_dpms()
2475 i != amdgpu_crtc->crtc_id && in dce_v6_0_crtc_disable()
2596 amdgpu_crtc->crtc_id = index; in dce_v6_0_crtc_init()
3023 unsigned crtc_id; in dce_v6_0_pageflip_irq() local
3027 crtc_id = (entry->src_id - 8) >> 1; in dce_v6_0_pageflip_irq()
3028 amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v6_0_pageflip_irq()
3030 if (crtc_id >= adev->mode_info.num_crtc) { in dce_v6_0_pageflip_irq()
[all …]
A Ddce_v10_0.c237 int crtc_id, u64 crtc_base, bool async) in dce_v10_0_page_flip() argument
600 u32 pipe_offset = amdgpu_crtc->crtc_id; in dce_v10_0_line_buffer_adjust()
1560 amdgpu_crtc->crtc_id); in dce_v10_0_audio_set_dto()
2119 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v10_0_crtc_load_lut()
2515 amdgpu_crtc->crtc_id); in dce_v10_0_crtc_dpms()
2582 i != amdgpu_crtc->crtc_id && in dce_v10_0_crtc_disable()
2703 amdgpu_crtc->crtc_id = index; in dce_v10_0_crtc_init()
2711 switch (amdgpu_crtc->crtc_id) { in dce_v10_0_crtc_init()
3142 unsigned crtc_id; in dce_v10_0_pageflip_irq() local
3146 crtc_id = (entry->src_id - 8) >> 1; in dce_v10_0_pageflip_irq()
[all …]
A Ddce_v11_0.c255 int crtc_id, u64 crtc_base, bool async) in dce_v11_0_page_flip() argument
626 u32 pipe_offset = amdgpu_crtc->crtc_id; in dce_v11_0_line_buffer_adjust()
1602 amdgpu_crtc->crtc_id); in dce_v11_0_audio_set_dto()
2161 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v11_0_crtc_load_lut()
2591 amdgpu_crtc->crtc_id); in dce_v11_0_crtc_dpms()
2658 i != amdgpu_crtc->crtc_id && in dce_v11_0_crtc_disable()
2808 amdgpu_crtc->crtc_id = index; in dce_v11_0_crtc_init()
2816 switch (amdgpu_crtc->crtc_id) { in dce_v11_0_crtc_init()
3265 unsigned crtc_id; in dce_v11_0_pageflip_irq() local
3269 crtc_id = (entry->src_id - 8) >> 1; in dce_v11_0_pageflip_irq()
[all …]
A Datombios_crtc.h43 u32 crtc_id,
/linux/include/uapi/drm/
A Ddrm_mode.h281 __u32 crtc_id; /**< Id */ member
298 __u32 crtc_id; member
337 __u32 crtc_id; member
379 __u32 crtc_id; /**< Id of crtc */ member
769 __u32 crtc_id; member
780 __u32 crtc_id; member
792 __u32 crtc_id; member
941 __u32 crtc_id; member
969 __u32 crtc_id; member
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_irq.c701 unsigned crtc_id, in dm_irq_state() argument
715 crtc_id); in dm_irq_state()
732 unsigned crtc_id, in amdgpu_dm_set_pflip_irq_state() argument
738 crtc_id, in amdgpu_dm_set_pflip_irq_state()
746 unsigned crtc_id, in amdgpu_dm_set_crtc_irq_state() argument
752 crtc_id, in amdgpu_dm_set_crtc_irq_state()
760 unsigned int crtc_id, in amdgpu_dm_set_vline0_irq_state() argument
766 crtc_id, in amdgpu_dm_set_vline0_irq_state()
774 unsigned int crtc_id, in amdgpu_dm_set_dmub_outbox_irq_state() argument
786 unsigned int crtc_id, in amdgpu_dm_set_vupdate_irq_state() argument
[all …]
A Damdgpu_dm_trace.h110 __field(uint32_t, crtc_id)
129 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
150 __entry->commit, __entry->crtc_id, __entry->best_encoder_id,
166 __field(uint32_t, crtc_id)
187 __entry->crtc_id = state->crtc->base.id;
211 __entry->crtc_id, __entry->crtc_state, __entry->state,
230 __field(uint32_t, crtc_id)
259 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
291 __entry->state, __entry->crtc_id, __entry->fb_id,
/linux/drivers/gpu/drm/radeon/
A Datombios_crtc.c51 args.ucCRTC = radeon_crtc->crtc_id; in atombios_overscan_setup()
446 int crtc_id, in atombios_crtc_program_ss() argument
467 i != crtc_id && in atombios_crtc_program_ss()
823 u32 crtc_id, in atombios_crtc_program_pll() argument
860 args.v1.ucCRTC = crtc_id; in atombios_crtc_program_pll()
870 args.v2.ucCRTC = crtc_id; in atombios_crtc_program_pll()
880 if (crtc_id == ATOM_CRTC2) in atombios_crtc_program_pll()
890 args.v5.ucCRTC = crtc_id; in atombios_crtc_program_pll()
1598 if (radeon_crtc->crtc_id == 0) in avivo_crtc_do_set_base()
1609 if (radeon_crtc->crtc_id) { in avivo_crtc_do_set_base()
[all …]
A Dradeon_legacy_crtc.c305 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
330 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
337 if (dev->num_crtcs > radeon_crtc->crtc_id) in radeon_crtc_dpms()
346 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
533 if (radeon_crtc->crtc_id == 1) in radeon_crtc_do_set_base()
549 if (radeon_crtc->crtc_id) in radeon_crtc_do_set_base()
650 if (radeon_crtc->crtc_id) { in radeon_set_crtc_timing()
773 if (radeon_crtc->crtc_id) in radeon_set_pll()
853 if (radeon_crtc->crtc_id) { in radeon_set_pll()
1047 if (radeon_crtc->crtc_id == 0) { in radeon_crtc_mode_set()
[all …]
A Dradeon_display.c57 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in avivo_crtc_load_lut()
68 WREG32(AVIVO_DC_LUT_RW_SELECT, radeon_crtc->crtc_id); in avivo_crtc_load_lut()
95 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in dce4_crtc_load_lut()
129 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in dce5_crtc_load_lut()
203 if (radeon_crtc->crtc_id == 0) in legacy_crtc_load_lut()
337 radeon_get_crtc_scanoutpos(rdev->ddev, crtc_id, in radeon_crtc_handle_vblank()
352 radeon_crtc_handle_flip(rdev, crtc_id); in radeon_crtc_handle_vblank()
395 radeon_irq_kms_pflip_irq_put(rdev, work->crtc_id); in radeon_crtc_handle_flip()
454 (radeon_get_crtc_scanoutpos(dev, work->crtc_id, 0, in radeon_flip_work_func()
504 work->crtc_id = radeon_crtc->crtc_id; in radeon_crtc_page_flip_target()
[all …]
A Dradeon_legacy_encoders.c228 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_lvds_mode_set()
249 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_lvds_mode_set()
251 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_lvds_mode_set()
597 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_primary_dac_mode_set()
639 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_primary_dac_mode_set()
855 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_int_mode_set()
879 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_tmds_int_mode_set()
991 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_ext_mode_set()
1236 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tv_dac_mode_set()
1263 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tv_dac_mode_set()
[all …]
A Dradeon_cursor.c76 switch (radeon_crtc->crtc_id) { in radeon_hide_cursor()
109 if (radeon_crtc->crtc_id) in radeon_show_cursor()
127 switch (radeon_crtc->crtc_id) { in radeon_show_cursor()
305 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, radeon_crtc->crtc_id); in radeon_crtc_cursor_set2()
A Drs780_dpm.h48 int crtc_id; member
A Ddce6_afmt.c276 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_hdmi_audio_set_dto()
296 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_dp_audio_set_dto()
/linux/drivers/gpu/drm/sti/
A Dsti_compositor.c65 unsigned int i, mixer_id = 0, vid_id = 0, crtc_id = 0; in sti_compositor_bind() local
102 if (crtc_id < mixer_id) in sti_compositor_bind()
138 if (crtc_id < mixer_id && primary) { in sti_compositor_bind()
139 sti_crtc_init(drm_dev, compo->mixer[crtc_id], in sti_compositor_bind()
141 crtc_id++; in sti_compositor_bind()
147 drm_vblank_init(drm_dev, crtc_id); in sti_compositor_bind()
/linux/drivers/gpu/drm/vboxvideo/
A Dvbox_irq.c116 unsigned int crtc_id; in vbox_update_mode_hints() local
133 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
138 crtc_id = vbox_conn->vbox_crtc->crtc_id; in vbox_update_mode_hints()
153 hgsmi_process_display_info(vbox->guest_pool, crtc_id, 0, 0, 0, in vbox_update_mode_hints()
A Dvbox_mode.c56 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset()
73 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
102 p->view_index = vbox_crtc->crtc_id; in vbox_set_view()
105 vbox_crtc->crtc_id * VBVA_MIN_BUFFER_SIZE; in vbox_set_view()
302 unsigned int crtc_id = to_vbox_crtc(crtc)->crtc_id; in vbox_primary_atomic_update() local
309 if (!vbva_buffer_begin_update(&vbox->vbva_info[crtc_id], in vbox_primary_atomic_update()
313 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_primary_atomic_update()
315 vbva_buffer_end_update(&vbox->vbva_info[crtc_id]); in vbox_primary_atomic_update()
582 vbox_crtc->crtc_id = i; in vbox_crtc_init()
717 if (vbox_connector->vbox_crtc->crtc_id == 0) in vbox_get_modes()
/linux/drivers/gpu/drm/amd/display/dc/bios/
A Dcommand_table2.c480 clk.crtc_id = controller_id; in set_pixel_clock_v7()
584 params.crtc_id = atom_controller_id; in set_crtc_using_dtd_timing_v3()
702 params.crtc_id = id; in enable_crtc_v1()
771 enum controller_id crtc_id,
776 enum controller_id crtc_id,
818 enum controller_id crtc_id, in enable_disp_power_gating_v2_1() argument
827 if (bp->cmd_helper->controller_id_to_atom(crtc_id, &atom_crtc_id)) in enable_disp_power_gating_v2_1()
850 enum controller_id crtc_id, in enable_disp_power_gating_fallback() argument
855 return enable_disp_power_gating_v2_1(bp, crtc_id, action); in enable_disp_power_gating_fallback()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_trace.h95 TP_PROTO(u32 crtc_id),
96 TP_ARGS(crtc_id),
98 __field(u32, crtc_id)
101 __entry->crtc_id = crtc_id;
103 TP_printk("crtc:%d", __entry->crtc_id)
637 TP_PROTO(uint32_t crtc_id, uint32_t plane_id,
641 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx, sspp,
644 __field( uint32_t, crtc_id )
658 __entry->crtc_id = crtc_id;
675 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
/linux/drivers/gpu/drm/
A Ddrm_plane.c700 plane_resp->crtc_id = plane->state->crtc->base.id; in drm_mode_getplane()
702 plane_resp->crtc_id = plane->crtc->base.id; in drm_mode_getplane()
704 plane_resp->crtc_id = 0; in drm_mode_getplane()
989 crtc = drm_crtc_find(dev, file_priv, plane_req->crtc_id); in drm_mode_setplane()
993 plane_req->crtc_id); in drm_mode_setplane()
1111 crtc = drm_crtc_find(dev, file_priv, req->crtc_id); in drm_mode_cursor_common()
1113 DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id); in drm_mode_cursor_common()
1232 crtc = drm_crtc_find(dev, file_priv, page_flip->crtc_id); in drm_mode_page_flip_ioctl()
1347 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
A Ddrm_encoder.c295 enc_resp->crtc_id = crtc->base.id; in drm_mode_getencoder()
297 enc_resp->crtc_id = 0; in drm_mode_getencoder()
/linux/drivers/gpu/drm/msm/
A Dmsm_drv.c299 int crtc_id; member
312 kms->funcs->enable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
314 kms->funcs->disable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
320 int crtc_id, bool enable) in vblank_ctrl_queue_work() argument
330 vbl_work->crtc_id = crtc_id; in vblank_ctrl_queue_work()
628 priv->event_thread[i].crtc_id = priv->crtcs[i]->base.id; in msm_drm_init()
631 "crtc_event:%d", priv->event_thread[i].crtc_id); in msm_drm_init()
/linux/tools/include/uapi/drm/
A Ddrm.h930 __u32 crtc_id; /* requested crtc_id */ member
944 __u32 crtc_id; member
1139 __u32 crtc_id; /* 0 on older kernels that do not support this */ member

Completed in 84 milliseconds

123