/linux/drivers/gpu/drm/i915/display/ |
A D | intel_crtc.c | 500 if (h >= ARRAY_SIZE(crtc->debug.vbl.times)) in dbg_vblank_evade() 501 h = ARRAY_SIZE(crtc->debug.vbl.times) - 1; in dbg_vblank_evade() 502 crtc->debug.vbl.times[h]++; in dbg_vblank_evade() 504 crtc->debug.vbl.sum += delta; in dbg_vblank_evade() 505 if (!crtc->debug.vbl.min || delta < crtc->debug.vbl.min) in dbg_vblank_evade() 506 crtc->debug.vbl.min = delta; in dbg_vblank_evade() 507 if (delta > crtc->debug.vbl.max) in dbg_vblank_evade() 508 crtc->debug.vbl.max = delta; in dbg_vblank_evade() 516 crtc->debug.vbl.over++; in dbg_vblank_evade()
|
A D | intel_display_debugfs.c | 913 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) in crtc_updates_info() 914 count += crtc->debug.vbl.times[row]; in crtc_updates_info() 919 for (row = 0; row < ARRAY_SIZE(crtc->debug.vbl.times); row++) { in crtc_updates_info() 938 if (crtc->debug.vbl.times[row]) { in crtc_updates_info() 939 x = ilog2(crtc->debug.vbl.times[row]); in crtc_updates_info() 948 hdr, crtc->debug.vbl.min); in crtc_updates_info() 950 hdr, crtc->debug.vbl.max); in crtc_updates_info() 952 hdr, div64_u64(crtc->debug.vbl.sum, count)); in crtc_updates_info() 954 hdr, VBLANK_EVASION_TIME_US, crtc->debug.vbl.over); in crtc_updates_info() 976 memset(&crtc->debug.vbl, 0, sizeof(crtc->debug.vbl)); in crtc_updates_write()
|
A D | intel_display_types.h | 1321 } vbl; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_display.h | 34 …age_flip_get_scanoutpos(adev, crtc, vbl, pos) (adev)->mode_info.funcs->page_flip_get_scanoutpos((a… argument
|
A D | amdgpu_display.c | 1441 u32 vbl = 0, position = 0; in amdgpu_display_get_crtc_scanoutpos() local 1453 if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0) in amdgpu_display_get_crtc_scanoutpos() 1467 if (vbl > 0) { in amdgpu_display_get_crtc_scanoutpos() 1470 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 1471 vbl_end = (vbl >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
|
A D | amdgpu_mode.h | 284 u32 *vbl, u32 *position);
|
A D | dce_v8_0.c | 207 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()
|
A D | dce_v6_0.c | 214 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()
|
A D | dce_v10_0.c | 262 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()
|
A D | dce_v11_0.c | 280 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/drivers/gpu/drm/radeon/ |
A D | radeon_display.c | 1810 u32 stat_crtc = 0, vbl = 0, position = 0; in radeon_get_crtc_scanoutpos() local 1824 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos() 1831 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos() 1838 vbl = RREG32(EVERGREEN_CRTC_V_BLANK_START_END + in radeon_get_crtc_scanoutpos() 1867 vbl = RREG32(AVIVO_D1CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos() 1872 vbl = RREG32(AVIVO_D2CRTC_V_BLANK_START_END); in radeon_get_crtc_scanoutpos() 1882 vbl = (RREG32(RADEON_CRTC_V_TOTAL_DISP) & in radeon_get_crtc_scanoutpos() 1893 vbl = (RREG32(RADEON_CRTC2_V_TOTAL_DISP) & in radeon_get_crtc_scanoutpos() 1915 if (vbl > 0) { in radeon_get_crtc_scanoutpos() 1918 vbl_start = vbl & 0x1fff; in radeon_get_crtc_scanoutpos() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | ramnv40.c | 80 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/drivers/gpu/drm/ |
A D | drm_vblank.c | 993 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()
|
A D | drm_plane.c | 1346 e->event.vbl.user_data = page_flip->user_data; in drm_mode_page_flip_ioctl() 1347 e->event.vbl.crtc_id = crtc->base.id; in drm_mode_page_flip_ioctl()
|
A D | drm_atomic_uapi.c | 941 e->event.vbl.crtc_id = crtc->base.id; in create_vblank_event() 942 e->event.vbl.user_data = user_data; in create_vblank_event()
|
/linux/include/drm/ |
A D | drm_vblank.h | 72 struct drm_event_vblank vbl; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_scrn.c | 770 &event->event.vbl.tv_sec, in vmw_sou_primary_plane_atomic_update() 771 &event->event.vbl.tv_usec, in vmw_sou_primary_plane_atomic_update()
|
A D | vmwgfx_stdu.c | 1647 &event->event.vbl.tv_sec, in vmw_stdu_primary_plane_atomic_update() 1648 &event->event.vbl.tv_usec, in vmw_stdu_primary_plane_atomic_update()
|
/linux/drivers/video/fbdev/aty/ |
A D | atyfb_base.c | 1770 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/drivers/video/fbdev/matrox/ |
A D | matroxfb_base.c | 313 int vbl; in matrox_pan_var() local 333 vbl = (var->activate & FB_ACTIVATE_VBL) && (matroxfb_enable_irq(minfo, 0) == 0); in matrox_pan_var() 342 if (vbl) { in matrox_pan_var()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 257 u32 *vbl, u32 *position) in dm_crtc_get_scanoutpos() argument 283 *vbl = v_blank_start | (v_blank_end << 16); in dm_crtc_get_scanoutpos()
|