Home
last modified time | relevance | path

Searched refs:drm_crtc_index (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/
Ddrm_vblank.c406 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 …]
Ddrm_vblank_work.c245 work->vblank = &crtc->dev->vblank[drm_crtc_index(crtc)]; in drm_vblank_work_init()
Ddrm_atomic_uapi.c322 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/
Dmsm_atomic.c49 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/
Dmtk_drm_crtc.c616 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/
Dkomeda_crtc.c214 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()
Dkomeda_wb_connector.c168 BIT(drm_crtc_index(&kcrtc->base))); in komeda_wb_connector_add()
Dkomeda_pipeline_state.c74 drm_crtc_index(crtc), pipe->id); in komeda_pipeline_get_state_and_set_crtc()
/linux-6.1.9/include/drm/
Ddrm_crtc.h1270 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()
Ddrm_atomic.h546 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/
Damdgpu_vkms.c67 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/
Dsti_crtc.c250 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/
Drcar_du_writeback.c213 1 << drm_crtc_index(&rcrtc->crtc)); in rcar_du_writeback_init()
Drcar_lvds.c474 if (drm_crtc_index(crtc) == 2) in __rcar_lvds_atomic_enable()
/linux-6.1.9/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c359 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/
Dvc4_hvs.c495 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()
Dvc4_crtc.c340 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/
Dintel_crtc.c75 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/
Dmalidp_mw.c228 1 << drm_crtc_index(&malidp->crtc)); in malidp_mw_connector_init()
/linux-6.1.9/drivers/gpu/drm/vkms/
Dvkms_crtc.c65 unsigned int pipe = drm_crtc_index(crtc); in vkms_enable_vblank()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_irq.c679 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/
Dmdp4_crtc.c538 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/
Dnouveau_display.c95 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/
Dzynqmp_disp.c1536 event->pipe = drm_crtc_index(crtc); in zynqmp_disp_crtc_atomic_flush()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c1249 ret = wait_event_timeout(dev->vblank[drm_crtc_index(crtc)].queue, in mdp5_crtc_wait_for_flush_done()

12