Home
last modified time | relevance | path

Searched full:vbl (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_crtc.c518 * Wait for psr to idle out after enabling the VBL interrupts in intel_pipe_update_start()
519 * VBL interrupts will start the PSR exit and prevent a PSR in intel_pipe_update_start()
552 if (h >= ARRAY_SIZE(crtc->debug.vbl.times)) in dbg_vblank_evade()
553 h = ARRAY_SIZE(crtc->debug.vbl.times) - 1; in dbg_vblank_evade()
554 crtc->debug.vbl.times[h]++; in dbg_vblank_evade()
556 crtc->debug.vbl.sum += delta; in dbg_vblank_evade()
557 if (!crtc->debug.vbl.min || delta < crtc->debug.vbl.min) in dbg_vblank_evade()
558 crtc->debug.vbl.min = delta; in dbg_vblank_evade()
559 if (delta > crtc->debug.vbl.max) in dbg_vblank_evade()
560 crtc->debug.vbl.max = delta; in dbg_vblank_evade()
[all …]
Dintel_display_debugfs.c457 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) in crtc_updates_info()
458 count += crtc->debug.vbl.times[row]; in crtc_updates_info()
463 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) { in crtc_updates_info()
482 if (crtc->debug.vbl.times[row]) { in crtc_updates_info()
483 x = ilog2(crtc->debug.vbl.times[row]); in crtc_updates_info()
492 hdr, crtc->debug.vbl.min); in crtc_updates_info()
494 hdr, crtc->debug.vbl.max); in crtc_updates_info()
496 hdr, div64_u64(crtc->debug.vbl.sum, count)); in crtc_updates_info()
498 hdr, VBLANK_EVASION_TIME_US, crtc->debug.vbl.over); in crtc_updates_info()
520 memset(&crtc->debug.vbl, 0, sizeof(crtc->debug.vbl)); in crtc_updates_write()
/linux-6.12.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.c1553 u32 vbl = 0, position = 0; in amdgpu_display_get_crtc_scanoutpos() local
1565 if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0) in amdgpu_display_get_crtc_scanoutpos()
1579 if (vbl > 0) { in amdgpu_display_get_crtc_scanoutpos()
1582 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1583 vbl_end = (vbl >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1641 /* Correct for shifted end of vbl at vbl_end. */ in amdgpu_display_get_crtc_scanoutpos()
Damdgpu_mode.h281 u32 *vbl, u32 *position);
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_display.c1812 u32 stat_crtc = 0, vbl = 0, position = 0; in radeon_get_crtc_scanoutpos() local
1826 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1833 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1840 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1847 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1854 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1861 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1869 vbl = RREG32(AVIVO_D1CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos()
1874 vbl = RREG32(AVIVO_D2CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos()
1884 vbl = (RREG32(RADEON_CRTC_V_TOTAL_DISP) & in radeon_get_crtc_scanoutpos()
[all …]
Dradeon_drv.h105 * 1.28- Add support for VBL on CRTC2
Dradeon_pm.c1849 DRM_DEBUG_DRIVER("not in vbl for pm change %08x at %s\n", stat_crtc, in radeon_pm_debug_check_in_vbl()
1899 * to false since we want to wait for vbl to avoid flicker. in radeon_dynpm_idle_work_handler()
/linux-6.12.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-6.12.1/include/uapi/linux/
Dfb.h199 #define FB_ACTIVATE_NOW 0 /* set values immediately (or vbl)*/
204 #define FB_ACTIVATE_VBL 16 /* activate values on next vbl */
205 #define FB_CHANGE_CMAP_VBL 32 /* change colormap on vbl */
/linux-6.12.1/include/drm/
Ddrm_vblank.h65 * @event.vbl:
72 struct drm_event_vblank vbl; member
/linux-6.12.1/drivers/gpu/drm/
Ddrm_vblank.c336 /* some kind of default for drivers w/o accurate vbl timestamping */ in drm_update_vblank_count()
1034 e->event.vbl.sequence = seq; in send_vblank_event()
1040 e->event.vbl.tv_sec = tv.tv_sec; in send_vblank_event()
1041 e->event.vbl.tv_usec = tv.tv_nsec / 1000; in send_vblank_event()
1625 e->event.base.length = sizeof(e->event.vbl); in drm_queue_vblank_event()
1626 e->event.vbl.user_data = vblwait->request.signal; in drm_queue_vblank_event()
1627 e->event.vbl.crtc_id = 0; in drm_queue_vblank_event()
1632 e->event.vbl.crtc_id = crtc->base.id; in drm_queue_vblank_event()
Ddrm_vblank_work.c134 /* Already scheduled w/ same vbl count */ in drm_vblank_work_schedule()
Ddrm_print.c51 "\t\tBit 5 (0x20) will enable VBL messages (vblank code)\n"
Ddrm_atomic_uapi.c935 e->event.vbl.crtc_id = crtc->base.id; in create_vblank_event()
936 e->event.vbl.user_data = user_data; in create_vblank_event()
Ddrm_plane.c1498 e->event.vbl.user_data = page_flip->user_data; in drm_mode_page_flip_ioctl()
1499 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
/linux-6.12.1/Documentation/devicetree/bindings/display/panel/
Dpanel-edp.yaml79 (Vbl) :<T17>:<---------T14--------->: :<-T15->:<T18>:
/linux-6.12.1/drivers/video/fbdev/
Docfb.c165 /* maximum (8) VBL (video memory burst length) */ in ocfb_setupfb()
Datafb.c26 * Video mode switch on Falcon now done at next VBL interrupt
1564 /* Tell vbl-handler to change video mode. in falcon_set_par()
1565 * We change modes only on next VBL, to avoid desynchronisation in falcon_set_par()
Dpvr2fb.c913 "pvr2 VBL handler", fb_info)) { in pvr2fb_dc_init()
/linux-6.12.1/arch/m68k/include/asm/
Dmac_via.h157 #define VIA2B_vVBL 0x80 /* VBL output to VIA1 (60.15Hz) driven by
/linux-6.12.1/drivers/video/fbdev/matrox/
Dmatroxfb_base.c260 /* Flush pending pan-at-vbl request... */ in matroxfb_disable_irq()
314 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-6.12.1/drivers/video/fbdev/aty/
Datyfb_base.c1773 struct aty_interrupt *vbl; in aty_waitforvblank() local
1779 vbl = &par->vblank; in aty_waitforvblank()
1789 count = vbl->count; in aty_waitforvblank()
1790 ret = wait_event_interruptible_timeout(vbl->wait, in aty_waitforvblank()
1791 count != vbl->count, HZ/10); in aty_waitforvblank()
/linux-6.12.1/drivers/tty/
Damiserial.c377 /* vbl is just a periodic interrupt we tie into to update modem status */ in ser_vbl_int()
644 * Does clearing IER_MSI imply that we should disable the VBL interrupt ? in change_speed()
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-sitronix-st7703.c254 0x74, /* VBTHS, VBTLS: VGH = 17V, VBL = -11V */ in xbd599_init_sequence()

12