summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-30Bug 8594: Fix Xv hang with G965Wang Zhenyu
2006-10-27Add support for the new DRM memory manager.Thomas Hellstrom
Some code are duplicated with the new libdrm. Once this code has been released with xserver, it can be removed. See the man page for new options and backwards 3D driver compatibility.
2006-10-26Major cleanup of 3D invariant state, fixing hangs with rotation and render.Eric Anholt
Now, the generic invariant state is always set while the X Server is active, and happens automatically when the X Server grabs the DRI lock. More 3D state is moved to the generic code. Then, the 3D consumers (video, rotation, render) set last_3d to their enum entry, and can update their own invariant state when another consumer was active.
2006-10-26Note alignment requirement for i915 3D (texturing).Eric Anholt
2006-10-26Don't write unused values beyond the end of scale_units array.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