summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-10-30Remove some dead code from BIOS modesetting.Eric Anholt
2006-10-30Remove GetBIOSVersion().Eric Anholt
This info hardly useful now that we don't use the BIOS for mode setting.
2006-10-30Warning fix.Eric Anholt
2006-10-30Remove SetPipeAccess and now-unnecessary VBE reinit.Eric Anholt
2006-10-30Use the new fields for SDVO pixel multiply on the G965.Eric Anholt
This should fix display at resolutions/refresh rates in a different multiplier class than the console display (generally, high resolution modes).
2006-10-30Return and use valid status bits for i830_sdvo_get_trained_inputs().Eric Anholt
2006-10-30Clean up whitespace in i830_randr.c.Eric Anholt
2006-10-25Move vbeInfo out of the driver struct to the one place it's used.Eric Anholt
2006-10-25Remove dead memsize reporting.Eric Anholt
The calculation no longer made sense, as we don't use the BIOS for mode selection.
2006-10-25Remove disabled I830DetectMonitorChange().Eric Anholt
This used to be called when switching back in to X. It might make some sense to detect monitors at this time (it happens to occur at resume time, when monitors are likely to have changed), but it should probably live in either userland policy with RandR 1.2 or RandR 1.2 XFree86-DDX generic code.
2006-10-25Move LVDS initialization and blacklisting damage to the LVDS support file.Eric Anholt
2006-10-25Clean up the SDVO code.Eric Anholt
The main change is to send SDVO commands using data passed into the send command function, and receive responses into memory passed into the read response function, rather than stuff things in/out through dev_priv->sdvo_regs. This lets us use structures to represent some arguments, which results in a nice cleanup (and 100% fewer arguments named magicN as a side effect). Also, the mode set path is changed to not do any preferred input timing work. We weren't doing anything legitimate with the results, since we didn't modify the CRTC timing appropriately, so now we just stuff the CRTC timing into both and hope for the best. This should probably be revisited later.
2006-10-25Nuke trailing whitespace in SDVO code not already cleaned up.Eric Anholt
2006-10-25Clean up SDVO code, moving the private structure internal and cleaning up caps.Eric Anholt
All the SDVO code should now be in lower case rather than StudlyCaps. This also adjusts the I2C setup to create a bus per SDVO output we set up. The previous setup with shared buses was failing in some circumstances, which is probably due to the lack of refcounting in xf86i2c.c.
2006-10-24Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-10-23Merge branch 'overhaul' into modesettingEric Anholt
2006-10-23Add work-in-progress integrated TV-out support.Eric Anholt
This is the TV connector on board for the 915GM and 945GM. It is currently not hooked up to output initialization as it's entirely untested. However, I think this is a reasonable starting point for getting TV-out actually working.
2006-10-16Add a per-output mode-valid method.Eric Anholt
This is currently disconnected, but will be used in more overhaul work. This should be where any output limitations, such as clocks, resolution, scaling limits, or other options, are validated. Other limitations, such as chipset resolution limits, CRTC clock limits, etc. should be elsewhere.
2006-10-13Advertise textured video adapter firstKeith Packard
2006-10-10Only disable the output when marked disabled.Eric Anholt
Also, remove a couple of dead variables.
2006-10-09Fix LVDS restore path, and move pipe assignment for outputs to the right place.Eric Anholt
2006-10-09Add a function for describing the output connection configuration.Eric Anholt
2006-10-09Move per-output mode setting code to per-output methods.Eric Anholt
This is not a very clean interface, as a number of outputs require tweaks to the DPLL registers. When possible, the DPLLs are just adjusted in the per-output post_set_mode, which happens just after the DPLL is enabled. However, this seems better than the previous method of having all outputs programmed in the same function.
2006-10-07Expand the check for AOpen Mini-PC.Adam Jackson
Just match on subsystem vendor, don't bother inspecting the subsystem device ID, since apparently they're all busted.
2006-10-06Compute LVDS resolution from server DPI and native panel size.Keith Packard
I was unable to find the native LVDS panel physical size in the BDB information. I would prefer to report accurate information through RandR if possible though.
2006-10-05Don't require MonitorLayout when two monitors are plugged in.Keith Packard
With randr12 working, we can just leave the second monitor off for now.
2006-10-05Remove checks for output privates in various bits of code.Eric Anholt
Now, the output is only set up if it fully initializes, so it will never exist if the private it requires doesn't.
2006-10-05Give each output type an init method in its file, making other methods static.Eric Anholt
2006-10-05Fix DPI at startup in RandR 1.2 code.Keith Packard
Use requested monitor resolution to compute the appropriate screen size when resizing the screen during RandR initialization.
2006-10-04Remove mode origins, add preferred mode count.Keith Packard
Just tracking changes in the 1.2 protocol spec.
2006-10-04Move the save, restore, and DPMS per-output settings to per-output files.Eric Anholt
2006-10-04Merge branch 'modesetting-guitar' into modesettingKeith Packard
2006-10-04Add mode origins for randrKeith Packard
2006-10-03Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-10-03Enable XV_PORT attribute even when not in Clone mode.Keith Packard
As Clone mode is now something that can change after server startup, always enable the XV_PORT attribute as we cannot change the list of reported attributes.
2006-10-03Always register list of modes for outputs, even when disabled.Keith Packard
2006-10-02Move cursor base address register setting to a separate function.Eric Anholt
2006-09-27Merge branch 'master' into modesettingEric Anholt
This reverts most of the mergedfb code. This will instead be done in device- independent RandR code. Conflicts: src/Makefile.am src/i810_driver.c src/i810_reg.h src/i830.h src/i830_cursor.c src/i830_driver.c src/i830_modes.c src/i830_video.c
2006-09-27Re-disable broken load-based CRT detection.Eric Anholt
2006-09-27Merge branch 'randr-1.2' into modesettingEric Anholt
2006-09-27Merge branch 'acpi-hotkey' into modesettingEric Anholt
Conflicts: src/i830.h src/i830_driver.c
2006-09-27Attempt to make the ACPI hotkey support a little more modesetting-compatible.Eric Anholt
Previously, we watched for the BIOS to have changed the layout, and repaired the resulting configuration. Now, we request that the BIOS make no changes, but leave a note in a register for when the key has been pressed. When we notice this, we reprobe monitors and turn on/off the things we find. This is a temporary solution until we can get the hotkey hooked up as an input key to external applications to control the change using RandR 1.2. It is also untested as neither of my laptops do anything with the hotkey. However, this code does result in many fewer BIOS calls.
2006-09-23Oops, duplicated CRT-redetect code.Keith Packard
2006-09-23Construct default monitor description for hotplug non-DDC monitor.Keith Packard
When detecting a monitor that doesn't support DDC, construct a default monitor with "sensible" values instead of using whatever the builtin LCD screen uses. Clearly we need a way to set the monitor parameters when we cannot detect them.
2006-09-22Restructure i830_bios.c so we don't leak a copy of the BIOS per generation.Eric Anholt
2006-09-22Remove some dead code related to clock ranges.Eric Anholt
2006-09-22Remove the GetDevicePresence BIOS call which just printed BIOS information.Eric Anholt
Because we aren't using the BIOS to set modes any more, what the BIOS thinks is present is probably even less important than before.
2006-09-22Remove the no-longer-connected VBERestore option.Eric Anholt
2006-09-22Remove unused display{Attached,Present} fields.Eric Anholt
2006-09-22Remove empty SAVERESTORE_HWSTATE code.Eric Anholt