summaryrefslogtreecommitdiff
path: root/src/i830_dvo.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_dvo.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_dvo.c')
-rw-r--r--src/i830_dvo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index ed21ecc5..c788e4f4 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -201,6 +201,7 @@ i830_dvo_init(ScrnInfoPtr pScrn)
pI830->output[i].pre_set_mode = i830_dvo_pre_set_mode;
pI830->output[i].post_set_mode = i830_dvo_post_set_mode;
pI830->output[i].detect = i830_dvo_detect;
+ pI830->output[i].get_modes = i830_ddc_get_modes;
/* Set up the I2C and DDC buses */
ret = I830I2CInit(pScrn, &pI830->output[i].pI2CBus, GPIOE, "DVOI2C_E");