Home
last modified time | relevance | path

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

123

/linux-6.12.1/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
804 __u32 crtc_id; member
815 __u32 crtc_id; member
827 __u32 crtc_id; member
1022 __u32 crtc_id; member
1050 __u32 crtc_id; member
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c51 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup()
93 args.ucScaler = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_scaler_setup()
123 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_lock()
139 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_enable()
155 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_blank()
171 args.ucDispPipeId = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_powergate()
229 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_set_dtd_timing()
243 int crtc_id, in amdgpu_atombios_crtc_program_ss() argument
264 i != crtc_id && in amdgpu_atombios_crtc_program_ss()
576 u32 crtc_id, in amdgpu_atombios_crtc_program_pll() argument
[all …]
Ddce_v8_0.c186 int crtc_id, u64 crtc_base, bool async) in dce_v8_0_page_flip() argument
188 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v8_0_page_flip()
554 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v8_0_line_buffer_adjust()
1524 …WREG32(mmDCCG_AUDIO_DTO_SOURCE, (amdgpu_crtc->crtc_id << DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SO… in dce_v8_0_audio_set_dto()
1773 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v8_0_vga_enable()
1775 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v8_0_vga_enable()
1777 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v8_0_vga_enable()
2041 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v8_0_crtc_load_lut()
2313 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v8_0_crtc_cursor_set2()
2433 amdgpu_crtc->crtc_id); in dce_v8_0_crtc_dpms()
[all …]
Ddce_v6_0.c195 int crtc_id, u64 crtc_base, bool async) in dce_v6_0_page_flip() argument
197 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v6_0_page_flip()
1015 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v6_0_line_buffer_adjust()
1523 DCCG_AUDIO_DTO0_SOURCE_SEL, amdgpu_crtc->crtc_id); in dce_v6_0_audio_set_dto()
1813 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v6_0_vga_enable()
1814 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | (enable ? 1 : 0)); in dce_v6_0_vga_enable()
2074 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v6_0_crtc_load_lut()
2314 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v6_0_crtc_cursor_set2()
2431 amdgpu_crtc->crtc_id); in dce_v6_0_crtc_dpms()
2496 i != amdgpu_crtc->crtc_id && in dce_v6_0_crtc_disable()
[all …]
Ddce_v10_0.c235 int crtc_id, u64 crtc_base, bool async) in dce_v10_0_page_flip() argument
237 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v10_0_page_flip()
599 u32 pipe_offset = amdgpu_crtc->crtc_id; in dce_v10_0_line_buffer_adjust()
1558 amdgpu_crtc->crtc_id); in dce_v10_0_audio_set_dto()
1826 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v10_0_vga_enable()
1828 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v10_0_vga_enable()
1830 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v10_0_vga_enable()
2117 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v10_0_crtc_load_lut()
2394 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v10_0_crtc_cursor_set2()
2514 amdgpu_crtc->crtc_id); in dce_v10_0_crtc_dpms()
[all …]
Ddce_v11_0.c259 int crtc_id, u64 crtc_base, bool async) in dce_v11_0_page_flip() argument
261 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v11_0_page_flip()
631 u32 pipe_offset = amdgpu_crtc->crtc_id; in dce_v11_0_line_buffer_adjust()
1607 amdgpu_crtc->crtc_id); in dce_v11_0_audio_set_dto()
1876 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v11_0_vga_enable()
1878 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v11_0_vga_enable()
1880 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v11_0_vga_enable()
2167 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v11_0_crtc_load_lut()
2478 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v11_0_crtc_cursor_set2()
2598 amdgpu_crtc->crtc_id); in dce_v11_0_crtc_dpms()
[all …]
Datombios_crtc.h43 u32 crtc_id,
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c707 unsigned int crtc_id, in dm_irq_state() argument
715 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; in dm_irq_state()
721 crtc_id); in dm_irq_state()
741 unsigned int crtc_id, in amdgpu_dm_set_pflip_irq_state() argument
747 crtc_id, in amdgpu_dm_set_pflip_irq_state()
755 unsigned int crtc_id, in amdgpu_dm_set_crtc_irq_state() argument
761 crtc_id, in amdgpu_dm_set_crtc_irq_state()
769 unsigned int crtc_id, in amdgpu_dm_set_vline0_irq_state() argument
775 crtc_id, in amdgpu_dm_set_vline0_irq_state()
783 unsigned int crtc_id, in amdgpu_dm_set_dmub_outbox_irq_state() argument
[all …]
Damdgpu_dm_trace.h112 __field(uint32_t, crtc_id)
131 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
152 __entry->commit, __entry->crtc_id, __entry->best_encoder_id,
168 __field(uint32_t, crtc_id)
189 __entry->crtc_id = state->crtc->base.id;
213 __entry->crtc_id, __entry->crtc_state, __entry->state,
232 __field(uint32_t, crtc_id)
261 __entry->crtc_id = state->crtc ? state->crtc->base.id : 0;
293 __entry->state, __entry->crtc_id, __entry->fb_id,
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/radeon/
Datombios_crtc.c51 args.ucCRTC = radeon_crtc->crtc_id; in atombios_overscan_setup()
96 if (!ASIC_IS_AVIVO(rdev) && radeon_crtc->crtc_id) in atombios_scaler_setup()
107 args.ucScaler = radeon_crtc->crtc_id; in atombios_scaler_setup()
178 args.ucCRTC = radeon_crtc->crtc_id; in atombios_lock_crtc()
194 args.ucCRTC = radeon_crtc->crtc_id; in atombios_enable_crtc()
210 args.ucCRTC = radeon_crtc->crtc_id; in atombios_enable_crtc_memreq()
238 vga_control = RREG32(vga_control_regs[radeon_crtc->crtc_id]); in atombios_blank_crtc()
239 WREG32(vga_control_regs[radeon_crtc->crtc_id], vga_control | 1); in atombios_blank_crtc()
242 args.ucCRTC = radeon_crtc->crtc_id; in atombios_blank_crtc()
248 WREG32(vga_control_regs[radeon_crtc->crtc_id], vga_control); in atombios_blank_crtc()
[all …]
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()
344 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()
596 DRM_INFO("crtc %d is connected to a TV\n", radeon_crtc->crtc_id); in radeon_set_crtc_timing()
650 if (radeon_crtc->crtc_id) { in radeon_set_crtc_timing()
773 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_to_drm(rdev), 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
Ddce6_afmt.c277 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_hdmi_audio_set_dto()
297 value |= DCCG_AUDIO_DTO0_SOURCE_SEL(crtc->crtc_id); in dce6_dp_audio_set_dto()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c469 clk.crtc_id = controller_id; in set_pixel_clock_v7()
573 params.crtc_id = atom_controller_id; in set_crtc_using_dtd_timing_v3()
691 params.crtc_id = id; in enable_crtc_v1()
760 enum controller_id crtc_id,
765 enum controller_id crtc_id,
805 enum controller_id crtc_id, in enable_disp_power_gating_v2_1() argument
814 if (bp->cmd_helper->controller_id_to_atom(crtc_id, &atom_crtc_id)) in enable_disp_power_gating_v2_1()
837 enum controller_id crtc_id, in enable_disp_power_gating_fallback() argument
842 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,
/linux-6.12.1/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)
651 TP_PROTO(uint32_t crtc_id, uint32_t plane_id,
655 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx,
658 __field( uint32_t, crtc_id )
672 __entry->crtc_id = crtc_id;
689 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
/linux-6.12.1/drivers/gpu/drm/
Ddrm_plane.c842 plane_resp->crtc_id = plane->state->crtc->base.id; in drm_mode_getplane()
844 plane_resp->crtc_id = plane->crtc->base.id; in drm_mode_getplane()
846 plane_resp->crtc_id = 0; in drm_mode_getplane()
1139 crtc = drm_crtc_find(dev, file_priv, plane_req->crtc_id); in drm_mode_setplane()
1143 plane_req->crtc_id); in drm_mode_setplane()
1263 crtc = drm_crtc_find(dev, file_priv, req->crtc_id); in drm_mode_cursor_common()
1265 DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id); in drm_mode_cursor_common()
1384 crtc = drm_crtc_find(dev, file_priv, page_flip->crtc_id); in drm_mode_page_flip_ioctl()
1499 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
Ddrm_encoder.c352 enc_resp->crtc_id = crtc->base.id; in drm_mode_getencoder()
354 enc_resp->crtc_id = 0; in drm_mode_getencoder()
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.h32 const unsigned int crtc_id; member

123