Commit Graph

1161 Commits

Author SHA1 Message Date
Wang Zhenyu 378ceea3d9 Fix mem list order and remove extra unbind call when free memory 2007-04-19 17:30:28 +08:00
Alan Hourihane db4b9e1881 Fix return status 2007-04-18 13:52:08 +01:00
Alan Hourihane 3f5111940e Update read_response to include the try on PENDING status
and remove it from get attached displays call.
2007-04-18 13:28:25 +01:00
Eric Anholt 902388fa06 Don't try to init the XAA linear region unless we allocated memory for it.
Reported by JM Ibanez
2007-04-17 14:21:25 -07:00
Eric Anholt 8abecae202 Fix i852 EXA Composite acceleration setup.
Reported by JM Ibanez.
2007-04-17 12:28:47 -07:00
Timo Aaltonen 2dbe8d678b Fix build against xserver 1.2. 2007-04-17 12:28:47 -07:00
Eric Anholt a089ac11be Add all the possible ivch slave addresses (still commented out). 2007-04-17 11:01:24 -07:00
Eric Anholt 37ee68a95c Bug #10438: Fix 965 XV when sourcing from less than the full image.
Bob deinterlacing in MythTV, and the zoom options in totem would result in
attempting to source from outside the video instead of scaling appropriately.
2007-04-17 11:01:24 -07:00
Alan Hourihane ac9181c014 Check for the PENDING message when reading the attached
displays. Ensures the command has completed before continuing.

(probably need to check PENDING in other SDVO calls too)
2007-04-17 16:30:17 +01:00
Wang Zhenyu ab5bdee8a6 EXA: fix i830 render
Fix tex blend pipeline in case that src/mask pict has no
alpha. Unmask color buffer write disable bits. These make
rendercheck run fine on 855GM.
2007-04-17 16:23:46 +08:00
Wang Zhenyu 1a29750b8d EXA: fix 830/845G pict format
Fallback in 830/845G when pict format is a8, x8r8g8b8 or
x8b8g8r8. The hw doesn't support them.
2007-04-16 16:21:39 +08:00
Wang Zhenyu 3a634bbd19 EXA: Add i830 supported pict format XRGB8888, XBGR8888 2007-04-16 15:14:49 +08:00
Wang Zhenyu 3bcb9a0b4b EXA: i830 render misc fix and cleanups
Try to map texture stream when setup texture map, and use
correct order in load_immediate_1 cmd, which fixed crash on
845GV. Also remove some flush cmds.
2007-04-16 14:27:49 +08:00
Wang Zhenyu b67adb6de3 Fix crash on G965 XAA with LinearAlloc option
We should alloc xaa_linear mem in LinearAlloc case, otherwise
we get crash when initializing xf86 fb manager.
2007-04-13 22:34:52 +08:00
Eric Anholt b5b243e412 Add license headers to 965 programs. 2007-04-12 12:34:23 -07:00
Eric Anholt aa850d3c63 Turn off ALWAYS_SYNC in EXA.
This slipped in as a debugging aid, and never got turned off.  The driver
appears to work fine without it on an i915 system, and for the non-default EXA
option, we'd rather see issues found than continue running with debugging aids
and hiding them behind bad performance.
2007-04-09 11:44:25 -07:00
Eric Anholt d2e75d8acd Avoid a magic number and correct a (currently harmless) ifdef in ResetState(). 2007-04-09 11:34:57 -07:00
Eric Anholt 9b78208f1e Move a bunch of debugging verbosity under Option "ModeDebug". 2007-04-03 00:15:04 -07:00
Dave Airlie c59e5895a0 make warning info only so ppl don't go reporting stupid bugs 2007-04-02 07:18:04 +10:00
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
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 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
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
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
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
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