/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 | 60 int crtc_id, u64 crtc_base, bool async) in dce_virtual_page_flip() argument 143 amdgpu_crtc->crtc_id); in dce_virtual_crtc_dpms() 235 amdgpu_crtc->crtc_id = index; in dce_virtual_crtc_init() 641 unsigned crtc_id) in dce_virtual_pageflip() argument 647 amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_virtual_pageflip() 649 if (crtc_id >= adev->mode_info.num_crtc) { in dce_virtual_pageflip() 650 DRM_ERROR("invalid pageflip crtc %d\n", crtc_id); in dce_virtual_pageflip() 694 drm_handle_vblank(ddev, amdgpu_crtc->crtc_id); in dce_virtual_vblank_timer_handle() 695 dce_virtual_pageflip(adev, amdgpu_crtc->crtc_id); in dce_virtual_vblank_timer_handle()
|
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->ddev, work->crtc_id, 0, in amdgpu_display_flip_work_func() 102 amdgpu_get_vblank_counter_kms(adev->ddev, amdgpu_crtc->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() 222 amdgpu_get_vblank_counter_kms(dev, work->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() 530 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v8_0_line_buffer_adjust() 1489 …WREG32(mmDCCG_AUDIO_DTO_SOURCE, (amdgpu_crtc->crtc_id << DCCG_AUDIO_DTO_SOURCE__DCCG_AUDIO_DTO0_SO… in dce_v8_0_audio_set_dto() 1739 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v8_0_vga_enable() 1741 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v8_0_vga_enable() 1743 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v8_0_vga_enable() 2007 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v8_0_crtc_load_lut() 2283 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v8_0_crtc_cursor_set2() 2398 amdgpu_crtc->crtc_id); in dce_v8_0_crtc_dpms() [all …]
|
D | dce_v11_0.c | 254 int crtc_id, u64 crtc_base, bool async) in dce_v11_0_page_flip() argument 256 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[crtc_id]; in dce_v11_0_page_flip() 619 u32 pipe_offset = amdgpu_crtc->crtc_id; in dce_v11_0_line_buffer_adjust() 1583 amdgpu_crtc->crtc_id); in dce_v11_0_audio_set_dto() 1852 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v11_0_vga_enable() 1854 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v11_0_vga_enable() 1856 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v11_0_vga_enable() 2143 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v11_0_crtc_load_lut() 2461 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v11_0_crtc_cursor_set2() 2576 amdgpu_crtc->crtc_id); in dce_v11_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() 990 u32 pipe_offset = amdgpu_crtc->crtc_id * 0x8; in dce_v6_0_line_buffer_adjust() 1487 DCCG_AUDIO_DTO0_SOURCE_SEL, amdgpu_crtc->crtc_id); in dce_v6_0_audio_set_dto() 1774 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v6_0_vga_enable() 1775 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | (enable ? 1 : 0)); in dce_v6_0_vga_enable() 2035 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v6_0_crtc_load_lut() 2275 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v6_0_crtc_cursor_set2() 2387 amdgpu_crtc->crtc_id); in dce_v6_0_crtc_dpms() 2452 i != amdgpu_crtc->crtc_id && in dce_v6_0_crtc_disable() [all …]
|
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() 593 u32 pipe_offset = amdgpu_crtc->crtc_id; in dce_v10_0_line_buffer_adjust() 1541 amdgpu_crtc->crtc_id); in dce_v10_0_audio_set_dto() 1810 vga_control = RREG32(vga_control_regs[amdgpu_crtc->crtc_id]) & ~1; in dce_v10_0_vga_enable() 1812 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control | 1); in dce_v10_0_vga_enable() 1814 WREG32(vga_control_regs[amdgpu_crtc->crtc_id], vga_control); in dce_v10_0_vga_enable() 2101 DRM_DEBUG_KMS("%d\n", amdgpu_crtc->crtc_id); in dce_v10_0_crtc_load_lut() 2382 DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id); in dce_v10_0_crtc_cursor_set2() 2497 amdgpu_crtc->crtc_id); in dce_v10_0_crtc_dpms() [all …]
|
D | atombios_crtc.h | 43 u32 crtc_id,
|
/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 | 56 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in avivo_crtc_load_lut() 67 WREG32(AVIVO_DC_LUT_RW_SELECT, radeon_crtc->crtc_id); in avivo_crtc_load_lut() 83 WREG32_P(AVIVO_D1GRPH_LUT_SEL + radeon_crtc->crtc_offset, radeon_crtc->crtc_id, ~1); in avivo_crtc_load_lut() 94 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in dce4_crtc_load_lut() 128 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in dce5_crtc_load_lut() 200 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 …]
|
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
|
/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_main.c | 63 unsigned int crtc_id = to_vbox_crtc(crtc)->crtc_id; in vbox_framebuffer_dirty_rectangles() local 76 if (!vbva_buffer_begin_update(&vbox->vbva_info[crtc_id], in vbox_framebuffer_dirty_rectangles() 80 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_framebuffer_dirty_rectangles() 82 vbva_buffer_end_update(&vbox->vbva_info[crtc_id]); in vbox_framebuffer_dirty_rectangles()
|
D | vbox_mode.c | 52 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset() 69 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset() 98 p->view_index = vbox_crtc->crtc_id; in vbox_set_view() 101 vbox_crtc->crtc_id * VBVA_MIN_BUFFER_SIZE; in vbox_set_view() 608 vbox_crtc->crtc_id = i; in vbox_crtc_init() 743 if (vbox_connector->vbox_crtc->crtc_id == 0) in vbox_get_modes()
|
/drivers/gpu/drm/sti/ |
D | sti_compositor.c | 67 unsigned int i, mixer_id = 0, vid_id = 0, crtc_id = 0; in sti_compositor_bind() local 104 if (crtc_id < mixer_id) in sti_compositor_bind() 140 if (crtc_id < mixer_id && primary) { in sti_compositor_bind() 141 sti_crtc_init(drm_dev, compo->mixer[crtc_id], in sti_compositor_bind() 143 crtc_id++; in sti_compositor_bind() 149 drm_vblank_init(drm_dev, crtc_id); in sti_compositor_bind()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_irq.c | 616 unsigned crtc_id, in dm_irq_state() argument 624 struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; in dm_irq_state() 630 crtc_id); in dm_irq_state() 647 unsigned crtc_id, in amdgpu_dm_set_pflip_irq_state() argument 653 crtc_id, in amdgpu_dm_set_pflip_irq_state() 661 unsigned crtc_id, in amdgpu_dm_set_crtc_irq_state() argument 667 crtc_id, in amdgpu_dm_set_crtc_irq_state() 675 unsigned int crtc_id, in amdgpu_dm_set_vupdate_irq_state() argument 681 crtc_id, in amdgpu_dm_set_vupdate_irq_state()
|
/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) 643 TP_PROTO(uint32_t crtc_id, uint32_t plane_id, 647 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx, sspp, 650 __field( uint32_t, crtc_id ) 664 __entry->crtc_id = crtc_id; 681 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
|
/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table2.c | 293 clk.crtc_id = controller_id; in set_pixel_clock_v7() 379 params.crtc_id = atom_controller_id; in set_crtc_using_dtd_timing_v3() 500 params.crtc_id = id; in enable_crtc_v1() 569 enum controller_id crtc_id, 590 enum controller_id crtc_id, in enable_disp_power_gating_v2_1() argument 599 if (bp->cmd_helper->controller_id_to_atom(crtc_id, &atom_crtc_id)) in enable_disp_power_gating_v2_1()
|
/drivers/gpu/drm/ |
D | drm_plane.c | 528 plane_resp->crtc_id = plane->state->crtc->base.id; in drm_mode_getplane() 530 plane_resp->crtc_id = plane->crtc->base.id; in drm_mode_getplane() 532 plane_resp->crtc_id = 0; in drm_mode_getplane() 821 crtc = drm_crtc_find(dev, file_priv, plane_req->crtc_id); in drm_mode_setplane() 825 plane_req->crtc_id); in drm_mode_setplane() 943 crtc = drm_crtc_find(dev, file_priv, req->crtc_id); in drm_mode_cursor_common() 945 DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id); in drm_mode_cursor_common() 1064 crtc = drm_crtc_find(dev, file_priv, page_flip->crtc_id); in drm_mode_page_flip_ioctl() 1172 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
|
D | drm_encoder.c | 236 enc_resp->crtc_id = crtc->base.id; in drm_mode_getencoder() 238 enc_resp->crtc_id = 0; in drm_mode_getencoder()
|
D | drm_mode_config.c | 98 uint32_t __user *crtc_id; in drm_mode_getresources() local 126 crtc_id = u64_to_user_ptr(card_res->crtc_id_ptr); in drm_mode_getresources() 130 put_user(crtc->base.id, crtc_id + count)) in drm_mode_getresources()
|
/drivers/gpu/drm/msm/ |
D | msm_drv.c | 170 int crtc_id; member 183 kms->funcs->enable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker() 185 kms->funcs->disable_vblank(kms, priv->crtcs[vbl_work->crtc_id]); in vblank_ctrl_worker() 191 int crtc_id, bool enable) in vblank_ctrl_queue_work() argument 201 vbl_work->crtc_id = crtc_id; in vblank_ctrl_queue_work() 495 priv->event_thread[i].crtc_id = priv->crtcs[i]->base.id; in msm_drm_init() 501 "crtc_event:%d", priv->event_thread[i].crtc_id); in msm_drm_init()
|