/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/ |
D | drm_mode.h | 152 __u32 crtc_id; member 164 __u32 crtc_id; member 180 __u32 crtc_id; member 203 __u32 crtc_id; member 360 __u32 crtc_id; member 370 __u32 crtc_id; member 381 __u32 crtc_id; member 409 __u32 crtc_id; member 416 __u32 crtc_id; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | drm_mode.h | 260 __u32 crtc_id; /**< Id */ member 277 __u32 crtc_id; member 297 __u32 crtc_id; member 326 __u32 crtc_id; /**< Id of crtc */ member 597 __u32 crtc_id; member 608 __u32 crtc_id; member 620 __u32 crtc_id; member 769 __u32 crtc_id; member 797 __u32 crtc_id; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | drm_mode.h | 138 __u32 crtc_id; member 150 __u32 crtc_id; member 164 __u32 crtc_id; member 187 __u32 crtc_id; member 343 __u32 crtc_id; member 352 __u32 crtc_id; member 362 __u32 crtc_id; member 404 __u32 crtc_id; member 411 __u32 crtc_id; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/ |
D | vbox_irq.c | 115 unsigned int crtc_id; in vbox_update_mode_hints() local 132 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints() 137 crtc_id = vbox_conn->vbox_crtc->crtc_id; in vbox_update_mode_hints() 152 hgsmi_process_display_info(vbox->guest_pool, crtc_id, 0, 0, 0, in vbox_update_mode_hints()
|
D | vbox_mode.c | 53 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset() 70 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset() 99 p->view_index = vbox_crtc->crtc_id; in vbox_set_view() 102 vbox_crtc->crtc_id * VBVA_MIN_BUFFER_SIZE; in vbox_set_view() 295 unsigned int crtc_id = to_vbox_crtc(crtc)->crtc_id; in vbox_primary_atomic_update() local 302 if (!vbva_buffer_begin_update(&vbox->vbva_info[crtc_id], in vbox_primary_atomic_update() 306 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_primary_atomic_update() 308 vbva_buffer_end_update(&vbox->vbva_info[crtc_id]); in vbox_primary_atomic_update() 578 vbox_crtc->crtc_id = i; in vbox_crtc_init() 713 if (vbox_connector->vbox_crtc->crtc_id == 0) in vbox_get_modes()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.c | 52 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 …]
|
D | dce_virtual.c | 51 unsigned crtc_id); 63 int crtc_id, u64 crtc_base, bool async) in dce_virtual_page_flip() argument 150 amdgpu_crtc->crtc_id); in dce_virtual_crtc_dpms() 246 amdgpu_crtc->crtc_id = index; in dce_virtual_crtc_init() 659 unsigned crtc_id) in dce_virtual_pageflip() argument 665 amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_virtual_pageflip() 667 if (crtc_id >= adev->mode_info.num_crtc) { in dce_virtual_pageflip() 668 DRM_ERROR("invalid pageflip crtc %d\n", crtc_id); in dce_virtual_pageflip() 714 amdgpu_crtc->crtc_id); in dce_virtual_vblank_timer_handle() 717 drm_handle_vblank(ddev, amdgpu_crtc->crtc_id); in dce_virtual_vblank_timer_handle() [all …]
|
D | amdgpu_display.c | 78 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func() 96 (amdgpu_display_get_crtc_scanoutpos(adev_to_drm(adev), work->crtc_id, 0, in amdgpu_display_flip_work_func() 111 adev->mode_info.funcs->page_flip(adev, work->crtc_id, work->base, work->async); in amdgpu_display_flip_work_func() 119 amdgpu_crtc->crtc_id, amdgpu_crtc, work); in amdgpu_display_flip_work_func() 173 work->crtc_id = amdgpu_crtc->crtc_id; in amdgpu_display_crtc_page_flip_target() 238 amdgpu_crtc->crtc_id, amdgpu_crtc, work); in amdgpu_display_crtc_page_flip_target()
|
D | dce_v8_0.c | 184 int crtc_id, u64 crtc_base, bool async) in dce_v8_0_page_flip() argument 186 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v8_0_page_flip() 536 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v8_0_line_buffer_adjust() 1507 …WREG32(mmDCCG_AUDIO_DTO_SOURCE, (amdgpu_crtc->crtc_id << DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SO… in dce_v8_0_audio_set_dto() 1757 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v8_0_vga_enable() 1759 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v8_0_vga_enable() 1761 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() 2301 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v8_0_crtc_cursor_set2() 2420 amdgpu_crtc->crtc_id); in dce_v8_0_crtc_dpms() [all …]
|
D | dce_v6_0.c | 191 int crtc_id, u64 crtc_base, bool async) in dce_v6_0_page_flip() argument 193 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v6_0_page_flip() 995 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() 2055 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v6_0_crtc_load_lut() 2295 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v6_0_crtc_cursor_set2() 2411 amdgpu_crtc->crtc_id); in dce_v6_0_crtc_dpms() 2476 i != amdgpu_crtc->crtc_id && in dce_v6_0_crtc_disable() [all …]
|
D | atombios_crtc.h | 43 u32 crtc_id,
|
D | dce_v10_0.c | 236 int crtc_id, u64 crtc_base, bool async) in dce_v10_0_page_flip() argument 238 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() 1559 amdgpu_crtc->crtc_id); in dce_v10_0_audio_set_dto() 1828 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v10_0_vga_enable() 1830 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v10_0_vga_enable() 1832 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() 2400 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v10_0_crtc_cursor_set2() 2519 amdgpu_crtc->crtc_id); in dce_v10_0_crtc_dpms() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
D | sti_compositor.c | 65 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | atombios_crtc.c | 51 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 …]
|
D | radeon_legacy_crtc.c | 305 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 …]
|
D | radeon_display.c | 60 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in avivo_crtc_load_lut() 71 WREG32(AVIVO_DC_LUT_RW_SELECT, radeon_crtc->crtc_id); in avivo_crtc_load_lut() 87 WREG32_P(AVIVO_D1GRPH_LUT_SEL + radeon_crtc->crtc_offset, radeon_crtc->crtc_id, ~1); in avivo_crtc_load_lut() 98 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in dce4_crtc_load_lut() 132 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in dce5_crtc_load_lut() 206 if (radeon_crtc->crtc_id == 0) in legacy_crtc_load_lut() 288 void radeon_crtc_handle_vblank(struct radeon_device *rdev, int crtc_id) in radeon_crtc_handle_vblank() argument 290 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_vblank() 321 update_pending = radeon_page_flip_pending(rdev, crtc_id); in radeon_crtc_handle_vblank() 343 radeon_get_crtc_scanoutpos(rdev->ddev, crtc_id, in radeon_crtc_handle_vblank() [all …]
|
D | radeon_legacy_encoders.c | 227 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_lvds_mode_set() 248 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_lvds_mode_set() 250 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_lvds_mode_set() 596 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_primary_dac_mode_set() 636 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_primary_dac_mode_set() 638 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_primary_dac_mode_set() 854 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_int_mode_set() 876 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_tmds_int_mode_set() 878 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); in radeon_legacy_tmds_int_mode_set() 990 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_ext_mode_set() [all …]
|
D | radeon_cursor.c | 76 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()
|
D | rs780_dpm.h | 48 int crtc_id; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_irq.c | 648 unsigned crtc_id, in dm_irq_state() argument 656 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; in dm_irq_state() 662 crtc_id); in dm_irq_state() 679 unsigned crtc_id, in amdgpu_dm_set_pflip_irq_state() argument 685 crtc_id, in amdgpu_dm_set_pflip_irq_state() 693 unsigned crtc_id, in amdgpu_dm_set_crtc_irq_state() argument 699 crtc_id, in amdgpu_dm_set_crtc_irq_state() 707 unsigned int crtc_id, in amdgpu_dm_set_vupdate_irq_state() argument 713 crtc_id, in amdgpu_dm_set_vupdate_irq_state()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table2.c | 402 clk.crtc_id = controller_id; in set_pixel_clock_v7() 506 params.crtc_id = atom_controller_id; in set_crtc_using_dtd_timing_v3() 624 params.crtc_id = id; in enable_crtc_v1() 693 enum controller_id crtc_id, 698 enum controller_id crtc_id, 740 enum controller_id crtc_id, in enable_disp_power_gating_v2_1() argument 749 if (bp->cmd_helper->controller_id_to_atom(crtc_id, &atom_crtc_id)) in enable_disp_power_gating_v2_1() 772 enum controller_id crtc_id, in enable_disp_power_gating_fallback() argument 777 return enable_disp_power_gating_v2_1(bp, crtc_id, action); in enable_disp_power_gating_fallback()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_trace.h | 95 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) 641 TP_PROTO(uint32_t crtc_id, uint32_t plane_id, 645 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx, sspp, 648 __field( uint32_t, crtc_id ) 662 __entry->crtc_id = crtc_id; 679 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_plane.c | 538 plane_resp->crtc_id = plane->state->crtc->base.id; in drm_mode_getplane() 540 plane_resp->crtc_id = plane->crtc->base.id; in drm_mode_getplane() 542 plane_resp->crtc_id = 0; in drm_mode_getplane() 831 crtc = drm_crtc_find(dev, file_priv, plane_req->crtc_id); in drm_mode_setplane() 835 plane_req->crtc_id); in drm_mode_setplane() 953 crtc = drm_crtc_find(dev, file_priv, req->crtc_id); in drm_mode_cursor_common() 955 DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id); in drm_mode_cursor_common() 1074 crtc = drm_crtc_find(dev, file_priv, page_flip->crtc_id); in drm_mode_page_flip_ioctl() 1182 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
|
D | drm_encoder.c | 232 enc_resp->crtc_id = crtc->base.id; in drm_mode_getencoder() 234 enc_resp->crtc_id = 0; in drm_mode_getencoder()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_drv.c | 185 int crtc_id; member 198 kms->funcs->enable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker() 200 kms->funcs->disable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker() 206 int crtc_id, bool enable) in vblank_ctrl_queue_work() argument 216 vbl_work->crtc_id = crtc_id; in vblank_ctrl_queue_work() 503 priv->event_thread[i].crtc_id = priv->crtcs[i]->base.id; in msm_drm_init() 506 "crtc_event:%d", priv->event_thread[i].crtc_id); in msm_drm_init()
|