diff options
author | Eric Anholt <eric@anholt.net> | 2006-10-31 17:10:08 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-10-31 17:10:08 -0800 |
commit | 7195dfabd56239f08cdd8175a2ef3a66ef9600de (patch) | |
tree | c83545579654d375332e01d19a4a79e8604b00a9 /src/i830_crt.c | |
parent | cc3728be2481637dda321d3bc2e4e89a220699cd (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_crt.c')
-rw-r--r-- | src/i830_crt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c index d271eedb..bd0099ac 100644 --- a/src/i830_crt.c +++ b/src/i830_crt.c @@ -286,6 +286,7 @@ i830_crt_init(ScrnInfoPtr pScrn) pI830->output[pI830->num_outputs].pre_set_mode = i830_crt_pre_set_mode; pI830->output[pI830->num_outputs].post_set_mode = i830_crt_post_set_mode; pI830->output[pI830->num_outputs].detect = i830_crt_detect; + pI830->output[pI830->num_outputs].get_modes = i830_ddc_get_modes; /* Set up the DDC bus. */ I830I2CInit(pScrn, &pI830->output[pI830->num_outputs].pDDCBus, |