diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-06-26 07:46:28 +0200 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-06-26 07:46:28 +0200 |
commit | 52e8231a19f28bd4744f983aee2197a18c20aa3a (patch) | |
tree | 4182ebb54e0930e089f9c05168eedad2790bf8e0 /src/i830.h | |
parent | f5e5f8aeddb3e0d6d073471aeff6176fb54576e2 (diff) |
Major cleanup of mode reprobing:
- Don't mess with pScrn->monitor->Modes, and instead make our own availModes.
- Don't re-program the pipe with the same values (no flicker at xrandr)
- Move a bunch of stuff that should be exposed through the public API (probably)
to i830_xf86Modes.c
- Use a table with established modes plus GTF to come up with modes from EDID,
instead of trying to walk and find one in pScrn->monitor->Modes. I think
this is correct.
- Reset clone state if we've detected new pipes, which should turn on the
cursor.
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -403,6 +403,7 @@ typedef struct _I830Rec { int planeEnabled[MAX_DISPLAY_PIPES]; xf86MonPtr pipeMon[MAX_DISPLAY_PIPES]; DisplayModePtr pipeModes[MAX_DISPLAY_PIPES]; + DisplayModeRec pipeCurMode[MAX_DISPLAY_PIPES]; /* Driver phase/state information */ Bool preinit; |