summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-18Move the ch7xxx code to the style I've been settling on for output code.Eric Anholt
2006-12-18Revert "Convert callers of LookupWindow() to dixLookupWindow()."Eamon Walsh
This reverts commit 08575331ac75783c9910cfb6e78db701a29983ac.
2006-12-18Bug #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-17Merge branch 'modesetting' into crestlineKeith Packard
2006-12-16Follow 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-16Prefer 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-16Not 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-16Follow 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-16reorder restore writes for 965 VGAKeith Packard
2006-12-15Convert callers of LookupWindow() to dixLookupWindow().Eamon Walsh
2006-12-14Follow 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-14Turn pll/pipe/plane on in crtc_set_modeKeith 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-14Respect Virtual in xorg.confKeith 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-14Set 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-14Change TV modes from Preferred to Driver.Keith Packard
This avoids having the artificial TV mode size drive overall screen size.
2006-12-13Move 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-13Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-12-13Auto-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-13Add magic double-write of the dpll register to fix mac mini cold boot.Eric Anholt
2006-12-13Add 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-13Rename 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-13Delete ChangeLogAlan Hourihane
2006-12-12Write 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-12Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-12-12Elide 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-12Correct typo in mac mini hack, and return modes when the hack is unnecessary.Eric Anholt
2006-12-12Replace custom, partially broken DPMS implementation with a generic one.Eric Anholt
2006-12-12Fix mac mini SDVO output: write the SDVO[BC] enabled register state twice.Eric Anholt
2006-12-12Flush the plane changes in i830_crtc_dpms()Eric Anholt
Otherwise, the changes may not have taken effect.
2006-12-12Move the SDVO sync detection to after we've turned the port on.Eric Anholt
2006-12-12Extend the error state reporting to cover ESR and decode PGTBL_ERR for 945.Eric Anholt
2006-12-12Move PrintErrorState and CheckInheritedErrors code to i830_debug.c.Eric Anholt
2006-12-12Set the SDVO port to on before sending the SDVO output on command.Eric Anholt
2006-12-12More debugging output for SDVO.Eric Anholt
2006-12-12Add a hack for DDC on my Mac Mini.Eric Anholt
2006-12-11Move 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-11Remove remnants of old savedCurrentMode hack. Man, that was gross.Eric Anholt
2006-12-11Remove dead remnants of old clone mode support.Eric Anholt
2006-12-11Include 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-11Add error messages for previous silent DRI initialization failures.Eric Anholt
2006-12-08Merge branch 'modesetting' into crestlineWang Zhenyu
2006-12-08Merge branch 'modesetting' of ↵Wang Zhenyu
git+ssh://zhen@git.freedesktop.org/git/xorg/driver/xf86-video-intel into modesetting
2006-12-08Merge branch 'exa-i965' of ↵Wang Zhenyu
git+ssh://zhen@git.freedesktop.org/git/xorg/driver/xf86-video-intel into crestline
2006-12-07Bump to 1.7.3Alan Hourihane
2006-12-06Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-12-06Move 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.
2006-12-06Use DOUBLE_WIDE mode on all hardware.Keith Packard
DOUBLE_WIDE mode is needed when the pixel clock is > 90% of the core clock rate. The code guesses what the core clock rate is based on the bus (AGP -> 133MHz, PCI-E -> 200MHz).
2006-12-06Include render.h to get SubPixelUnknown define.Eric Anholt
2006-12-06Merge branch 'modesetting' into crestlineKeith Packard
2006-12-06Merge branch 'modesetting-origin' into modesettingKeith Packard