summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-05Merge branch 'master' into drm-gemEric Anholt
2008-06-05Move debug clock printout from ErrorF to X_INFO.Eric Anholt
2008-06-05Remove SVG_WORK_CONTROL init.Eric Anholt
The bit set is now reserved -- used to be a workaround for early revisions.
2008-06-05Initialize clock gating from EnterVT and save/restore it appropriately.Eric Anholt
2008-06-05Move BIOS scratch register setup to EnterVT instead of PreInit.Eric Anholt
We want these to always be set when our driver's in control. They are already appropriately save/restored at leave/entervt.
2008-06-05Remove gratuitous wait_ring_idle after I830Sync. Syncing implies that.Eric Anholt
2008-06-05Move the remaining two lines of SetHWOperatingState to the caller.Eric Anholt
2008-06-05Remove duplicated i830_stop_ring()/SetHWOperatingState() in EnterVT().Eric Anholt
2008-06-05Move DSPARB setup into a separate function, and save/restore it at VT switch.Eric Anholt
2008-06-05Replace a couple of wait-for-ring-idles with a single function to do so.Eric Anholt
2008-06-05Just remove the mprotect kludge.Eric Anholt
Besides not being #ifdef __linux__ed as requested, some linux kernels break in exciting new ways when you try to mprotect from PROT_NONE back to PROT_READ|PROT_WRITE. Yes, there are bugs in the code we're calling in a bug-exploiting bug workaround. If you want this workaround for the original bug exposed when moving to libpciaccess, it's already in libpciaccess.
2008-06-04Set SDVO sync polarity to default on 965Hong Liu
Fix fd.o bug 15766
2008-06-04Fix DSPARB change on 965GHong Liu
From the spec, only 965GM and IGD_GM have 128 FIFO entries. With DSPARB change introduced by commit bd137a, I've got PIPE B underrun when dual-headed on G35 platform.
2008-06-04xvmc: add render dump functionZhenyu Wang
2008-06-04xvmc: move block size lookup helper to genericZhenyu Wang
2008-06-03xvmc: a little cleanupZhenyu Wang
Also safe check context size to not exceed surface max.
2008-06-03xvmc: remove unused dri drawableZhenyu Wang
2008-05-31Update xsfbs/quilt patching rules to be compatible with theBrice Goglin
"3.0 (quilt)" source package. Thanks to Raphael Hertzog. See http://lists.debian.org/debian-x/2008/05/msg01250.html for details.
2008-05-30xsfbs.sh: use 'local' now that policy allows itJulien Cristau
Policy 3.7.3 allows /bin/sh scripts to use 'local'.
2008-05-30xsfbs.sh: add remove_conffile_lookupJulien Cristau
This variant of remove_conffile_prepare looks for the given conffile's canonical md5sum in dpkg's status database itself instead of using provided values.
2008-05-28Fixup DSPARB for 855 & 945Jesse Barnes
It turns out 855 has a different DSPARB layout than 915+. And 945+ have more FIFO entries, so we have to allocate things differently. So on 855 split the FIFO evenly again between A & B planes, and do the same on 945, where we have a larger FIFO. Fixes an issue reported by Daniel Stone with the previous default value.
2008-05-28[gem] Note if pinning a buffer fails.Eric Anholt
2008-05-26Fixup FIFO commentJesse Barnes
What I originally checked in was a bit misleading.
2008-05-26Handle display FIFOs betterJesse Barnes
Add some debug code to catch FIFO underruns, which are normally bugs (unless they occur during mode setting) and remove any plane C FIFO allocations, since we don't use that plane at all. We may eventually need to be a little smarter about this on platforms that use plane C for the popup.
2008-05-26Fixup power saving registersJesse Barnes
Update clock gating disable bits to match docs and allocate a power context memory area so that newer chips can save state and power down the render unit.
2008-05-26Fix typo in xvmc block destroyShuang He
2008-05-23Remove the .pc directory properlyJulien Cristau
2008-05-22[gem] Reduce console spam from debugging.Eric Anholt
2008-05-21Define DEFFILEMODE for OS'es that don't have itAlan Coopersmith
2008-05-21Revert "Disable FBC by default on 965GM"Jesse Barnes
This reverts commit 53e3693ef13f31f3fc33bcff7286ab2b03b2d430. Conflicts: src/i830_driver.c - default FBC on for 965+
2008-05-20Revert "Add FIFO watermark regs to register dumper"Zhenyu Wang
This reverts commit 0c00a638ef57aa9d6a3047176b0bfad733f781f0. Those FIFO watermark regs are 945-ish, and cause problem on G35. (cherry picked from commit 740a73dad1d9a9b0ebf1cc7d6f2a056abad57aaf)
2008-05-20Revert "Add FIFO watermark regs to register dumper"Zhenyu Wang
This reverts commit 0c00a638ef57aa9d6a3047176b0bfad733f781f0. Those FIFO watermark regs are 945-ish, and cause problem on G35.
2008-05-17Merge commit 'origin/master' into drm-gemKeith Packard
2008-05-17Add check for GEM, use that to enable driver GEM supportKeith Packard
2008-05-14Add glproto to DRI dependenciesRémi Cardona
(cherry picked from commit e9532f3abf1e0b62b2569d4aae60a5a63add571f)
2008-05-14Panel fitting: fix letterbox modesJesse Barnes
In full_aspect mode, we try to preserve the aspect ratio by adding either top & bottom or left & right borders. In the letterbox case (top & bottom borders) we were miscalculating the top border which led to programming a bad mode. Fix the calculation and bug #15559. (cherry picked from commit 5103e5a39a4869a714b8a59da8bf51ecc8c65e4f)
2008-05-14Only use FOURCC_XVMC when INTEL_XVMC is definedKeith Packard
The XVMC code uses a magic FOURCC code to signal frame updates, but that code is only defined when the XVMC code is used. (cherry picked from commit 18ef4158e5574bfc6621b268821532f13e261d13)
2008-05-14Skip copying on FOURCC_XVMC surfacesKeith Packard
(cherry picked from commit 6366e4de540c4713cbc8402c89516464bbdc35b9)
2008-05-14Add glproto to DRI dependenciesRémi Cardona
2008-05-13Formatting fixes for intel_idle.Eric Anholt
2008-05-13Add i915 support to intel_idle.Eric Anholt
2008-05-12Track name changes in GEM ioctls.Keith Packard
allocate → create unreference → close name → flink
2008-05-12Record alignment requirements in mem structure for use by GEM.Keith Packard
GEM needs memory alignment requirements sent at pin time, which is a bit after the allocation itself. Store the required alignment in the memory object for later use by pin.
2008-05-12Panel fitting: fix letterbox modesJesse Barnes
In full_aspect mode, we try to preserve the aspect ratio by adding either top & bottom or left & right borders. In the letterbox case (top & bottom borders) we were miscalculating the top border which led to programming a bad mode. Fix the calculation and bug #15559.
2008-05-12New upstream releaseBrice Goglin
2008-05-12Merge tag 'xf86-video-intel-2.3.1' into debian-unstableBrice Goglin
2008-05-12Bump version 2.3.1Zhenyu Wang
2008-05-12Revert last HP 965GM pipe A quirkZhenyu Wang
Seems not resolve the issue (fdo bug #15885). (cherry picked from commit f280c50dd5d29c5717adc6da2368363cb3d0adbb)
2008-05-12Revert last HP 965GM pipe A quirkZhenyu Wang
Seems not resolve the issue (fdo bug #15885).
2008-05-10More Pipe A force quirksBryce Harrington
(cherry picked from commit d91d9e6a2f2ba18b35cb6fd7bc3fe8bc617eb44f)