summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-03-22Merge git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into ↵Nian Wu
crestline
2007-03-22EXA: don't smash vertex header in G965Wang Zhenyu
Originally we smashed vertex header to store texture coordinates, this is working as we only use sf/wm kernel and disable all other stages on pipeline. But better to not do this. This also cleans up vertex elements state and makes vertex buffer order looks "normal".
2007-03-21Merge branch 'master' into crestlineWang Zhenyu
2007-03-21Whitespace and symbolic reg names cleanup in i830_panel_fitter_pipe().Eric Anholt
2007-03-20Set the panel fitter to the right pipe on Crestline.Eric Anholt
2007-03-21EXA: try to enable rotation for G965Wang Zhenyu
The new sf/wm should handle the texture sampling only in rotated case. Also fix possible hole in VUE slot.
2007-03-20Merge branch 'master' into crestlineEric Anholt
Conflicts: src/i810_reg.h src/i830_display.c
2007-03-20Attempt to fix single/dual-channel issues on i9xx LVDS panels.Eric Anholt
- Use the existing single/dual-channel state when available, as changing it doesn't appear to work out. - Set the power state of the CLKB and B0-B3 pairs according to whether choose to go dual-channel or not. - Restore the LVDS register at the appropriate point (before DPLLs are re-programmed.
2007-03-20Merge branch 'master' of ↵Wang Zhenyu
git://proxy.ims.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline Conflicts: src/i830_display.c Change LVDS output and postread like upstream. This might need to be retested on 965GM LVDS.
2007-03-19Set the CURSOR_SIZE register when present.Eric Anholt
Failure to do so gets you a lot of pretty colors.
2007-03-19Print the mode actually being set per pipe.Eric Anholt
2007-03-19Add debug output for ADPA.Eric Anholt
2007-03-19Fix build when DAMAGE is not defined.Michel Dänzer
2007-03-18Make i830_sdvo_write_sdvox write everything twice.Keith Packard
For some reason, certain chips don't correctly enable the SDVO hardware when this register is written only once. We're following what the BIOS code does and writing it twice now, but with extra posting reads to boot. Yes, this is cult-and-paste, but it fixes problems found on deployed hardware.
2007-03-17Allocate 4 separate buffers for HW Cursors on Linux.Keith Packard
Linux cannot allocate a large fixed buffer for the HW cursors as needed for FreeBSD; instead, allocate four separate buffers. The code now prefers to allocate one buffer (less overhead) and falls back to separate buffers only when necessary.
2007-03-17Elide I830DRIClipNotify for older DRI versions.Keith Packard
I830DRIClipNotify is passed to newer versions of DRI; don't include it in the server when building against older versions.
2007-03-17Cast ARGB cursor address to CARD32 * to eliminate warning.Keith Packard
While we're just doing a memcpy, it's nice for the two argument types to match.
2007-03-17Increase DDC I2C RiseFallTime to handle older monitorsKeith Packard
Changing this value slows the entire I2C bus down, making it far more reliable on older monitors. Note the same change has been made in the core X server code; this change is included here to ensure that older X servers work reliably with this driver.
2007-03-17Build fix for pre-XF86DRI_MM environments.Keith Packard
Misplaced brace broke builds with older DRM libraries.
2007-03-17Remove extra (and incorrect) I2C ByteTimeout setting.Keith Packard
Setting the value correctly and then immediately breaking it caused many I2C transactions to timeout with slow monitors. Oops.
2007-03-16Move vendor ID check in the utils to after pci_device_probe.Eric Anholt
Even current libpciaccess seems to require this.
2007-03-16Add the (afaict) correct ch7017 I2C slave address.Eric Anholt
2007-03-16Fix compile failure due to needed types being in inttypes.h on Linux.Eric Anholt
2007-03-15Fix crashes and other failures when a cursor allocation fails.Eric Anholt
Now, we allocate one single block of memory for cursors, and either succeed or fail once, rather than trying to support partial fallback modes that generally resulted in pain due to being untested. In particular, this fixes cursors on FreeBSD, which only allowed one large physically-contiguous allocation.
2007-03-15Don't reload the cursors if we haven't set up the screen yet.Eric Anholt
This avoids a crash during preinit if we set a mode for load detecting.
2007-03-15Fix sparse warnings about using 0 for NULL.Eric Anholt
2007-03-15Use new driver-independent CRTC-based cursor layer.Keith Packard
This eliminates all of the cursor rotation code and other cursor management infrastructure, leaving a fairly simple hardware layer in its place.
2007-03-14Make sure the legacy texture area is there when needed.Michel Dänzer
This currently only matters when the DRM memory manager is not available and Option "Legacy3D" "off" is specified, but that hasn't always been the case and might change again in the future.
2007-03-13Refine the i855 LVDS clock code. In particular, p2 is always 14.Eric Anholt
This gets correct clocks detected on most harware. The SSC is always assumed to be 66Mhz, which may not be true, but we'll fix that when we find example hardware.
2007-03-13Get SDVO DPMS working on the Mac Mini by writing SDVOB and SDVOC together.Eric Anholt
Also, add code for setting the encoder power state like the BIOS does, but this doesn't appear to work. We do much more than the BIOS does in powering things down, so perhaps that's interfering somehow.
2007-03-13Use a POSTING_READ(reg) macro instead of using the (void)INREG(reg) pattern.Eric Anholt
2007-03-13Add PCI write posting protection to i2c putbits.Eric Anholt
2007-03-13Add write posting protection for the SDVO DPMS-on path.Eric Anholt
2007-03-13Replace #if 0ed LVDS register setting with updated comment.Eric Anholt
2007-03-13Add write posting protections to relevant register writes in the mode-set path.Eric Anholt
2007-03-13Fix uninitialized string use in SDVO non-TMDS case.Eric Anholt
2007-03-12Make the 965 use Y-major tiling for the depth buffer, as required by the spec.Eric Anholt
An example of the failure can be seen with the reflect demo when set to depth buffer mode. Reported by: Haihao Xiang <haihao.xiang@intel.com>
2007-03-12Fix build against released libdrm.Michel Dänzer
2007-03-12Defer flipping pages back to normal until the end of the DRI block handler.Michel Dänzer
Doing it earlier can result in the wrong page being visible, giving the appearance of a frozen X server.
2007-03-12Disable page flipping if the DRM is older than 1.9.Michel Dänzer
Older versions don't support the functionality we need.
2007-03-12Fix attempt to flip pages back to normal when the last 3D window disappears.Michel Dänzer
When this succeeds, 2D rendering does not have to be synchronized to back buffers until the next 3D window appears.
2007-03-12Remove unused have3DWindows from pI830.Michel Dänzer
2007-03-11fixup missing assert includesDave Airlie
2007-03-11fixup brace alignment for older X.orgDave Airlie
2007-03-11add XMODES flags to the i2c driversDave Airlie
2007-03-09Don't crash when the SAREA pointer is NULL.Michel Dänzer
2007-03-09Revert change accidentally included in previous commit.Michel Dänzer
2007-03-09Update SAREA pipe sizes in i830_crtc_dpms instead of i830PipeSetBase.Michel Dänzer
This allows setting the size to 0 when a pipe gets disabled.
2007-03-09Merge remote branch 'origin/master' into i830-pageflipMichel Dänzer
2007-03-09Merge remote branch 'origin/master' into i830-pageflipMichel Dänzer
Conflicts: src/i830_dri.c