Home
last modified time | relevance | path

Searched refs:vbl_start (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_vblank.c74 u32 pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local
93 vbl_start = intel_mode_vblank_start(mode); in i915_get_vblank_counter()
96 vbl_start *= htotal; in i915_get_vblank_counter()
99 vbl_start -= htotal - hsync_start; in i915_get_vblank_counter()
117 return (frame + (pixel >= vbl_start)) & 0xffffff; in i915_get_vblank_counter()
332 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local
348 vbl_start = intel_mode_vblank_start(mode); in i915_get_crtc_scanoutpos()
376 if (position >= vbl_start && scanlines < position) in i915_get_crtc_scanoutpos()
392 vbl_start *= htotal; in i915_get_crtc_scanoutpos()
434 if (position >= vbl_start) in i915_get_crtc_scanoutpos()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c1554 int vbl_start, vbl_end, vtotal, ret = 0; in amdgpu_display_get_crtc_scanoutpos() local
1582 vbl_start = vbl & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1586 vbl_start = mode->crtc_vdisplay; in amdgpu_display_get_crtc_scanoutpos()
1593 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1607 vbl_start -= adev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; in amdgpu_display_get_crtc_scanoutpos()
1610 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos()
1620 *vpos -= vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1631 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_display_get_crtc_scanoutpos()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_display.c1813 int vbl_start, vbl_end, vtotal, ret = 0; in radeon_get_crtc_scanoutpos() local
1920 vbl_start = vbl & 0x1fff; in radeon_get_crtc_scanoutpos()
1925 vbl_start = mode->crtc_vdisplay; in radeon_get_crtc_scanoutpos()
1932 *hpos = *vpos - vbl_start; in radeon_get_crtc_scanoutpos()
1946 vbl_start -= rdev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; in radeon_get_crtc_scanoutpos()
1949 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos()
1959 *vpos -= vbl_start; in radeon_get_crtc_scanoutpos()
1970 if (in_vbl && (*vpos >= vbl_start)) { in radeon_get_crtc_scanoutpos()