Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_crtc.c559 * Wait for psr to idle out after enabling the VBL interrupts in intel_pipe_update_start()
560 * VBL interrupts will start the PSR exit and prevent a PSR in intel_pipe_update_start()
637 if (h >= ARRAY_SIZE(crtc->debug.vbl.times)) in dbg_vblank_evade()
638 h = ARRAY_SIZE(crtc->debug.vbl.times) - 1; in dbg_vblank_evade()
639 crtc->debug.vbl.times[h]++; in dbg_vblank_evade()
641 crtc->debug.vbl.sum += delta; in dbg_vblank_evade()
642 if (!crtc->debug.vbl.min || delta < crtc->debug.vbl.min) in dbg_vblank_evade()
643 crtc->debug.vbl.min = delta; in dbg_vblank_evade()
644 if (delta > crtc->debug.vbl.max) in dbg_vblank_evade()
645 crtc->debug.vbl.max = delta; in dbg_vblank_evade()
[all …]
Dintel_display_debugfs.c468 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) in crtc_updates_info()
469 count += crtc->debug.vbl.times[row]; in crtc_updates_info()
474 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) { in crtc_updates_info()
493 if (crtc->debug.vbl.times[row]) { in crtc_updates_info()
494 x = ilog2(crtc->debug.vbl.times[row]); in crtc_updates_info()
503 hdr, crtc->debug.vbl.min); in crtc_updates_info()
505 hdr, crtc->debug.vbl.max); in crtc_updates_info()
507 hdr, div64_u64(crtc->debug.vbl.sum, count)); in crtc_updates_info()
509 hdr, VBLANK_EVASION_TIME_US, crtc->debug.vbl.over); in crtc_updates_info()
531 memset(&crtc->debug.vbl, 0, sizeof(crtc->debug.vbl)); in crtc_updates_write()
/kernel/linux/linux-6.6/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.c1519 u32 vbl = 0, position = 0; in amdgpu_display_get_crtc_scanoutpos() local
1531 if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0) in amdgpu_display_get_crtc_scanoutpos()
1545 if (vbl > 0) { in amdgpu_display_get_crtc_scanoutpos()
1548 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1549 vbl_end = (vbl >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1607 /* Correct for shifted end of vbl at vbl_end. */ in amdgpu_display_get_crtc_scanoutpos()
/kernel/linux/linux-5.10/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.c810 u32 vbl = 0, position = 0; in amdgpu_display_get_crtc_scanoutpos() local
822 if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0) in amdgpu_display_get_crtc_scanoutpos()
836 if (vbl > 0) { in amdgpu_display_get_crtc_scanoutpos()
839 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
840 vbl_end = (vbl >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
899 /* Correct for shifted end of vbl at vbl_end. */ in amdgpu_display_get_crtc_scanoutpos()
Ddce_virtual.c69 u32 *vbl, u32 *position) in dce_virtual_crtc_get_scanoutpos() argument
71 *vbl = 0; in dce_virtual_crtc_get_scanoutpos()
/kernel/linux/linux-6.6/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.h106 * 1.28- Add support for VBL on CRTC2
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_display.c1824 u32 stat_crtc = 0, vbl = 0, position = 0; in radeon_get_crtc_scanoutpos() local
1838 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1845 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1852 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1859 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1866 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1873 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos()
1881 vbl = RREG32(AVIVO_D1CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos()
1886 vbl = RREG32(AVIVO_D2CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos()
1896 vbl = (RREG32(RADEON_CRTC_V_TOTAL_DISP) & in radeon_get_crtc_scanoutpos()
[all …]
Dradeon_drv.h106 * 1.28- Add support for VBL on CRTC2
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/drm/
Ddrm_vblank.h65 * @event.vbl:
72 struct drm_event_vblank vbl; member
/kernel/linux/linux-6.6/include/drm/
Ddrm_vblank.h65 * @event.vbl:
72 struct drm_event_vblank vbl; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/include/uapi/linux/
Dfb.h198 #define FB_ACTIVATE_NOW 0 /* set values immediately (or vbl)*/
203 #define FB_ACTIVATE_VBL 16 /* activate values on next vbl */
204 #define FB_CHANGE_CMAP_VBL 32 /* change colormap on vbl */
/kernel/linux/linux-5.10/include/uapi/linux/
Dfb.h198 #define FB_ACTIVATE_NOW 0 /* set values immediately (or vbl)*/
203 #define FB_ACTIVATE_VBL 16 /* activate values on next vbl */
204 #define FB_CHANGE_CMAP_VBL 32 /* change colormap on vbl */
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank.c325 /* some kind of default for drivers w/o accurate vbl timestamping */ in drm_update_vblank_count()
987 e->event.vbl.sequence = seq; in send_vblank_event()
993 e->event.vbl.tv_sec = tv.tv_sec; in send_vblank_event()
994 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.c131 /* Already scheduled w/ same vbl count */ in drm_vblank_work_schedule()
Ddrm_print.c52 "\t\tBit 5 (0x20) will enable VBL messages (vblank code)\n"
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_vblank.c328 /* 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()
1678 e->event.base.length = sizeof(e->event.vbl); in drm_queue_vblank_event()
1679 e->event.vbl.user_data = vblwait->request.signal; in drm_queue_vblank_event()
1680 e->event.vbl.crtc_id = 0; in drm_queue_vblank_event()
1685 e->event.vbl.crtc_id = crtc->base.id; in drm_queue_vblank_event()
Ddrm_vblank_work.c131 /* 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"
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/panel/
Dpanel-edp.yaml79 (Vbl) :<T17>:<---------T14--------->: :<-T15->:<T18>:
/kernel/linux/linux-5.10/arch/m68k/atari/
Dataints.c305 tt_scu.sys_mask = 0x10; /* enable VBL (for the cursor) and in atari_init_IRQ()

123