summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2007-08-25Thinkpad X61s has no TV outKeith Packard1-0/+2
2007-08-17Make sure XV_PIPE is used whenever possible.Keith Packard1-2/+5
The code was not consistently using XV_PIPE when the desired crtc contained any portion of the video output.
2007-08-17Tune acceleration architecture allocator sizes down.Eric Anholt1-3/+1
2007-08-17Replace AA allocator usage with i830_memory.c for RandR rotation.Eric Anholt5-111/+48
This requires EXA 2.2 (server 1.3) for rotated performance with EXA, because the i830_memory.c allocation may not fall within what EXA considers the offscreen area, so the PixmapIsOffscreen hook is needed.
2007-08-17Use i830_memory.c instead of the AA's allocator for XV buffers.Eric Anholt4-141/+57
This should fix issues with XV being allocated into XAA's tiled pixmap cache and resulting bad rendering. Its also brings us closer to being able to shrink the size of the pixmap cache on XAA, which is of limited utility.
2007-08-16Merge branch 'master' of ↵Jesse Barnes2-11/+12
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
2007-08-16Disambiguate plane and pipe mapping, use plane A on pipe B on pre-965 LVDSJesse Barnes4-33/+59
Add a new 'plane' field to the intel_crtc private structure for tracking planes separate from pipes. This allows pre-965 chips to use plane A on pipe B, enabling framebuffer compression for builtin LVDS displays.
2007-08-16i915: add support for render to a8Dave Airlie1-11/+11
2007-08-15intel: don't setup texOffsetStart unless using EXADave Airlie1-0/+1
2007-08-14Fix seg fault introduced in tiling patch when TV detectZhenyu Wang1-1/+1
When TV does load detect, fb hasn't been setup, so we should check that in i830_display_tiled(). Caught by Nanhai.
2007-08-10Save/restore tile-mode offset registers DSPATILEOFF and DSPBTILEOFFKeith Packard2-0/+10
Now that the driver sets these registers, they must be saved and restored.
2007-08-10Set DSPATILEOFF/DSPBTILEOFF to handle 965 tiled frame buffers.Keith Packard1-0/+2
DSPATILEOFF and DSPBTILEOFF replace DSPASURF and DSPBSURF when the frame buffer is in tiled mode.
2007-08-10Add #if 0-ed fence debugging code. It's noisy, and of little use to most.Eric Anholt1-0/+32
2007-08-10Don't force tiling on if it is disabled in configuration but fbc is possible.Eric Anholt1-6/+0
2007-08-10Fix stack-smashing in the last commit.Eric Anholt1-2/+3
2007-08-10Attempt to fix several front buffer tiling failure cases.Eric Anholt8-158/+143
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 Packard1-4/+2
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 Barnes2-5/+2
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 Barnes2-14/+2
2007-08-10Tiling fixes for 965Jesse Barnes5-9/+55
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-09i965: increase composite vertex buffer size and alignment to be safeDave Airlie1-2/+2
2007-08-09i965: fix memcpy of the sf_kernel when a mask is neededDave Airlie1-1/+2
2007-08-08Allow 965 composite acceleration to A8 destinations.Carl Worth1-8/+1
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 Anholt1-3/+0
2007-08-07Merge branch 'origin'Eric Anholt1-0/+4
Conflicts: src/i830_exa.c
2007-08-07Fix EXA rendering with tiled front buffer on pre-965.Eric Anholt3-39/+29
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 Barnes1-13/+11
be called many times for the same pixmap, and we don't want to keep dividing the pitch by 4.
2007-08-07Define INTEL_VERSION_MAJOR/MINOR/PATCH using PACKAGE_VERSION_*Brice Goglin1-0/+4
2007-08-06Remove 4k offset checks from Copy & Solid hooks.Jesse Barnes1-13/+3
Reading the docs too literally can cause you to hide bugs with false fixes...
2007-08-06Fix accumulated whitespace nits in i830_exa.cEric Anholt1-16/+16
2007-08-06More tiled rendering fixes: - check for tiling, not just offset in ↵Jesse Barnes1-7/+11
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 Anholt1-1/+2
2007-08-06Quirk away the nonexistent TV connector on the Panasonic CF-Y4.Eric Anholt1-0/+2
2007-08-03Limit Solid & Copy offsets to 4k when rendering to tiled targetsJesse Barnes1-0/+8
2007-08-03Merge branch 'master' of ↵Jesse Barnes1-0/+1
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
2007-08-03Tiled rendering & fbc fixes:Jesse Barnes6-119/+186
- 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-07-31Legacy backlight changes:Jesse Barnes3-26/+61
- 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-28Update Lenovo TV quirk infoZhenyu Wang1-0/+1
2007-07-27Add another Lenovo TV output quirkWang Zhenyu1-0/+1
From issue report http://lists.freedesktop.org/archives/xorg/2007-July/026644.html
2007-07-27Add quirk supportWang Zhenyu6-21/+112
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-23Fix a typo in i915 renderZhenyu Wang1-1/+1
Fence setting is in mapstate actually. This fixes rotation in tiled fb case, thanks Keith to report this.
2007-07-20Fix device id info for 945GME, 965GMEZhenyu Wang1-2/+10
which do have new host bridge ids
2007-07-19strip out remainder of drmmm code in driverDave Airlie1-12/+0
2007-07-17intel: don't try and use TTM memory manager with old libdrm interfaceDave Airlie2-88/+0
I probably need to release a libdrm with this interface in it now..
2007-07-13Remove hard-coded CRT blanking frobbing for load detection.Keith Packard2-4/+4
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.
2007-07-13Ensure pipe/output active before doing load detection.Keith Packard5-70/+94
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.
2007-07-13Eliminate bogus (and harmful) blanking adjustment for load detect.Keith Packard2-50/+94
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.
2007-07-11Fix i915 rendering for tiled bufferWang Zhenyu1-5/+2
Make it to check fence register for dest buffer.
2007-07-09Fix some physical address handling for >4GB addresses.Eric Anholt2-28/+33
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.
2007-07-07FBC fixes:Jesse Barnes2-15/+30
- allow FBC and Tiling to be forced off if configured to do so - only touch FBC registers if pI830->fb_compression is true