Home
last modified time | relevance | path

Searched refs:vbl (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_crtc.c596 if (h >= ARRAY_SIZE(crtc->debug.vbl.times)) in dbg_vblank_evade()
597 h = ARRAY_SIZE(crtc->debug.vbl.times) - 1; in dbg_vblank_evade()
598 crtc->debug.vbl.times[h]++; in dbg_vblank_evade()
600 crtc->debug.vbl.sum += delta; in dbg_vblank_evade()
601 if (!crtc->debug.vbl.min || delta < crtc->debug.vbl.min) in dbg_vblank_evade()
602 crtc->debug.vbl.min = delta; in dbg_vblank_evade()
603 if (delta > crtc->debug.vbl.max) in dbg_vblank_evade()
604 crtc->debug.vbl.max = delta; in dbg_vblank_evade()
612 crtc->debug.vbl.over++; in dbg_vblank_evade()
Dintel_display_debugfs.c756 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) in crtc_updates_info()
757 count += crtc->debug.vbl.times[row]; in crtc_updates_info()
762 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) { in crtc_updates_info()
781 if (crtc->debug.vbl.times[row]) { in crtc_updates_info()
782 x = ilog2(crtc->debug.vbl.times[row]); in crtc_updates_info()
791 hdr, crtc->debug.vbl.min); in crtc_updates_info()
793 hdr, crtc->debug.vbl.max); in crtc_updates_info()
795 hdr, div64_u64(crtc->debug.vbl.sum, count)); in crtc_updates_info()
797 hdr, VBLANK_EVASION_TIME_US, crtc->debug.vbl.over); in crtc_updates_info()
819 memset(&crtc->debug.vbl, 0, sizeof(crtc->debug.vbl)); in crtc_updates_write()
Dintel_display_types.h1407 } vbl; member
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.h34 …age_flip_get_scanoutpos(adev, crtc, vbl, pos) (adev)->mode_info.funcs->page_flip_get_scanoutpos((a… argument
Damdgpu_display.c1433 u32 vbl = 0, position = 0; in amdgpu_display_get_crtc_scanoutpos() local
1445 if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0) in amdgpu_display_get_crtc_scanoutpos()
1459 if (vbl > 0) { in amdgpu_display_get_crtc_scanoutpos()
1462 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1463 vbl_end = (vbl >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
Damdgpu_mode.h282 u32 *vbl, u32 *position);
Ddce_v6_0.c214 u32 *vbl, u32 *position) in dce_v6_0_crtc_get_scanoutpos() argument
218 *vbl = RREG32(mmCRTC_V_BLANK_START_END + crtc_offsets[crtc]); in dce_v6_0_crtc_get_scanoutpos()
Ddce_v8_0.c207 u32 *vbl, u32 *position) in dce_v8_0_crtc_get_scanoutpos() argument
212 *vbl = RREG32(mmCRTC_V_BLANK_START_END + crtc_offsets[crtc]); in dce_v8_0_crtc_get_scanoutpos()
Ddce_v10_0.c262 u32 *vbl, u32 *position) in dce_v10_0_crtc_get_scanoutpos() argument
267 *vbl = RREG32(mmCRTC_V_BLANK_START_END + crtc_offsets[crtc]); in dce_v10_0_crtc_get_scanoutpos()
Ddce_v11_0.c280 u32 *vbl, u32 *position) in dce_v11_0_crtc_get_scanoutpos() argument
285 *vbl = RREG32(mmCRTC_V_BLANK_START_END + crtc_offsets[crtc]); in dce_v11_0_crtc_get_scanoutpos()
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_display.c1818 u32 stat_crtc = 0, vbl = 0, position = 0; in radeon_get_crtc_scanoutpos() local
1832 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1839 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1846 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1853 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1860 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1867 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1875 vbl = RREG32(AVIVO_D1CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos()
1880 vbl = RREG32(AVIVO_D2CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos()
1890 vbl = (RREG32(RADEON_CRTC_V_TOTAL_DISP) & in radeon_get_crtc_scanoutpos()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv40.c80 u32 vbl = nvkm_rd32(device, 0x600808 + (i * 0x2000)); in nv40_ram_prog() local
83 if (vbl != nvkm_rd32(device, 0x600808 + (i * 0x2000))) { in nv40_ram_prog()
/Linux-v6.1/drivers/gpu/drm/
Ddrm_vblank.c993 e->event.vbl.sequence = seq; in send_vblank_event()
999 e->event.vbl.tv_sec = tv.tv_sec; in send_vblank_event()
1000 e->event.vbl.tv_usec = tv.tv_nsec / 1000; in send_vblank_event()
1637 e->event.base.length = sizeof(e->event.vbl); in drm_queue_vblank_event()
1638 e->event.vbl.user_data = vblwait->request.signal; in drm_queue_vblank_event()
1639 e->event.vbl.crtc_id = 0; in drm_queue_vblank_event()
1644 e->event.vbl.crtc_id = crtc->base.id; in drm_queue_vblank_event()
Ddrm_plane.c1350 e->event.vbl.user_data = page_flip->user_data; in drm_mode_page_flip_ioctl()
1351 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
Ddrm_atomic_uapi.c911 e->event.vbl.crtc_id = crtc->base.id; in create_vblank_event()
912 e->event.vbl.user_data = user_data; in create_vblank_event()
/Linux-v6.1/include/drm/
Ddrm_vblank.h72 struct drm_event_vblank vbl; member
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c765 &event->event.vbl.tv_sec, in vmw_sou_primary_plane_atomic_update()
766 &event->event.vbl.tv_usec, in vmw_sou_primary_plane_atomic_update()
Dvmwgfx_stdu.c1651 &event->event.vbl.tv_sec, in vmw_stdu_primary_plane_atomic_update()
1652 &event->event.vbl.tv_usec, in vmw_stdu_primary_plane_atomic_update()
/Linux-v6.1/drivers/video/fbdev/aty/
Datyfb_base.c1770 struct aty_interrupt *vbl; in aty_waitforvblank() local
1776 vbl = &par->vblank; in aty_waitforvblank()
1786 count = vbl->count; in aty_waitforvblank()
1787 ret = wait_event_interruptible_timeout(vbl->wait, in aty_waitforvblank()
1788 count != vbl->count, HZ/10); in aty_waitforvblank()
/Linux-v6.1/drivers/video/fbdev/matrox/
Dmatroxfb_base.c314 int vbl; in matrox_pan_var() local
334 vbl = (var->activate & FB_ACTIVATE_VBL) && (matroxfb_enable_irq(minfo, 0) == 0); in matrox_pan_var()
343 if (vbl) { in matrox_pan_var()
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c272 u32 *vbl, u32 *position) in dm_crtc_get_scanoutpos() argument
298 *vbl = v_blank_start | (v_blank_end << 16); in dm_crtc_get_scanoutpos()