Commit Graph

1220 Commits

Author SHA1 Message Date
Eric Anholt e119eaabb2 Warnings cleanup in ch7xxx. 2007-03-30 17:19:41 -07:00
Eric Anholt fd98e88d1a Finish off some function renaming that was missed before.
Thanks to alanc for catching this.
2007-03-30 17:19:35 -07:00
Eric Anholt 274b99e5e7 Don't forget the warnings CFLAGS in subdirectories. 2007-03-30 17:19:22 -07:00
Keith Packard aa6a9abb34 Merge branch 'crestline-qa' 2007-03-30 12:10:17 -07:00
Eric Anholt 670c8521f1 Add missing file for old server compatibility build. 2007-03-29 13:44:50 -07:00
Eric Anholt 89c84f939f Whitespace cleanup in Makefile. 2007-03-29 13:44:45 -07:00
Wang Zhenyu 6cd3b2c2de EXA: i830 fix blend action
i830_get_blend_cntl() has already added S8 offset.
2007-03-27 15:34:32 +08:00
Wang Zhenyu 35b3dd881a EXA: fix i830 componentAlpha support
Pick fix from i915 render, change tex blend pipeline for CA.
2007-03-27 15:33:43 +08:00
Wang Zhenyu df96d9a11d EXA: fix i830 texture setup
Use LOAD_IMM_2 helper cmd for tex setup. Enable RepeatNormal
support. Fix A8 format, i830 can support it now.
2007-03-27 15:32:53 +08:00
Eric Anholt aa78e67553 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel 2007-03-26 22:00:36 -07:00
Nian Wu 107ac12867 Merge git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline 2007-03-27 12:51:45 +08:00
Eric Anholt 768821bd38 Bump version to 1.9.93 for 2.0RC3. 2007-03-26 21:27:54 -07:00
Alan Coopersmith 2191634dd6 Add Solaris to list of OS'es with agpgart in man page 2007-03-26 14:58:41 -07:00
Eric Anholt 1c809f9246 Update .gitignore. 2007-03-26 13:03:28 -07:00
Eric Anholt f7befe50af Power on the LVDS B-channel pairs only when we've chosen dual-channel mode.
It was basing off of the clock rate, but we have an override to use the
existing dual channel state when we can detect it, so the two settings were
conflicting.
2007-03-26 13:02:20 -07:00
Eric Anholt 827dc457a4 Update manpage to remove Rotate option and point at xorg.conf instead.
While here, update a few other bits as well.
2007-03-26 12:45:23 -07:00
Nian Wu 654881794a Merge git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline 2007-03-26 17:00:11 +08:00
Keith Packard d5727717c9 Switch TV_FORMAT property to format XA_ATOM
This allows the driver to report the set of valid formats in the property
data.
2007-03-25 23:44:59 -07:00
Nian Wu 6de3edcb52 Merge git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline 2007-03-24 17:00:13 +08:00
Keith Packard 1e6e675524 Eliminate calls to RRPostPendingProperty.
RRPostPendingProperty has been removed in favor of RRPostPendingProperties,
and that call is now managed outside of the driver.
2007-03-23 23:42:52 -07:00
Keith Packard 28da6f4e30 Record 3D state loss at EnterVT in last_3d value.
last_3d set to LAST_3D_OTHER indicates that the 3D hardware has unknown
state.
2007-03-23 14:37:25 -07:00
Keith Packard ab19439cf4 Don't call AdjustFrame on EnterVT.
AdjustFrame is strictly for legacy compatibility; calling it on EnterVT
wrecks crtc positions.
2007-03-23 14:37:25 -07:00
Nian Wu d874aa3159 Merge git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline 2007-03-23 17:00:12 +08:00
Keith Packard 26f32ef680 Property size is in units, not bytes.
Several places were using byte lengths instead of unit lengths for
properties.
2007-03-23 01:17:58 -07:00
Keith Packard f48dc501fb TV output properties: TV_FORMAT, LEFT, TOP, RIGHT, BOTTOM.
Remove TV format from mode name, instead use an explicit output property and
split the input resolution from the tv format. Add properties to set the
blank area on all four sides of the image.
2007-03-23 01:08:08 -07:00
Nian Wu 94dbc37253 Merge git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline 2007-03-22 17:00:15 +08:00
Wang Zhenyu 20b26854ab EXA: don't smash vertex header in G965
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-22 10:33:15 +08:00
Nian Wu 28af380ab1 Merge branch 'crestline' of git://otc-graphics.jf.intel.com/git/xorg/driver/xf86-video-intel into crestline 2007-03-21 17:00:04 +08:00
Wang Zhenyu e06c5f727f Merge branch 'master' into crestline 2007-03-21 15:04:21 +08:00
Eric Anholt 0202399866 Whitespace and symbolic reg names cleanup in i830_panel_fitter_pipe(). 2007-03-21 00:01:08 -07:00
Eric Anholt 3e9ec78b4f Set the panel fitter to the right pipe on Crestline. 2007-03-20 23:58:48 -07:00
Wang Zhenyu 3025fa0fb2 EXA: try to enable rotation for G965
The new sf/wm should handle the texture sampling only in
rotated case. Also fix possible hole in VUE slot.
2007-03-21 14:50:45 +08:00
Eric Anholt a500096041 Merge branch 'master' into crestline
Conflicts:

	src/i810_reg.h
	src/i830_display.c
