Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-19 | Disable configure-disabled outputs before mode setting. | Eric Anholt | |
We're not supposed to turn off pipes/planes/dplls with outputs attached, which we could have done before this. | |||
2006-12-19 | Simplify i830DisableUnusedFunctions() by using the CRTC dpms routines. | Eric Anholt | |
2006-12-19 | Writing 1 to I2C line means to tristate the bus so others can manipulate it. | Keith Packard | |
We were forcing bus lines to 1 which was breaking DDC for some monitors. Instead, make the PutBits function just tristate when writing 1 bits. | |||
2006-12-18 | Add a detect() function for DVO chips, and implement it on sil164. | Eric Anholt | |
2006-12-18 | Fix crash in xf86SetScrnInfoModes when pScrn->modes ends up empty. | Eric Anholt | |
2006-12-18 | Clean up i2c_vid interface, including de-StudlyCapsing and removing dead code. | Eric Anholt | |
The old Init() function is removed and the previous Detect() function is now init(). This leaves us room in the namespace for a detect() like other outputs have ("is the monitor connected?"). Also, Power() became dpms(), taking a DPMSMode*. In general, the mode setting path now matches the intel internal path, except for the lack of mode_fixup(). | |||
2006-12-19 | ch7xxx: add lookup table for name | Dave Airlie | |
Don't load if we don't match name | |||
2006-12-18 | Limit modes to 165Mhz on CH7009, according to spec. | Eric Anholt | |
2006-12-18 | Align the driver to the CH7009[AB] spec. | Eric Anholt | |
With this, the driver works at 640x480 and 1280x1024 on my panel. | |||
2006-12-18 | Clean up a bunch of log noise from ch7xxx startup. | Eric Anholt | |
2006-12-18 | Fix DVO mode valid function to not throw out all modes. | Eric Anholt | |
2006-12-18 | Add save/restore to ch7xxx to avoid segfaults on server start. | Eric Anholt | |
2006-12-18 | Move the ch7xxx code to the style I've been settling on for output code. | Eric Anholt | |
2006-12-18 | Bug #8786: Treat pictures with no color data as non-component alpha. | Eric Anholt | |
This is an un(der?)-documented part of the render protocol: If the mask is alpha only, then the component alpha flag is ignored on it. | |||
2006-12-16 | Follow mode setting order in RestoreHWState. | Keith Packard | |
Add delays after output and CRTC disable. Restore panel fit register before PLLs are restarted. Move all VGA restore code last. Shuffle various register writes around and add delays to match PipeSetMode code. | |||
2006-12-16 | Prefer earliest CRTC when mapping to outputs. | Keith Packard | |
For some reason, the code was preferring the last possible output when mapping outputs to crtcs. Use the earlier CRTC instead to make the i830 driver consistent with BIOS usage. | |||
2006-12-16 | Not restoring active outputs. Wait for input sync before enabling outputs. | Keith Packard | |
Oops--looks like a typo to me; the code was callint set_target_output instead of set_active_outputs. BIOS loops waiting for the SDVO input to sync before enabling outputs, this makes sense to me. | |||
2006-12-16 | Follow BIOS order in writing DPLL/DPLL_MD registers. | Keith Packard | |
965 BIOS writes DPLL and then DPLL_MD. 945 BIOS writes DPLL twice. | |||
2006-12-16 | reorder restore writes for 965 VGA | Keith Packard | |
2006-12-14 | Follow BIOS PLL write protocol (disable,enable,enable). | Keith Packard | |
This gets VGA output and text restore working, but SDVO is still not working. | |||
2006-12-14 | Turn pll/pipe/plane on in crtc_set_mode | Keith Packard | |
Instead of delaying pll/pipe/plane enables to the dpms function, turn them on right away in the crtc_set_mode function. To avoid rewriting these registers in the subsequent dpms function, check each register written there to see if the enable bit is already on and don't rewrite. | |||
2006-12-14 | Respect Virtual in xorg.conf | Keith Packard | |
Instead of growing virtual to fit our desired sizes, if it is set in the config file, use the value as the virtual size and make the default configuration fit within that size (if possible). | |||
2006-12-14 | Set frame buffer size ranges in xf86_config. | Keith Packard | |
Initialization and default configuration code needs to know the range of legitimate sizes for the frame buffer. | |||
2006-12-14 | Change TV modes from Preferred to Driver. | Keith Packard | |
This avoids having the artificial TV mode size drive overall screen size. | |||
2006-12-13 | Move xf86CrtcConfig to ScrnInfo private. | Keith Packard | |
Pull xf86CrtcConfig out of the driver private structure and allocate a ScrnInfo private index for it. Also, make the arrays of outputs and crtcs dynamic instead of fixed. | |||
2006-12-13 | Merge branch 'modesetting-origin' into modesetting | Keith Packard | |
2006-12-13 | Auto-detect working TV output by checking TV regs functionality. | Keith Packard | |
We can't figure out which chips are supposed to have TV out, so instead we prod the TV_DAC register to see if it will hold the value written to it, if not, we assume the chip doesn't have TV out. | |||
2006-12-13 | Add magic double-write of the dpll register to fix mac mini cold boot. | Eric Anholt | |
2006-12-13 | Add some caution with PCI write posting and DPLL delays to i830_crtc_dpms. | Eric Anholt | |
While it doesn't specifically help/hurt my test case, we've seen enough mysterious behavior that caution is probably warranted. | |||
2006-12-13 | Rename outputs to TMDS-1/TMDS-2, LVDS, TV and VGA. | Keith Packard | |
These names are reasonably short and describe the connector rather than the target media, but we don't appear to have any way to determine what is on the other end of the wire. More importantly, they're all unique now. | |||
2006-12-12 | Write dpll_md register while updating dpll as that appears to be required. | Keith Packard | |
SDVO multiplier on 965 is in the dpll_md register; for some reason, that needs to be written along with the dpll value or the multiplier doesn't get set correctly. | |||
2006-12-12 | Merge branch 'modesetting-origin' into modesetting | Keith Packard | |
2006-12-12 | Elide duplicate modes in pScrn->monitor. | Keith Packard | |
xf86DDCMonitorSet dumps all of the DDC-discovered modes into the monitor mode list without checking to see if they are already present. This provides an ever-changing list of modes for outputs which have no DDC and which simply duplicate the monitor mode list. | |||
2006-12-12 | Correct typo in mac mini hack, and return modes when the hack is unnecessary. | Eric Anholt | |
2006-12-12 | Replace custom, partially broken DPMS implementation with a generic one. | Eric Anholt | |
2006-12-12 | Fix mac mini SDVO output: write the SDVO[BC] enabled register state twice. | Eric Anholt | |
2006-12-12 | Flush the plane changes in i830_crtc_dpms() | Eric Anholt | |
Otherwise, the changes may not have taken effect. | |||
2006-12-12 | Move the SDVO sync detection to after we've turned the port on. | Eric Anholt | |
2006-12-12 | Extend the error state reporting to cover ESR and decode PGTBL_ERR for 945. | Eric Anholt | |
2006-12-12 | Move PrintErrorState and CheckInheritedErrors code to i830_debug.c. | Eric Anholt | |
2006-12-12 | Set the SDVO port to on before sending the SDVO output on command. | Eric Anholt | |
2006-12-12 | More debugging output for SDVO. | Eric Anholt | |
2006-12-12 | Add a hack for DDC on my Mac Mini. | Eric Anholt | |
2006-12-11 | Move the overlay mode switch status updates to when we enable/disable crtcs. | Eric Anholt | |
This should help if we mode switch with randr during video playback, and also simplifies the code by moving the protection all to one place. | |||
2006-12-11 | Remove remnants of old savedCurrentMode hack. Man, that was gross. | Eric Anholt | |
2006-12-11 | Remove dead remnants of old clone mode support. | Eric Anholt | |
2006-12-11 | Include i830.h to get M_T_* compat defines for older X Servers. | Joshua J. Berry | |
Not duplicating the defines ensures that we won't let the compat bits slip into the X Server when we move this code over there. | |||
2006-12-11 | Add error messages for previous silent DRI initialization failures. | Eric Anholt | |
2006-12-06 | Merge branch 'modesetting-origin' into modesetting | Keith Packard | |
2006-12-06 | Move vga restore to end of RestoreHWState. | Keith Packard | |
I was having consistent system lockups when the vga restore was first. Moving it to the end has reduced them to an infrequent occurrence (but, alas, it has happened once since). This does not make me happy. |