From 6b9b7a7bdc290d07de9b226691ec8025af8db896 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 29 Jul 2007 15:23:14 -0400 Subject: RADEON: Initial pass at integrated tv out support Based on the GATOS tv-out support by Federico Ulivi and information from ati with substantial rework by myself. Code is not actually hooked up yet. --- src/radeon_probe.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/radeon_probe.h') diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 0dceca90..f0df3410 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -137,6 +137,18 @@ typedef enum OUTPUT_CTV, } RADEONOutputType; +/* standards */ +typedef enum +{ + TV_STD_NTSC, + TV_STD_PAL, + TV_STD_PAL_M, + TV_STD_PAL_60, + TV_STD_NTSC_J, + TV_STD_PAL_CN, + TV_STD_PAL_N +} TVStd; + typedef struct _RADEONCrtcPrivateRec { #ifdef USE_XAA FBLinearPtr rotate_mem_xaa; @@ -184,6 +196,11 @@ typedef struct _RADEONOutputPrivateRec { int PanelPwrDly; int DotClock; RADEONTMDSPll tmds_pll[4]; + /* TV out */ + TVStd tvStd; + int hPos; + int vPos; + int hSize; } RADEONOutputPrivateRec, *RADEONOutputPrivatePtr; #define RADEON_MAX_CRTC 2 -- cgit v1.2.3