2007-03-20 23:32:19 -07:00
Nian Wu 300e893cec Merge branch 'crestline' of git://otc-graphics.jf.intel.com/git/xorg/driver/xf86-video-intel into crestline 2007-03-21 08:55:50 +08:00
Eric Anholt 223944878c Attempt to fix single/dual-channel issues on i9xx LVDS panels.
- 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-20 14:33:53 -07:00
Nian Wu 96e86994f3 Merge branch 'crestline' of git://otc-graphics.jf.intel.com/git/xorg/driver/xf86-video-intel into crestline 2007-03-20 13:11:09 +08:00
Wang Zhenyu 0a612e7115 Merge branch 'master' of 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-20 11:34:40 +08:00
Eric Anholt 4c4faf260e Set the CURSOR_SIZE register when present.
Failure to do so gets you a lot of pretty colors.
2007-03-19 13:36:37 -07:00
Eric Anholt 64c1420445 Print the mode actually being set per pipe. 2007-03-19 13:35:43 -07:00
Eric Anholt 3ce802414a Add debug output for ADPA. 2007-03-19 11:35:11 -07:00
Michel Dänzer c21b88d838 Fix build when DAMAGE is not defined. 2007-03-19 10:45:58 +01:00
Keith Packard 991719c21a Make i830_sdvo_write_sdvox write everything twice.
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-18 23:05:33 -07:00
Keith Packard 9118122a23 Allocate 4 separate buffers for HW Cursors on Linux.
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-17 21:34:03 -07:00
Keith Packard 62a5399d70 Elide I830DRIClipNotify for older DRI versions.
I830DRIClipNotify is passed to newer versions of DRI; don't include it in
the server when building against older versions.
2007-03-17 21:32:36 -07:00
Keith Packard 05e0021147 Cast ARGB cursor address to CARD32 * to eliminate warning.
While we're just doing a memcpy, it's nice for the two argument types to
match.
2007-03-17 21:31:04 -07:00
Keith Packard d05bb5362e Increase DDC I2C RiseFallTime to handle older monitors
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-17 20:21:59 -07:00
Keith Packard 44d1b544ce Build fix for pre-XF86DRI_MM environments.
Misplaced brace broke builds with older DRM libraries.
2007-03-17 17:20:30 -07:00
Keith Packard a58befe9d2 Remove extra (and incorrect) I2C ByteTimeout setting.
Setting the value correctly and then immediately breaking it caused many I2C
transactions to timeout with slow monitors. Oops.
2007-03-17 17:20:30 -07:00
Eric Anholt 9d6d9ace4b Move vendor ID check in the utils to after pci_device_probe.
Even current libpciaccess seems to require this.
2007-03-16 19:41:54 -07:00
Eric Anholt a117bc9e3e Add the (afaict) correct ch7017 I2C slave address. 2007-03-16 19:39:53 -07:00