Searched refs:vbl_start (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 800 int vbl_start, vbl_end, vtotal, ret = 0; amdgpu_get_crtc_scanoutpos() local 828 vbl_start = vbl & 0x1fff; amdgpu_get_crtc_scanoutpos() 833 vbl_start = mode->crtc_vdisplay; amdgpu_get_crtc_scanoutpos() 839 /* Caller wants distance from real vbl_start in *hpos */ amdgpu_get_crtc_scanoutpos() 840 *hpos = *vpos - vbl_start; amdgpu_get_crtc_scanoutpos() 854 vbl_start -= adev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; amdgpu_get_crtc_scanoutpos() 857 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) amdgpu_get_crtc_scanoutpos() 866 /* Caller wants distance from fudged earlier vbl_start */ amdgpu_get_crtc_scanoutpos() 867 *vpos -= vbl_start; amdgpu_get_crtc_scanoutpos() 878 if (in_vbl && (*vpos >= vbl_start)) { amdgpu_get_crtc_scanoutpos()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 1859 int vbl_start, vbl_end, vtotal, ret = 0; radeon_get_crtc_scanoutpos() local 1927 /* Assume vbl_end == 0, get vbl_start from radeon_get_crtc_scanoutpos() 1966 vbl_start = vbl & 0x1fff; radeon_get_crtc_scanoutpos() 1971 vbl_start = mode->crtc_vdisplay; radeon_get_crtc_scanoutpos() 1977 /* Caller wants distance from real vbl_start in *hpos */ radeon_get_crtc_scanoutpos() 1978 *hpos = *vpos - vbl_start; radeon_get_crtc_scanoutpos() 1992 vbl_start -= rdev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; radeon_get_crtc_scanoutpos() 1995 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) radeon_get_crtc_scanoutpos() 2004 /* Caller wants distance from fudged earlier vbl_start */ radeon_get_crtc_scanoutpos() 2005 *vpos -= vbl_start; radeon_get_crtc_scanoutpos() 2016 if (in_vbl && (*vpos >= vbl_start)) { radeon_get_crtc_scanoutpos()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_irq.c | 670 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; i915_get_vblank_counter() local 677 vbl_start = mode->crtc_vblank_start; i915_get_vblank_counter() 679 vbl_start = DIV_ROUND_UP(vbl_start, 2); i915_get_vblank_counter() 682 vbl_start *= htotal; i915_get_vblank_counter() 685 vbl_start -= htotal - hsync_start; i915_get_vblank_counter() 710 return (((high1 << 8) | low) + (pixel >= vbl_start)) & 0xffffff; i915_get_vblank_counter() 782 int vbl_start, vbl_end, hsync_start, htotal, vtotal; i915_get_crtc_scanoutpos() local 796 vbl_start = mode->crtc_vblank_start; i915_get_crtc_scanoutpos() 800 vbl_start = DIV_ROUND_UP(vbl_start, 2); i915_get_crtc_scanoutpos() 833 vbl_start *= htotal; i915_get_crtc_scanoutpos() 869 in_vbl = position >= vbl_start && position < vbl_end; i915_get_crtc_scanoutpos() 877 if (position >= vbl_start) i915_get_crtc_scanoutpos()
|
Completed in 131 milliseconds