/linux-6.1.9/drivers/gpu/drm/ |
D | drm_vblank.c | 406 unsigned int pipe = drm_crtc_index(crtc); in drm_crtc_accurate_vblank_count() 592 return &crtc->dev->vblank[drm_crtc_index(crtc)].queue; in drm_crtc_vblank_waitqueue() 612 unsigned int pipe = drm_crtc_index(crtc); in drm_calc_timestamping_constants() 917 return drm_vblank_count(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_vblank_count() 978 return drm_vblank_count_and_time(crtc->dev, drm_crtc_index(crtc), in drm_crtc_vblank_count_and_time() 1061 unsigned int pipe = drm_crtc_index(crtc); in drm_crtc_arm_vblank_event() 1087 unsigned int pipe = drm_crtc_index(crtc); in drm_crtc_send_vblank_event() 1199 return drm_vblank_get(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_vblank_get() 1234 drm_vblank_put(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_vblank_put() 1285 drm_wait_one_vblank(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_wait_one_vblank() [all …]
|
D | drm_vblank_work.c | 245 work->vblank = &crtc->dev->vblank[drm_crtc_index(crtc)]; in drm_vblank_work_init()
|
D | drm_atomic_uapi.c | 322 state->crtcs[drm_crtc_index(crtc)].out_fence_ptr = fence_ptr; in set_out_fence_for_crtc() 330 fence_ptr = state->crtcs[drm_crtc_index(crtc)].out_fence_ptr; in get_out_fence_for_crtc() 331 state->crtcs[drm_crtc_index(crtc)].out_fence_ptr = NULL; in get_out_fence_for_crtc()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_atomic.c | 49 crtc_index = drm_crtc_index(crtc); in lock_crtcs() 59 mutex_unlock(&kms->commit_lock[drm_crtc_index(crtc)]); in unlock_crtcs() 220 &kms->pending_timers[drm_crtc_index(async_crtc)]; in msm_atomic_commit_tail()
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 616 drm_crtc_index(&mtk_crtc->base)); in mtk_crtc_ddp_irq() 744 mtk_crtc_state->base.event->pipe = drm_crtc_index(crtc); in mtk_drm_crtc_atomic_begin() 973 drm_crtc_index(&mtk_crtc->base)); in mtk_drm_crtc_create() 976 drm_crtc_index(&mtk_crtc->base)); in mtk_drm_crtc_create() 983 drm_crtc_index(&mtk_crtc->base), in mtk_drm_crtc_create() 987 drm_crtc_index(&mtk_crtc->base)); in mtk_drm_crtc_create() 996 drm_crtc_index(&mtk_crtc->base)); in mtk_drm_crtc_create()
|
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_crtc.c | 214 drm_crtc_index(&kcrtc->base)); in komeda_crtc_handle_event() 238 drm_crtc_index(&kcrtc->base)); in komeda_crtc_handle_event() 257 drm_crtc_index(crtc), in komeda_crtc_do_flush() 337 drm_crtc_index(crtc), in komeda_crtc_atomic_disable()
|
D | komeda_wb_connector.c | 168 BIT(drm_crtc_index(&kcrtc->base))); in komeda_wb_connector_add()
|
D | komeda_pipeline_state.c | 74 drm_crtc_index(crtc), pipe->id); in komeda_pipeline_get_state_and_set_crtc()
|
/linux-6.1.9/include/drm/ |
D | drm_crtc.h | 1270 static inline unsigned int drm_crtc_index(const struct drm_crtc *crtc) in drm_crtc_index() function 1284 return 1 << drm_crtc_index(crtc); in drm_crtc_mask()
|
D | drm_atomic.h | 546 return state->crtcs[drm_crtc_index(crtc)].state; in drm_atomic_get_existing_crtc_state() 561 return state->crtcs[drm_crtc_index(crtc)].old_state; in drm_atomic_get_old_crtc_state() 575 return state->crtcs[drm_crtc_index(crtc)].new_state; in drm_atomic_get_new_crtc_state()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vkms.c | 67 unsigned int pipe = drm_crtc_index(crtc); in amdgpu_vkms_enable_vblank() 184 amdgpu_crtc->crtc_id = drm_crtc_index(crtc); in amdgpu_vkms_crtc_init() 185 adev->mode_info.crtcs[drm_crtc_index(crtc)] = amdgpu_crtc; in amdgpu_vkms_crtc_init()
|
/linux-6.1.9/drivers/gpu/drm/sti/ |
D | sti_crtc.c | 250 pipe = drm_crtc_index(crtc); in sti_crtc_vblank_cb() 320 if (drm_crtc_index(crtc) == 0) in sti_crtc_late_register()
|
/linux-6.1.9/drivers/gpu/drm/rcar-du/ |
D | rcar_du_writeback.c | 213 1 << drm_crtc_index(&rcrtc->crtc)); in rcar_du_writeback_init()
|
D | rcar_lvds.c | 474 if (drm_crtc_index(crtc) == 2) in __rcar_lvds_atomic_enable()
|
/linux-6.1.9/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_crtc.c | 359 c->state->event->pipe = drm_crtc_index(c); in atmel_hlcdc_crtc_atomic_flush() 520 crtc->id = drm_crtc_index(&crtc->base); in atmel_hlcdc_crtc_create()
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_hvs.c | 495 crtc->state->event->pipe = drm_crtc_index(crtc); in vc4_hvs_update_dlist() 577 DRM_INFO("CRTC %d HVS before:\n", drm_crtc_index(crtc)); in vc4_hvs_atomic_flush() 642 DRM_INFO("CRTC %d HVS after:\n", drm_crtc_index(crtc)); in vc4_hvs_atomic_flush()
|
D | vc4_crtc.c | 340 drm_crtc_index(crtc)); in vc4_crtc_config_pv() 422 drm_crtc_index(crtc)); in vc4_crtc_config_pv()
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_crtc.c | 75 struct drm_vblank_crtc *vblank = &dev->vblank[drm_crtc_index(&crtc->base)]; in intel_crtc_get_vblank_counter() 375 drm_WARN_ON(&dev_priv->drm, drm_crtc_index(&crtc->base) != crtc->pipe); in intel_crtc_init()
|
/linux-6.1.9/drivers/gpu/drm/arm/ |
D | malidp_mw.c | 228 1 << drm_crtc_index(&malidp->crtc)); in malidp_mw_connector_init()
|
/linux-6.1.9/drivers/gpu/drm/vkms/ |
D | vkms_crtc.c | 65 unsigned int pipe = drm_crtc_index(crtc); in vkms_enable_vblank()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_irq.c | 679 struct drm_vblank_crtc *vblank = &dev_priv->drm.vblank[drm_crtc_index(crtc)]; in i915_get_vblank_counter() 745 struct drm_vblank_crtc *vblank = &dev_priv->drm.vblank[drm_crtc_index(crtc)]; in g4x_get_vblank_counter() 758 &crtc->base.dev->vblank[drm_crtc_index(&crtc->base)]; in intel_crtc_scanlines_since_frame_timestamp() 804 &crtc->base.dev->vblank[drm_crtc_index(&crtc->base)]; in __intel_get_crtc_scanline_from_timestamp() 833 vblank = &crtc->base.dev->vblank[drm_crtc_index(&crtc->base)]; in __intel_get_crtc_scanline()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_crtc.c | 538 ret = wait_event_timeout(dev->vblank[drm_crtc_index(crtc)].queue, in mdp4_crtc_wait_for_flush_done()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 95 struct drm_vblank_crtc *vblank = &crtc->dev->vblank[drm_crtc_index(crtc)]; in nouveau_display_scanoutpos_head()
|
/linux-6.1.9/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 1536 event->pipe = drm_crtc_index(crtc); in zynqmp_disp_crtc_atomic_flush()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_crtc.c | 1249 ret = wait_event_timeout(dev->vblank[drm_crtc_index(crtc)].queue, in mdp5_crtc_wait_for_flush_done()
|