Searched hist:"6383 cf7d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_mode.h | 6383cf7d Tue Oct 05 18:57:36 CDT 2010 Mario Kleiner <mario.kleiner@tuebingen.mpg.de> drm/radeon: Add function for display scanout position query.
radeon_get_crtc_scanoutpos() returns the current horizontal and vertical scanout position of a crtc. It also reports if the display scanout is currently inside the vblank area.
hpos reports current horizontal pixel scanout position. vpos reports the current scanned out line as a value >= 0 in active scanout. If the scanout is inside vblank area, it reports a negative value, the number of scanlines until end of vblank aka start of active scanout, e.g., -3 == "At most 3 scanlines until end of vblank".
This code is derived from radeon_pm_in_vbl(), tested on R500 and R600.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> 6383cf7d Tue Oct 05 18:57:36 CDT 2010 Mario Kleiner <mario.kleiner@tuebingen.mpg.de> drm/radeon: Add function for display scanout position query. radeon_get_crtc_scanoutpos() returns the current horizontal and vertical scanout position of a crtc. It also reports if the display scanout is currently inside the vblank area. hpos reports current horizontal pixel scanout position. vpos reports the current scanned out line as a value >= 0 in active scanout. If the scanout is inside vblank area, it reports a negative value, the number of scanlines until end of vblank aka start of active scanout, e.g., -3 == "At most 3 scanlines until end of vblank". This code is derived from radeon_pm_in_vbl(), tested on R500 and R600. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
|
H A D | radeon_display.c | 6383cf7d Tue Oct 05 18:57:36 CDT 2010 Mario Kleiner <mario.kleiner@tuebingen.mpg.de> drm/radeon: Add function for display scanout position query.
radeon_get_crtc_scanoutpos() returns the current horizontal and vertical scanout position of a crtc. It also reports if the display scanout is currently inside the vblank area.
hpos reports current horizontal pixel scanout position. vpos reports the current scanned out line as a value >= 0 in active scanout. If the scanout is inside vblank area, it reports a negative value, the number of scanlines until end of vblank aka start of active scanout, e.g., -3 == "At most 3 scanlines until end of vblank".
This code is derived from radeon_pm_in_vbl(), tested on R500 and R600.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
|