summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-22Limit DRI use to cases when pitch < 8Kbytes, not 4096 pixels.Keith Packard
3D rendering pipeline is limited to pitch of 8Kbytes and not 4096 pixels, which rather makes a difference at 32bpp.
2006-11-22Be a little more verbose when rejecting modes.Alan Hourihane
2006-11-22update port attributes immediately when overlay is on.Alan Hourihane
2006-11-20Set configured values for screen virtual size and initial frame.Keith Packard
Computation for virtual size and initial frame origin is quite broken in xf86 common code.
2006-11-20Enable second SDVO channel.Keith Packard
Rework SDVO support so that it can deal with two channels correctly, also save/restore all connected output timings.
2006-11-19Enable TV output on Crestline (untested).Eric Anholt
2006-11-19Merge branch 'modesetting-origin' into crestlineEric Anholt
2006-11-19Fix TV color key.Keith Packard
Subcarrier defines were incorrect in header file leaving one of the DDA phases disabled.
2006-11-19Preliminary 945 TV output. Color key is broken. Fixed mode.Keith Packard
TV output is generating video with this patch, but the color burst signal is incorrect somehow.
2006-11-17Merge branch 'crestline-origin' into crestlineEric Anholt
2006-11-17Merge branch 'modesetting' into crestlineEric Anholt
This works for analog, but SDVO output appears to not work yet. Conflicts: src/i830_driver.c
2006-11-17Merge branch 'modesetting-origin' into modesettingEric Anholt
2006-11-16Don't dereference null DisplayModePtr on disabled output.Keith Packard
During initial configuration, outputs which are disabled have null modes.
2006-11-17Rotation support for 965GMWang Zhenyu
2006-11-16RandR-based initial output configuration.Keith Packard
Using pre-init computed RandR information, make reasonable default choices for the output configuration at startup time. Either some preferred size or a size which yields 96dpi is chosen, from which other monitors are set to a similar size. The largest size sets the screen size. This needs to be extended to respect config file settings, but those have not been defined yet.
2006-11-16Merge branch 'master' into modesettingEric Anholt
Conflicts: src/i830.h src/i830_cursor.c src/i830_dri.c src/i830_driver.c src/i830_video.c
2006-11-16Replace broken PCI resource size detection with pciGetBaseSize() call.Eric Anholt
2006-11-16Remove output options. Let outputs be connected to other crtcs.Keith Packard
Output options will be replaced by properties. Permits outputs to be connected to arbitrary CRTCs (within hardware limits). No cloning yet.
2006-11-16Inverted boolean sense when selecting pipe for CRT detection.Keith Packard
Pipes are available when they are not in use.
2006-11-15Enable the LVDS if we find it and assign it to a pipe (oops).Eric Anholt
2006-11-14Disable setup of the second SDVO device until we fix it.Eric Anholt
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-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)