summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-10Fix clock range for single-channel LVDS.Eric Anholt
2006-11-10Fill in some of the high bits of mode timings for SDVO.Eric Anholt
2006-11-09Expose the DDC-probed EDID data as the EDID_DATA output property.Eric Anholt
2006-11-08Create RandR 1.2 objects in I830PreInit.Keith Packard
Creating the objects early will allow the driver to use randr structures to select a reasonable configuration. That part has not been done yet.
2006-11-08ignore edited man pageKeith Packard
2006-11-08Adapt to RandR updates that split object creation from screen association.Keith Packard
RandR DIX code is preparing for xf86 drivers that want to allocate RandR objects at PreInit time. This patch adapts to that change without taking advantage of it.
2006-11-08Merge branch 'modesetting-keithp' into modesettingKeith Packard
Conflicts in PipeSetMode were resolved to use the keithp changes that pushed more modesetting stuff into the per-pipe function. Switched availablePipes to num_pipes. Used modesetting default output configuration.
2006-11-08Change the output and pipe "is it on/off" field name to "enabled".Eric Anholt
2006-11-08Clean up i830_crt_detect_load() a bit more.Eric Anholt
ADPA might not have been set right in some cases (DPMS-off monitor, for example), and a wait for vsync that the bios does was missing.
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-07For each driver, add a symlink to xserver-xorg-core's bug script, so that eachJulien Cristau
new bugreport contains the user's config and log files. Bump dependencies on xserver-xorg-core to >= 2:1.1.1-11, to make sure that the bug script is present.
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.