summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-09-07 11:51:16 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-09-07 11:51:16 -0400
commitb90cb61ccb0f4f80e0627141f223354a9371d47d (patch)
treea85c4fc8d44caa4b9cd3257cb5018b5afb42cc9b /src
parent2b98ec1f7e931019a4ab699a56d5dfaa395946fb (diff)
radeon: set interlaced and doublescan enabled for randr outputs
interlaced used to work without setting these parameters. Changes in the xserver seem to require them now. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=29591
Diffstat (limited to 'src')
-rw-r--r--src/drmmode_display.c2
-rw-r--r--src/radeon_output.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 6a4a32d1..a6038b23 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -960,6 +960,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num)
output->mm_height = koutput->mmHeight;
output->subpixel_order = subpixel_conv_table[koutput->subpixel];
+ output->interlaceAllowed = TRUE;
+ output->doubleScanAllowed = TRUE;
output->driver_private = drmmode_output;
output->possible_crtcs = 0x7f;
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 121be75b..283d32f4 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -3083,6 +3083,8 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
if (!output) {
return FALSE;
}
+ output->interlaceAllowed = TRUE;
+ output->doubleScanAllowed = TRUE;
output->driver_private = radeon_output;
if (IS_DCE4_VARIANT) {
output->possible_crtcs = 0x3f;