summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-10-31 17:10:08 -0800
committerEric Anholt <eric@anholt.net>2006-10-31 17:10:08 -0800
commit7195dfabd56239f08cdd8175a2ef3a66ef9600de (patch)
treec83545579654d375332e01d19a4a79e8604b00a9 /src/i830_sdvo.c
parentcc3728be2481637dda321d3bc2e4e89a220699cd (diff)
Give each output a get_modes function and expose those modes through RandR.
The get_modes should return the probed modes only. The driver should then append to the list (for example, compatible modes listed in other outputs, or standard VESA modes) to create the list to expose through RandR. That isn't done yet.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index 3932ea65..b6a3d676 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -940,6 +940,7 @@ i830_sdvo_init(ScrnInfoPtr pScrn, int output_device)
output->pre_set_mode = i830_sdvo_pre_set_mode;
output->post_set_mode = i830_sdvo_post_set_mode;
output->detect = i830_sdvo_detect;
+ output->get_modes = i830_ddc_get_modes;
/* While it's the same bus, we just initialize a new copy to avoid trouble
* with tracking refcounting ourselves, since the XFree86 DDX bits don't.