Home
last modified time | relevance | path

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

123

/linux-6.1.9/include/uapi/drm/
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
801 __u32 crtc_id; member
812 __u32 crtc_id; member
824 __u32 crtc_id; member
973 __u32 crtc_id; member
1001 __u32 crtc_id; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c52 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup()
94 args.ucScaler = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_scaler_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()
156 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_blank()
172 args.ucDispPipeId = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_powergate()
230 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_set_dtd_timing()
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
[all …]
Ddce_v8_0.c185 int crtc_id, u64 crtc_base, bool async) in dce_v8_0_page_flip() argument
187 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v8_0_page_flip()
537 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v8_0_line_buffer_adjust()
1508 …WREG32(mmDCCG_AUDIO_DTO_SOURCE, (amdgpu_crtc->crtc_id << DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SO… in dce_v8_0_audio_set_dto()
1758 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v8_0_vga_enable()
1760 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v8_0_vga_enable()
1762 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v8_0_vga_enable()
2025 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v8_0_crtc_load_lut()
2297 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v8_0_crtc_cursor_set2()
2416 amdgpu_crtc->crtc_id); in dce_v8_0_crtc_dpms()
[all …]
Ddce_v6_0.c192 int crtc_id, u64 crtc_base, bool async) in dce_v6_0_page_flip() argument
194 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v6_0_page_flip()
996 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v6_0_line_buffer_adjust()
1504 DCCG_AUDIO_DTO0_SOURCE_SEL, amdgpu_crtc->crtc_id); in dce_v6_0_audio_set_dto()
1794 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v6_0_vga_enable()
1795 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | (enable ? 1 : 0)); in dce_v6_0_vga_enable()
2054 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v6_0_crtc_load_lut()
2294 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v6_0_crtc_cursor_set2()
2410 amdgpu_crtc->crtc_id); in dce_v6_0_crtc_dpms()
2475 i != amdgpu_crtc->crtc_id && in dce_v6_0_crtc_disable()
[all …]
Ddce_v10_0.c237 int crtc_id, u64 crtc_base, bool async) in dce_v10_0_page_flip() argument
239 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v10_0_page_flip()
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()
1829 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v10_0_vga_enable()
1831 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v10_0_vga_enable()
1833 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v10_0_vga_enable()
2119 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v10_0_crtc_load_lut()
2396 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v10_0_crtc_cursor_set2()
2515 amdgpu_crtc->crtc_id); in dce_v10_0_crtc_dpms()
[all …]
Datombios_crtc.h43 u32 crtc_id,
Ddce_v11_0.c255 int crtc_id, u64 crtc_base, bool async) in dce_v11_0_page_flip() argument
257 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v11_0_page_flip()
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()
1871 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v11_0_vga_enable()
1873 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v11_0_vga_enable()
1875 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v11_0_vga_enable()
2161 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v11_0_crtc_load_lut()
2472 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v11_0_crtc_cursor_set2()
2591 amdgpu_crtc->crtc_id); in dce_v11_0_crtc_dpms()
[all …]
/linux-6.1.9/drivers/gpu/drm/sti/
Dsti_compositor.c66 unsigned int i, mixer_id = 0, vid_id = 0, crtc_id = 0; in sti_compositor_bind() local
103 if (crtc_id < mixer_id) in sti_compositor_bind()
139 if (crtc_id < mixer_id && primary) { in sti_compositor_bind()
140 sti_crtc_init(drm_dev, compo->mixer[crtc_id], in sti_compositor_bind()
142 crtc_id++; in sti_compositor_bind()
148 drm_vblank_init(drm_dev, crtc_id); in sti_compositor_bind()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c701 unsigned crtc_id, in dm_irq_state() argument
709 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; in dm_irq_state()
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
[all …]
Damdgpu_dm_trace.h111 __field(uint32_t, crtc_id)
130 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
151 __entry->commit, __entry->crtc_id, __entry->best_encoder_id,
167 __field(uint32_t, crtc_id)
188 __entry->crtc_id = state->crtc->base.id;
212 __entry->crtc_id, __entry->crtc_state, __entry->state,
231 __field(uint32_t, crtc_id)
260 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
292 __entry->state, __entry->crtc_id, __entry->fb_id,
/linux-6.1.9/drivers/gpu/drm/vboxvideo/
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()
Dvbox_mode.c58 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset()
75 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
104 p->view_index = vbox_crtc->crtc_id; in vbox_set_view()
107 vbox_crtc->crtc_id * VBVA_MIN_BUFFER_SIZE; in vbox_set_view()
304 unsigned int crtc_id = to_vbox_crtc(crtc)->crtc_id; in vbox_primary_atomic_update() local
311 if (!vbva_buffer_begin_update(&vbox->vbva_info[crtc_id], in vbox_primary_atomic_update()
315 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_primary_atomic_update()
317 vbva_buffer_end_update(&vbox->vbva_info[crtc_id]); in vbox_primary_atomic_update()
584 vbox_crtc->crtc_id = i; in vbox_crtc_init()
719 if (vbox_connector->vbox_crtc->crtc_id == 0) in vbox_get_modes()
/linux-6.1.9/drivers/gpu/drm/radeon/
Datombios_crtc.c52 args.ucCRTC = radeon_crtc->crtc_id; in atombios_overscan_setup()
97 if (!ASIC_IS_AVIVO(rdev) && radeon_crtc->crtc_id) in atombios_scaler_setup()
108 args.ucScaler = radeon_crtc->crtc_id; in atombios_scaler_setup()
179 args.ucCRTC = radeon_crtc->crtc_id; in atombios_lock_crtc()
195 args.ucCRTC = radeon_crtc->crtc_id; in atombios_enable_crtc()
211 args.ucCRTC = radeon_crtc->crtc_id; in atombios_enable_crtc_memreq()
239 vga_control = RREG32(vga_control_regs[radeon_crtc->crtc_id]); in atombios_blank_crtc()
240 WREG32(vga_control_regs[radeon_crtc->crtc_id], vga_control | 1); in atombios_blank_crtc()
243 args.ucCRTC = radeon_crtc->crtc_id; in atombios_blank_crtc()
249 WREG32(vga_control_regs[radeon_crtc->crtc_id], vga_control); in atombios_blank_crtc()
[all …]
Dradeon_legacy_crtc.c306 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
331 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
338 if (dev->num_crtcs > radeon_crtc->crtc_id) in radeon_crtc_dpms()
345 if (dev->num_crtcs > radeon_crtc->crtc_id) in radeon_crtc_dpms()
347 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
534 if (radeon_crtc->crtc_id == 1) in radeon_crtc_do_set_base()
550 if (radeon_crtc->crtc_id) in radeon_crtc_do_set_base()
597 DRM_INFO("crtc %d is connected to a TV\n", radeon_crtc->crtc_id); in radeon_set_crtc_timing()
651 if (radeon_crtc->crtc_id) { in radeon_set_crtc_timing()
774 if (radeon_crtc->crtc_id) in radeon_set_pll()
[all …]
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()
84 WREG32_P(AVIVO_D1GRPH_LUT_SEL + radeon_crtc->crtc_offset, radeon_crtc->crtc_id, ~1); 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()
282 void radeon_crtc_handle_vblank(struct radeon_device *rdev, int crtc_id) in radeon_crtc_handle_vblank() argument
284 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_vblank()
315 update_pending = radeon_page_flip_pending(rdev, crtc_id); in radeon_crtc_handle_vblank()
337 radeon_get_crtc_scanoutpos(rdev->ddev, crtc_id, in radeon_crtc_handle_vblank()
[all …]
Dradeon_legacy_encoders.c230 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_lvds_mode_set()
251 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_lvds_mode_set()
253 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_lvds_mode_set()
589 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_primary_dac_mode_set()
629 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_primary_dac_mode_set()
631 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_primary_dac_mode_set()
847 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_int_mode_set()
869 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_tmds_int_mode_set()
871 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_tmds_int_mode_set()
983 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_ext_mode_set()
[all …]
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()
Drs780_dpm.h48 int crtc_id; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c476 clk.crtc_id = controller_id; in set_pixel_clock_v7()
580 params.crtc_id = atom_controller_id; in set_crtc_using_dtd_timing_v3()
698 params.crtc_id = id; in enable_crtc_v1()
767 enum controller_id crtc_id,
772 enum controller_id crtc_id,
814 enum controller_id crtc_id, in enable_disp_power_gating_v2_1() argument
823 if (bp->cmd_helper->controller_id_to_atom(crtc_id, &atom_crtc_id)) in enable_disp_power_gating_v2_1()
846 enum controller_id crtc_id, in enable_disp_power_gating_fallback() argument
851 return enable_disp_power_gating_v2_1(bp, crtc_id, action); in enable_disp_power_gating_fallback()
Dcommand_table.h90 enum controller_id crtc_id,
Dcommand_table2.h90 enum controller_id crtc_id,
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
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)
634 TP_PROTO(uint32_t crtc_id, uint32_t plane_id,
638 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx, sspp,
641 __field( uint32_t, crtc_id )
655 __entry->crtc_id = crtc_id;
672 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_drv.c159 int crtc_id; member
172 kms->funcs->enable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
174 kms->funcs->disable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker()
180 int crtc_id, bool enable) in vblank_ctrl_queue_work() argument
190 vbl_work->crtc_id = crtc_id; in vblank_ctrl_queue_work()
490 priv->event_thread[i].crtc_id = priv->crtcs[i]->base.id; in msm_drm_init()
493 "crtc_event:%d", priv->event_thread[i].crtc_id); in msm_drm_init()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_plane.c704 plane_resp->crtc_id = plane->state->crtc->base.id; in drm_mode_getplane()
706 plane_resp->crtc_id = plane->crtc->base.id; in drm_mode_getplane()
708 plane_resp->crtc_id = 0; in drm_mode_getplane()
993 crtc = drm_crtc_find(dev, file_priv, plane_req->crtc_id); in drm_mode_setplane()
997 plane_req->crtc_id); in drm_mode_setplane()
1115 crtc = drm_crtc_find(dev, file_priv, req->crtc_id); in drm_mode_cursor_common()
1117 DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id); in drm_mode_cursor_common()
1236 crtc = drm_crtc_find(dev, file_priv, page_flip->crtc_id); in drm_mode_page_flip_ioctl()
1351 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
Ddrm_encoder.c348 enc_resp->crtc_id = crtc->base.id; in drm_mode_getencoder()
350 enc_resp->crtc_id = 0; in drm_mode_getencoder()

123