summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-10Add #if 0-ed fence debugging code. It's noisy, and of little use to most.Eric Anholt
2007-08-10Don't force tiling on if it is disabled in configuration but fbc is possible.Eric Anholt
2007-08-10Fix stack-smashing in the last commit.Eric Anholt
2007-08-10Attempt to fix several front buffer tiling failure cases.Eric Anholt
Front buffer tiling is now disabled with G965 and XAA. Some of the acceleration that i830_xaa.c does can't be supported on tiled buffers. Adds a tiling field to struct i830_memory, and uses it instead of separate variables for each potential tiled buffer.
2007-08-10Clean up tv mode name allocation and copy.Keith Packard
TV mode names used to contain the signalling standard along with the pixel size. The signalling has been moved to the TV_FORMAT property, but the allocation and initialization of the mode name was left a bit messy as a result.
2007-08-10Cleanup tiling and FBC driver output.Jesse Barnes
Remove an extra "FBC enabled" message from i830_memory.c (only report errors if they occur), and don't print the "forcing FBC on" message if tiling was already enabled, as it's redundant and confusing.
2007-08-10Enable tiling by default on 965.Jesse Barnes
2007-08-10Tiling fixes for 965Jesse Barnes
This should be close to the last set of tiling fixes for 965 chipsets. Prior to this commit, the 965 composite hook didn't take tiling into account, nor did 965 textured video, which caused display corruption. However, there seems to be at least one last bug to squash--on occasion, a configuration with tiling enabled won't properly display text. This is likely another tiling related problem with the composite hook.
2007-08-10Merge branch 'master' into xvmc-i915Zhenyu Wang
2007-08-10disable subpicture initialZhenyu Wang
until we really implement it, OSD can't work for now.
2007-08-09i965: increase composite vertex buffer size and alignment to be safeDave Airlie
2007-08-09i965: fix memcpy of the sf_kernel when a mask is neededDave Airlie
2007-08-08Legacy backlight changes: - add support for 965GM - make sure legacy enabled ↵Jesse Barnes
systems don't reduce the range of backlight values we can present to the user (cherry picked from commit 0da4f2b0cd7203377ad10407928a367b8c6d310e) Conflicts: src/i830.h
2007-08-08Quirk away the nonexistent TV connector on the Panasonic CF-Y4.Eric Anholt
(cherry picked from commit 322a163cfbda885adc6bb09c1f976d36617ea83b)
2007-08-08Allow 965 composite acceleration to A8 destinations.Carl Worth
Note that this is a slowdown in text rendering due to the high overhead of our compositing setup, but appears to be correct according to rendercheck.
2007-08-08Bug #11593: Remove dead struct vch_bdb_20 which was angering the sun compiler.Eric Anholt
2007-08-08check early if we have slot left for new context or surfaceZhenyu Wang
2007-08-08I missed to remove port attributes wrapperZhenyu Wang
2007-08-08explicit say "unsigned int"Zhenyu Wang
2007-08-08remove xvmc attributesZhenyu Wang
We don't have extra attributes than Xv port.
2007-08-07Merge branch 'origin'Eric Anholt
Conflicts: src/i830_exa.c
2007-08-07Fix EXA rendering with tiled front buffer on pre-965.Eric Anholt
The 915 and earlier appear to respect the fence registers, while only the 965 requires the per-operation tiling setting and pitch shifting. This will also fix issues with rendering on the 965 involving multiple cliprects, where the pitch would get divided repeatedly. This removes the offset < 4096 fallback, which essentially resulted in no acceleration to tiled buffers, hiding the issues.
2007-08-07Fixup pitch in Prepare* functions, since actual hooks mayJesse Barnes
be called many times for the same pixmap, and we don't want to keep dividing the pitch by 4.
2007-08-07code cleanupsZhenyu Wang
and put wrap function in driver xvmc priv instead of per xv port priv
2007-08-07Define INTEL_VERSION_MAJOR/MINOR/PATCH using PACKAGE_VERSION_*Brice Goglin
2007-08-06Remove 4k offset checks from Copy & Solid hooks.Jesse Barnes
Reading the docs too literally can cause you to hide bugs with false fixes...
2007-08-06Fix accumulated whitespace nits in i830_exa.cEric Anholt
2007-08-06More tiled rendering fixes: - check for tiling, not just offset in ↵Jesse Barnes
PrepareSolid - combine pI830->tiling and frontbuffer checks into new exaPixmapTiled function for readability
2007-08-06Add the file mode for bios_dumper output so it doesn't have 000 permissions.Eric Anholt
2007-08-06Quirk away the nonexistent TV connector on the Panasonic CF-Y4.Eric Anholt
2007-08-03Limit Solid & Copy offsets to 4k when rendering to tiled targetsJesse Barnes
2007-08-03Merge branch 'master' of ↵Jesse Barnes
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
2007-08-03Tiled rendering & fbc fixes:Jesse Barnes
- actually enable tiling in DSP(A|B)CNTR if needed - add logic to EXA routines for tiled case (still needs work) - enable/disable fbc on DPMS events (meant moving functions higher in file) - fix fence register pitch programming (use correct pitch instead of kludged value)
2007-08-02Mark DRI buffers as shareable, and pass their buffer handles through the SAREA.Eric Anholt
2007-07-31Legacy backlight changes:Jesse Barnes
- add support for 965GM - make sure legacy enabled systems don't reduce the range of backlight values we can present to the user
2007-07-29Update Lenovo TV quirk infoZhenyu Wang
(cherry picked from commit 15f71edba37738f8ba279fa07452fda10cc65298)
2007-07-29Add another Lenovo TV output quirkWang Zhenyu
From issue report http://lists.freedesktop.org/archives/xorg/2007-July/026644.html (cherry picked from commit f403a50afbcef1e54f554481c72037338bd5357c)
2007-07-29Add quirk supportWang Zhenyu
This one trys to use a flag for possible quirks. It adds a quirk for my Lenovo T61 TV output, and ports some origin LVDS quirks to it. (cherry picked from commit 34c82ad7ce83394db47588693b578cf91991bf1c)
2007-07-28Update Lenovo TV quirk infoZhenyu Wang
2007-07-27Pin some buffer objects at creation time, which can't be moved yet.Eric Anholt
A number of other interfaces of ours don't allow buffer offsets to be updated after screeninit. This attempts to catalog why for each one, so that they can be fixed one by one. This happens to restore the EXA offscreen allocator for now, as a fixed-offset object.
2007-07-27Delay the first screen pixmap update to CreateScreenResources.Eric Anholt
The return value of GetScreenPixmap before CreateScreenResources is not, in fact, a pixmap.
2007-07-27Use the dontMapFramebuffer option available with DRIINFO 5.4.Eric Anholt
If not available, AIGLX init will fail. While here, simplify DRIINFO tests since we refuse to init with a version queried less than the version we compiled against, anyway.
2007-07-27Add another Lenovo TV output quirkWang Zhenyu
From issue report http://lists.freedesktop.org/archives/xorg/2007-July/026644.html
2007-07-27Add quirk supportWang Zhenyu
This one trys to use a flag for possible quirks. It adds a quirk for my Lenovo T61 TV output, and ports some origin LVDS quirks to it.
2007-07-26Fix some physical address handling for >4GB addresses.Eric Anholt
The upper bits would have been inappropriately dropped on G33-class hardware, and on G965-class hardware in a 32-bit environment. The only use of physical addresses on these should be for FBC, though, and FBC requires addresses below 4GB. This is unresolved. (cherry picked from commit 88f8b688e2316ae4a1f7485f0010ce90de54783a)
2007-07-26Fix typo in intel.manBrice Goglin
Reported by A. Costa" <agcosta@gis.net> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432061 (cherry picked from commit 0fd3ba0518b3cde9ca0e4e2fc1854c00d8a43d5c)
2007-07-26Fix device id info for 945GME, 965GMEZhenyu Wang
which do have new host bridge ids (cherry picked from commit b1af2c0e01c54ef1d40fd0ca1ede29a1dd7ed97b)
2007-07-26Remove hard-coded CRT blanking frobbing for load detection.Keith Packard
CRT blanking needn't be adjusted to perform load detection on 9xx chips, and the 8xx load detection path now adjusts blanking just during load detection. Adjusting the blanking interval turned out to cause many monitors to fail to sync. (cherry picked from commit ff2be3995d33f9e4b7f63b380f166b6168c9b9c6)
2007-07-26Ensure pipe/output active before doing load detection.Keith Packard
If the pipe or output have been set to DPMSOff, then load detection will not work correctly. Also, share the load detection configuration code between crt and tv outputs. (cherry picked from commit 00f4587025a3879626623135b0a153fcdb906719)
2007-07-26Eliminate bogus (and harmful) blanking adjustment for load detect.Keith Packard
Instead of always adding blanking to mode lines, use the FORCE_BORDER option on i9xx hardware where it works, and dynamically add a bit of border if necessary on i8xx hardware to make load detection work. This may cause flashing when a usable crtc is not otherwise idle when load detection is requested. (cherry picked from commit 6f18300aed1340348c6d395f326061b5315be643)