Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank.c403 unsigned int pipe = drm_crtc_index(crtc); in drm_crtc_accurate_vblank_count()
586 return &crtc->dev->vblank[drm_crtc_index(crtc)].queue; in drm_crtc_vblank_waitqueue()
606 unsigned int pipe = drm_crtc_index(crtc); in drm_calc_timestamping_constants()
911 return drm_vblank_count(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_vblank_count()
972 return drm_vblank_count_and_time(crtc->dev, drm_crtc_index(crtc), in drm_crtc_vblank_count_and_time()
1048 unsigned int pipe = drm_crtc_index(crtc); in drm_crtc_arm_vblank_event()
1074 unsigned int pipe = drm_crtc_index(crtc); in drm_crtc_send_vblank_event()
1183 return drm_vblank_get(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_vblank_get()
1218 drm_vblank_put(crtc->dev, drm_crtc_index(crtc)); in drm_crtc_vblank_put()
1269 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.c343 state->crtcs[drm_crtc_index(crtc)].out_fence_ptr = fence_ptr; in set_out_fence_for_crtc()
351 fence_ptr = state->crtcs[drm_crtc_index(crtc)].out_fence_ptr; in get_out_fence_for_crtc()
352 state->crtcs[drm_crtc_index(crtc)].out_fence_ptr = NULL; in get_out_fence_for_crtc()
Ddrm_atomic.c294 int ret, index = drm_crtc_index(crtc); in drm_atomic_get_crtc_state()
/kernel/linux/linux-5.10/include/drm/
Ddrm_crtc.h1220 static inline unsigned int drm_crtc_index(const struct drm_crtc *crtc) in drm_crtc_index() function
1234 return 1 << drm_crtc_index(crtc); in drm_crtc_mask()
Ddrm_atomic.h493 return state->crtcs[drm_crtc_index(crtc)].state; in drm_atomic_get_existing_crtc_state()
508 return state->crtcs[drm_crtc_index(crtc)].old_state; in drm_atomic_get_old_crtc_state()
522 return state->crtcs[drm_crtc_index(crtc)].new_state; in drm_atomic_get_new_crtc_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c213 drm_crtc_index(&kcrtc->base)); in komeda_crtc_handle_event()
237 drm_crtc_index(&kcrtc->base)); in komeda_crtc_handle_event()
256 drm_crtc_index(crtc), in komeda_crtc_do_flush()
332 drm_crtc_index(crtc), in komeda_crtc_atomic_disable()
Dkomeda_wb_connector.c158 wb_conn->encoder.possible_crtcs = BIT(drm_crtc_index(&kcrtc->base)); in komeda_wb_connector_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_crtc.c587 state->base.event->pipe = drm_crtc_index(crtc); in mtk_drm_crtc_atomic_begin()
827 drm_crtc_index(&mtk_crtc->base), in mtk_drm_crtc_create()
831 drm_crtc_index(&mtk_crtc->base)); in mtk_drm_crtc_create()
838 drm_crtc_index(&mtk_crtc->base), in mtk_drm_crtc_create()
842 drm_crtc_index(&mtk_crtc->base)); in mtk_drm_crtc_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_crtc.c251 pipe = drm_crtc_index(crtc); in sti_crtc_vblank_cb()
321 if (drm_crtc_index(crtc) == 0) in sti_crtc_late_register()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_hvs.c372 crtc->state->event->pipe = drm_crtc_index(crtc); in vc4_hvs_update_dlist()
430 DRM_INFO("CRTC %d HVS before:\n", drm_crtc_index(crtc)); in vc4_hvs_atomic_flush()
493 DRM_INFO("CRTC %d HVS after:\n", drm_crtc_index(crtc)); in vc4_hvs_atomic_flush()
Dvc4_crtc.c329 drm_crtc_index(crtc)); in vc4_crtc_config_pv()
410 drm_crtc_index(crtc)); in vc4_crtc_config_pv()
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c349 c->state->event->pipe = drm_crtc_index(c); in atmel_hlcdc_crtc_atomic_begin()
516 crtc->id = drm_crtc_index(&crtc->base); in atmel_hlcdc_crtc_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_writeback.c203 wb_conn->encoder.possible_crtcs = 1 << drm_crtc_index(&rcrtc->crtc); in rcar_du_writeback_init()
Drcar_lvds.c536 if (drm_crtc_index(crtc) == 2) in __rcar_lvds_atomic_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_atomic.c213 &kms->pending_timers[drm_crtc_index(async_crtc)]; in msm_atomic_commit_tail()
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_crtc.c59 unsigned int pipe = drm_crtc_index(crtc); in vkms_enable_vblank()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_mw.c218 malidp->mw_connector.encoder.possible_crtcs = 1 << drm_crtc_index(&malidp->crtc); in malidp_mw_connector_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c537 ret = wait_event_timeout(dev->vblank[drm_crtc_index(crtc)].queue, in mdp4_crtc_wait_for_flush_done()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Dcrc.c106 drm_crtc_index(crtc), crc->ctx_idx, new_idx); in nv50_crc_ctx_flip_work()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_display.c95 struct drm_vblank_crtc *vblank = &crtc->dev->vblank[drm_crtc_index(crtc)]; in nouveau_display_scanoutpos_head()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_irq.c619 struct drm_vblank_crtc *vblank = &dev_priv->drm.vblank[drm_crtc_index(crtc)]; in i915_get_vblank_counter()
702 &crtc->base.dev->vblank[drm_crtc_index(&crtc->base)]; in __intel_get_crtc_scanline_from_timestamp()
759 vblank = &crtc->base.dev->vblank[drm_crtc_index(&crtc->base)]; in __intel_get_crtc_scanline()
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c1530 event->pipe = drm_crtc_index(crtc); in zynqmp_disp_crtc_atomic_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c374 crtc_id = drm_crtc_index(crtc); in dpu_crtc_frame_event_cb()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c1226 ret = wait_event_timeout(dev->vblank[drm_crtc_index(crtc)].queue, in mdp5_crtc_wait_for_flush_done()

12