diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-06-23 23:29:55 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-06-23 23:29:55 -0700 |
commit | f5e5f8aeddb3e0d6d073471aeff6176fb54576e2 (patch) | |
tree | cc5883c298748247d4dd5e67828896c25d957c97 /src/i830.h | |
parent | 89791914d2a78f19f4f60ca370d387e5b1ccfb46 (diff) |
WIP to allow re-probing and validation of modes for new heads at "xrandr" time.
Now, DDC modes always end up being preferred to custom modelines, even if
smaller. This should probably be fixed by inserting custom modelines into
the probed mode list if they're valid according to the probed parameters of the
monitor.
Too much code is lifted from static functions in xf86Mode.c, and those should be
made unstatic if possible. Using xf86ValidateModes is also rather hacky, and
I want to break the function down, but this is a first step.
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -595,7 +595,7 @@ extern Bool I830RandRInit(ScreenPtr pScreen, int rotation); extern Bool I830I2CInit(ScrnInfoPtr pScrn, I2CBusPtr *bus_ptr, int i2c_reg, char *name); /* i830_modes.c */ -int I830ValidateXF86ModeList(ScrnInfoPtr pScrn); +int I830ValidateXF86ModeList(ScrnInfoPtr pScrn, Bool first_time); /* i830_gtf.c */ DisplayModePtr i830GetGTF(int h_pixels, int v_lines, float freq, |