Searched refs:vbl_start (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 813 int vbl_start, vbl_end, vtotal, ret = 0; in amdgpu_display_get_crtc_scanoutpos() local 841 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 846 vbl_start = mode->crtc_vdisplay; in amdgpu_display_get_crtc_scanoutpos() 853 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 867 vbl_start -= adev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; in amdgpu_display_get_crtc_scanoutpos() 870 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos() 880 *vpos -= vbl_start; in amdgpu_display_get_crtc_scanoutpos() 891 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_display_get_crtc_scanoutpos()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 1825 int vbl_start, vbl_end, vtotal, ret = 0; in radeon_get_crtc_scanoutpos() local 1932 vbl_start = vbl & 0x1fff; in radeon_get_crtc_scanoutpos() 1937 vbl_start = mode->crtc_vdisplay; in radeon_get_crtc_scanoutpos() 1944 *hpos = *vpos - vbl_start; in radeon_get_crtc_scanoutpos() 1958 vbl_start -= rdev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; in radeon_get_crtc_scanoutpos() 1961 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos() 1971 *vpos -= vbl_start; in radeon_get_crtc_scanoutpos() 1982 if (in_vbl && (*vpos >= vbl_start)) { in radeon_get_crtc_scanoutpos()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_irq.c | 623 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local 642 vbl_start = mode->crtc_vblank_start; in i915_get_vblank_counter() 644 vbl_start = DIV_ROUND_UP(vbl_start, 2); in i915_get_vblank_counter() 647 vbl_start *= htotal; in i915_get_vblank_counter() 650 vbl_start -= htotal - hsync_start; in i915_get_vblank_counter() 679 return (((high1 << 8) | low) + (pixel >= vbl_start)) & 0xffffff; in i915_get_vblank_counter() 817 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local 833 vbl_start = mode->crtc_vblank_start; in i915_get_crtc_scanoutpos() 837 vbl_start = DIV_ROUND_UP(vbl_start, 2); in i915_get_crtc_scanoutpos() 868 vbl_start *= htotal; in i915_get_crtc_scanoutpos() [all …]
|