summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-11-08Go back to only setting up outputs that have a display connected.Eric Anholt
2006-11-08Fix i830DisableUnusedFunctions after pipe structure change.Eric Anholt
Using "pipe" instead of the index "i" meant pipe(3) got referenced instead of a nice small integer. Oops.
2006-11-08Disable some debug messageAlan Hourihane
2006-11-08855 fixroot
2006-11-07Eliminate operatingDevices member and PIPE_* values.Keith Packard
operatingDevices and MonType1/MonType2 duplicate information already stored in the device structures. Eliminate them and replace uses with direct references to the appropriate other data. (cherry picked from 3ab7f9693217d8fe993bdc94c376b219b0082961 commit)
2006-11-07Use pI830->availablePipes instead of MAX_DISPLAY_PIPES everywhereKeith Packard
(cherry picked from e4bcec796e80e9fd66ab0c36394f5946915531f1 commit)
2006-11-06Restore PFIT_CONTROL before turning the LVDS back on in the restore method.Eric Anholt
2006-11-06Move PFIT_CONTROL disable for G965 up before post_set_mode.Eric Anholt
Also, remove setting of some other random registers that appears to have been spammed in at the same time, and don't try to disable on the I830, before this register existed.
2006-11-05DSPSURF must be page aligned. Place intra-screen offset in DSPBASE.Keith Packard
DSPASURF/DSPBSURF can only take page aligned values, ignoring the lower order bits. So, place the offset for the output within the frame buffer in the DSPABASE/DSPBBASE registers instead.
2006-11-05Don't allocate stuff in the first 256K of video memory (GATT?)Keith Packard
Letting the ring buffer or other objects be allocated within the lowest portion of memory appears to trash some memory mapping data; I'm assuming this is the GATT table on the 965. Just marking this out of bounds for allocation fixes this problem.
2006-11-05Fix CRT output on 965 chipset.Keith Packard
A few more register settings are needed to get CRT output working on the 965 chipset, in particular the the SDVO/UDI clock multiplier register needed to get set to the default value (3). No, I really don't know what this does, but it does get the CRT running at a wide range of sizes.
2006-11-06Merge branch 'master' into crestlineWang Zhenyu
2006-11-05Avoid crashing when disabling sdvo output. XXXKeith Packard
2006-11-05Move remaining pipe mode setting logic to i830PipeSetModeKeith Packard
2006-11-04Rename availablePipes to num_pipesKeith Packard
2006-11-04Eliminate operatingDevices member and PIPE_* values.Keith Packard
operatingDevices and MonType1/MonType2 duplicate information already stored in the device structures. Eliminate them and replace uses with direct references to the appropriate other data.
2006-11-03Use pI830->availablePipes instead of MAX_DISPLAY_PIPES everywhereKeith Packard
2006-11-03Finish removing persistant vbe dataKeith Packard
2006-11-03Oops, martian memset of randr modes pointerKeith Packard
2006-11-03Use VBE only temporarily to fetch BIOS rom imageKeith Packard
(cherry picked from 6a9386651785afc70a29e355255e8295b321f28e commit)
2006-11-03Report pipe status (and status mismatches) in i830DescribeOutputConfiguration()Eric Anholt
2006-11-03Merge branch 'modesetting-origin' into modesettingEric Anholt
Conflicts: src/i830_display.c
2006-11-03Add support for load-based CRT detection.Eric Anholt
2006-11-03Print out modelines as info, not error (which had been used for debugging).Eric Anholt
2006-11-03Don't memset the modes pointer on init, which was dereferencing NULL.Eric Anholt
2006-11-03Create I830PipeRec to hold pipe-specific data. Remove unused I830 members.Keith Packard
I830 contained six parallel arrays for pipe-specific data; these have been moved to a I830PipeRec structure instead. I830 also contained several unused members: unsigned int bios_version; Bool newPipeSwitch; Bool fakeSwitch; int fixedPipe; These have been removed, along with the code that set them.
2006-11-03Fix a pasteo in I965 register restore.Eric Anholt
2006-11-02set the v_sync_off_high to zero. XXX should check docsKeith Packard
2006-11-02Disable the panel fitter when not using it. Cleans up SDVO DVI output.Keith Packard
The panel fitter appears to exist on the 965 hardware (at least) and causes troubles with DVI output over SDVO when enabled. This patch checks to see if the panel fitter is pointing at the pipe being configured and disables it unconditionally in that case. The LVDS driver will configure it correctly if necessary afterwards.
2006-11-02Add another couple of new registersKeith Packard
2006-11-02Remove duplicated register defs that were just added.Eric Anholt
2006-11-02Add airlied's I2C code, ifdeffed out.Eric Anholt
I've gone back to compare our behavior to it several times, so I'll just keep the code in tree for now.
2006-11-02Remove dead specifiedMonitor field.Eric Anholt
2006-11-02Dump more registers for debug purposesKeith Packard
2006-11-02Add a few more registers from the 965 specKeith Packard
2006-11-02ch7xxxSaveRegs receives real type instead of void *Keith Packard
2006-11-01Remove dead VESARec struct.Eric Anholt
2006-11-01Remove the refresh rate appended to some mode names.Eric Anholt
This gets the SDVO and CRT outputs I have to have at least 1 common mode according to RandR.
2006-11-01Attempt to pull monitor physical size information out of DDC EDID data.Eric Anholt
2006-11-01Move mode lists from per-pipe to per-output.Eric Anholt
This should let RandR do the right thing in exposing the modes to userland. As a side effect of getting this working, the SDVO pixel clock range code was fixed and the mode valid tests for various outputs got extended. Also, LVDS grew a get_modes for the fixed panel mode. Note that we now no longer do automatic enabling of outputs at xrandr -s 0, hotkey, or VT switch. That will be left to generic RandR code later. Also, generic modes and user-defined modes are once again not validated into the lists, so this is a regression there.
2006-11-01Update for the move of RandR phyiscal size information.Eric Anholt
2006-11-01walk around to VBIOS bug in Crestline B0Zou Nanhai
2006-10-31Give each output a get_modes function and expose those modes through RandR.Eric Anholt
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.
2006-10-31Add compat definitions for M_T_PREFERRED and M_T_DRIVER for older X Servers.Eric Anholt
2006-10-31Connect output detection up to RandR.Eric Anholt
2006-10-31Move output connection detection to a per-output method.Eric Anholt
This will be used by RandR, and should let us clean up some of the initial display configuration, hopefully. Also, analog hotplug-based detection is now enabled on G965.
2006-10-31Move SDVOB_PRESERVE_MASK next to SDVOC_PRESERVE_MASK.Eric Anholt
2006-10-31i830SetLVDSPanelPower is now a static function in i830_lvds.c, so remove it.Eric Anholt
2006-10-31Fix many inconsistencies in the SDVO code compared to the spec.Eric Anholt
Also, fix some struct padding so that the right bits are sent out.
2006-10-30Remove some dead code from BIOS modesetting.Eric Anholt