Commit Graph

1271 Commits

Author SHA1 Message Date
Eric Anholt b930bb9d6d Disable vblank interrupts when no DRI clients are running.
(cherry picked from commit 6621dd71ada839f4c1742e9e5b272e924cee21d9)
2007-05-03 13:55:37 -07:00
Dave Airlie 775fc125aa i810: be a bit more verbose about disabling DRI 2007-05-03 20:59:39 +10:00
Eric Anholt 34f362d099 Fix typo s/i/index/ in LoadPalette for depth 16.
Reported by:	Haihao Xiang <haihao.xiang@intel.com>
2007-05-02 15:43:17 -07:00
Eric Anholt f850d4727a Make up a fixed panel timing for DVO LVDS, and use DVOA for DVO LVDS.
The fixed panel timing will only be available when the LVDS is already on
at X startup.

So far, our only mostly-working LVDS driver is for the i830, and on i830 the
LVDS is always on DVOA, so use that for all LVDS chips.  This may need to
change if we support the ch7017 I've seen used on embedded i845, for example.
2007-05-02 14:31:57 -07:00
Eric Anholt f3168e3b0c Disable non-working GTT decoding on i830, and fix map/unmap of GTT. 2007-05-02 14:31:57 -07:00
Eric Anholt 1fc630f24f Add DVO[ABC] register debugging. 2007-05-02 14:31:56 -07:00
Eric Anholt d0ec37e9c0 Make the DVO output name LVDS if it's an LVDS chip. 2007-05-02 14:31:56 -07:00
Eric Anholt 490d05f99d Fix typo in previous commit with s/XF86_DRI/XF86DRI/ 2007-05-02 14:31:56 -07:00
Dave Airlie c7bb34e83d disable all outputs on EnterVT
This disables all outputs on EnterVT as the SDVO output can confuse
the VGA output if the BIOS has enabled it on the same pipe but X
isn't going to use the SDVO.

Worked out on irc with keithp
2007-05-02 14:25:39 +10:00
Samuel Thibault cae0ae237b Bug #10714: Fix build without DRI. 2007-05-01 12:41:18 -07:00
Eric Anholt 6748d620fb Ignore VideoRam now that its original purpose is obsolete.
It had been necessary to allow more than a small amount of memory to be
allocated, but now those old small allocations people had configured are
getting in the way.
2007-04-30 19:15:34 -07:00
Eric Anholt a4f1a7872f Allow physical-memory allocations within stolen memory.
Because stolen memory happens to be a contiguous block of high system memory,
we can just read the GTT entries for it to get physical addresses for our
allocations there if needed.  This reduces fragmentation of the aperture space,
and will often reclaim up to 7 MB of memory that had been left unused since the
simplified aperture manager was put in place, but without reintroducing the
complexities of the old aperture manager.
2007-04-30 19:15:24 -07:00
Eric Anholt 7d0d34cfdc Disable some clock gating functions documented to work incorrectly. 2007-04-30 18:40:03 -07:00
Wang Zhenyu 138ac8f36c Alloc state mem buffer on 965G for xaa rotation
965G needs state mem buffer to setup render pipeline.
Thanks Barry Scrott for report this.
2007-04-29 14:43:19 +08:00
Kristian Høgsberg 0cd524e541 Implement the custom I2C protocol used by the ivch DVO.
The ihch DVO uses a modified I2C addressing scheme as described
in section 5.2 of the data sheet.  Implement this by over-riding
the I2C read and write word routines.
2007-04-25 18:09:10 -04:00
Keith Packard 880314aabe CRTC Rotation under XAA wasn't hitting accelerated path.
The server rotation code is now using the root window in IncludeInferiors
mode rather than using the screen pixmap. Change the XAA Composite code
to check for this case now.
2007-04-24 11:37:08 -07:00
Keith Packard b23eae55c8 Merge branch 'origin' 2007-04-19 20:38:18 -07:00
Keith Packard 31bf269afe Update version to 2.0.0 2007-04-19 20:03:41 -07:00
Wang Zhenyu cebdb8bfc6 EXA: set enabling bits properly for i830
This was found when debug exa on a 865GV, we should set
pipeline state bits properly, otherwise the engine will hang.
2007-04-20 10:54:34 +08:00
Keith Packard 60e891915a Eliminate LinearAlloc option and code.
With the fixes to the 2D frame buffer allocation that allows up to 65536
lines of 2D frame buffer in XAA mode, the old linear allocation hacks are no
longer necessary.
2007-04-19 14:02:23 -07:00
Keith Packard cca3897690 Clean up 1.2 xserver build support.
Convert relative X server source path to absolute.  Check for local copies
of needed header files before building, rather than requiring server source.
Remove extra duplicate -I elements in AM_CFLAGS in sub directories.
2007-04-19 13:15:23 -07:00
Keith Packard 07797fee88 Fix mismatching braces when XF86DRI_MM is not defined.
A closing brace was left inside #ifdef XF86DRI_MM while the matching
open brace was outside.
2007-04-19 13:01:37 -07:00
Keith Packard 163c565527 Use I2C delay function instead of usleep.
usleep isn't always available, and we have an existing delay mechanism
available to use.
2007-04-19 13:00:03 -07:00
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 64c30cf896 Update intel.man with 965GM chipset support 2007-04-16 13:58:50 +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 08cd5f9b0f Bug #10520: i810 manpage not installed despite users expecting it to be there.
Install it as an alias to intel.4x, since we're letting people load the driver
as "i810" still.
2007-04-10 11:26:46 -07:00
Eric Anholt bf9771e971 Don't use extended regexps in sed when not necessary.
Some seds require a flag to enable extended regexps.
2007-04-09 15:26:05 -07:00
Brice Goglin 656fbd9525 Bug #10515: Fix module version number with more than one digit per field. 2007-04-09 13:06:55 -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 9ed446e12b It's 2007 now. Didn't I get the memo? 2007-04-03 11:39:48 -07:00
Eric Anholt d9d05b553c Bump version to 1.9.94 for 2.0 RC4. 2007-04-03 00:15:05 -07:00
Eric Anholt eb45315b07 Move README to being a plain old text file. 2007-04-03 00:15:04 -07:00
Eric Anholt 9b78208f1e Move a bunch of debugging verbosity under Option "ModeDebug". 2007-04-03 00:15:04 -07:00
Eric Anholt 9ea83d440d Update README source for new release notes. 2007-04-03 00:15:04 -07:00
Eric Anholt c6d0bf9fb6 Remove long-stale TODO file. 2007-04-03 00:15:04 -07:00