diff options
Diffstat (limited to 'src/radeon_modes.c')
-rw-r--r-- | src/radeon_modes.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/radeon_modes.c b/src/radeon_modes.c index 66d8a7fb..a5e1cc4d 100644 --- a/src/radeon_modes.c +++ b/src/radeon_modes.c @@ -78,6 +78,17 @@ void RADEONSetPitch (ScrnInfoPtr pScrn) } +static DisplayModePtr RADEONTVModes(xf86OutputPtr output) +{ + DisplayModePtr new = NULL; + + /* just a place holder */ + new = xf86CVTMode(800, 600, 60.00, FALSE, FALSE); + new->type = M_T_DRIVER | M_T_PREFERRED; + + return new; +} + /* This is used only when no mode is specified for FP and no ddc is * available. We force it to native mode, if possible. */ @@ -286,6 +297,10 @@ RADEONProbeOutputModes(xf86OutputPtr output) modes = xf86OutputGetEDIDModes (output); return modes; } + if (radeon_output->type == OUTPUT_STV || radeon_output->type == OUTPUT_CTV) { + modes = RADEONTVModes(output); + return modes; + } if (radeon_output->type == OUTPUT_LVDS) { /* okay we got DDC info */ if (output->MonInfo) { |