summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-23Fix fence allocations on 965.Eric Anholt
2007-02-23Rework the video memory allocation.Eric Anholt
The previous allocator worked in multiple passes, with (at least) one of setting up allocations, another to attempt to adjust those for tiling, and then a pass to set up the offsets and fix them in memory. The new allocator is simpler, allocating memory immediately if possible, setting up tiling up front, and choosing offsets immediately. AGP memory is only allocated to back actual memory used, saving some memory that would have been allocated for padding previous. It will also allow dynamic freeing and reallocation of memory, which will be useful for framebuffer resizing.
2007-02-22Reformat to 4-space indents, no trailing whitespace, and 80 columns.Eric Anholt
I'm in the process of rewriting this file, and wanted to separate my whitespace changes.
2007-02-20Pre-965 hardware had fixed pipe 1 for panel fitter.Keith Packard
The pipe mode setting code needs to disable the panel fitter when using the pipe for things other than LVDS output. The driver was checking for panel fitter conflicts using bits that the 965 chipset defines for selecting which pipe the panel fitter is connected to. However, on pre-965 hardware, the panel fitter works only with pipe 1 and those bits returned 0. The result was that when pipe 1 was using the panel fitter, configuring pipe 0 would disable the panel fitter. The fix provided uses a model-specific test for the panel fitter pipe.
2007-02-17Make distcheck fixes. Distribute all sources needed even for older servers.Keith Packard
Always allow (but do not require) link to server sources so that needed files can be included in the generated tar files. Add remaining .g4a files and assembly output to distributed file lists.
2007-02-16Check for presence of xf86Modes.h file.Keith Packard
xf86Modes.h file signals the availability of the new modes API in the server; use that instead of counting on X server version numbers. Also, finish eliminating use of local copies of those header files.
2007-02-16Remove common code that has moved to xserver/hw/xfree86/modesKeith Packard
2007-02-16Change rotation pixmap creation API to permit start-time rotation.Keith Packard
Start time rotation requires that the pixmap be created after the server has initialized the screens. Delay the pixmap creation until the first block handler invocation.
2007-02-15Enable mode setting function renames from shared code.Keith Packard
2007-02-15Use server sources for crtc/output generic code.Keith Packard
As sources for these have been merged to the server, use them from the server source code instead of keeping copies in this driver.
2007-02-15Print the correct meaning of bit 30 of pipeconf for 965 in debug output.Eric Anholt
2007-02-15Detect core clock frequencies, to avoid double-wide mode when possible.Eric Anholt
Additionally, don't attempt to set double-wide on the 965, where there is no such thing any more (not that we'd ever see modes high enough to trigger it).
2007-02-15EXA: fix i965 default color (0,0,0,1.0) -> (0,0,0,0)Wang Zhenyu
(0,0,0,1.0) is actually black...
2007-02-15EXA: mask componentAlpha supportWang Zhenyu
we're getting load of multiple sf/wm programs for i965, might need to be cleanup in future.
2007-02-14Global namespace cleanups, filename fixes.Keith Packard
Ensure all xf86 symbols created here are protected with XF86NAME. Remove accidentally exported symbols from namespace. Make all to-be-DI files prefixed with i830_xf86.
2007-02-14Create driver-independent DGA hooks, remove i830 DGA code.Keith Packard
As RandR needs to poke at DGA code, and we want the RandR code to be driver-independent, it seemed easier to just make the DGA code driver-independent as well.
2007-02-14WIP DGA generic support.root
2007-02-13Switch the RECTLIST vertex order to (x2, y2), (x1, y2), (x1, y1).Eric Anholt
This is the documented correct ordering, and while the previous ordering (reversed) worked on some hardware, it failed on others. Reported by: Wang Zhenyu <zhenyu.z.wang@intel.com>
2007-02-13Bug #9941: ViewSonic VX2025wm sync polarity quirk to fix mode distortion.Eric Anholt
2007-02-13Fix double free in the case of LVDS disabled through quirks.Eric Anholt
2007-02-13Merge branch 'modesetting-origin' into modesettingEric Anholt
2007-02-13Attempt to detect panel fixed mode from EDID or current programmed mode.Eric Anholt
These two sources are placed in higher priority to the BIOS data when available, since the BIOS data has proven unreliable. The BIOS data is still read, and warnings printed if it doesn't match what we probe. The BIOS data remains useful for the situation where we want to turn on LVDS but there is no EDID available and no current mode programmed (i.e. booting with VGA or TV connected).
2007-02-13Remove dead #if 0-ed structure.Eric Anholt
2007-02-09Fix comments on 965 pitch alignment restrictions.Eric Anholt
2007-02-09add missing files to fix distcheckDaniel Stone
A bunch of files were missing from _SOURCES, and the build was also broken for missing files (from EXTRA_DIST) when building without gen4asm.
2007-02-09 TV EnableZou Nan hai
2007-02-08EXA: i965 pixmap pitch alignWang Zhenyu
This seems like a typo, which causes screen artifacts.
2007-02-07EXA: fix render issue with i965Wang Zhenyu
Fix SF kernel with corrent coeffient work, and correct VUE storage in multi texture case.
2007-02-02Add subpixel offsets to fix accelerated rotated rendering on i915.Eric Anholt
This fixes the rendercheck "transformed src/mask coords 2" tests. Previously, the source pixels chosen would be off by one in some cases. The particular values were taken from Mesa, which uses .125 offsets (except apparently broken for y), but the signs are changed. I would be happier if I had better justification for why this worked.
2007-02-02Fix bad offsets in "right" rotation of the CRTC in cursor and update handling.Eric Anholt
2007-02-01Rename driver from i810 to intel. Permit old name for compatibility.modesetting-rotationKeith Packard
Driver installs as intel_drv.so with symlink to i810_drv.so to ensure existing configurations continue to work. Updated manual page to reflect name change and add attributions for recent work.
2007-02-01Merge branch 'modesetting-origin' into modesettingKeith Packard
2007-02-01Add "Ignore" option to per-output monitor, removes output from server.Keith Packard
Setting option "Ignore" "Yes" will cause the server to pretend as if the specified output does not exist at all. It will not be listed by the RandR1.2 extension, and the server will not attempt to detect monitors at startup time.
2007-02-01Check for rotation change in xf86RandR12CrtcSet.Keith Packard
xf86RandRCrtcSet was ignoring changes to only rotation, so the screen would be left incorrectly rotated.
2007-02-01Improve register debugging output.Eric Anholt
This includes not reporting some fields on hardware where those bits are reserved, correcting one of the hardware error bit numbers, and reducing the severity of the debugging output warnings.
2007-02-01Remove some more dead options.Eric Anholt
2007-02-01Bug #9819: Add two headers that are apparently necessary on older X Servers.Eric Anholt
2007-01-31Sync before overwriting Render acceleration state on the 965.Eric Anholt
2007-01-31Fix copy-and-paste-o in the render code cleanup that broke XAA.Eric Anholt
2007-01-31Naming and formatting cleanup in Render acceleration code.Eric Anholt
2007-01-31Move the render code to non-EXA-specific filenames.Eric Anholt
2007-01-31Remove custom accelerated rotation code now that it's all done through Render.Eric Anholt
2007-01-31Add an accelerated path for rotation Render operations in XAA.Eric Anholt
The now-generic (kind of) EXA code will be cleaned up and moved to generic files in a later commit.
2007-01-30Fix accelerated Render transformations.Eric Anholt
Previously, we tried to use 2 points instead of 3 to describe the source rectangles, which mostly just worked for scaling.
2007-01-30Simplify EXA acceleration transform handling.Eric Anholt
2007-01-29Merge branch 'modesetting-rotation' into modesettingKeith Packard
This adds reasonably driver-independent rotation support to the common layer. The piece required in the driver is to allocate and redirect the crtc to a shadow frame buffer. The driver uses Render to perform the actual rotation operation (which leaves us free to do fun projective transforms at some point in the future :-).
2007-01-29Restore a few important lines from 89ace3e81fe72075b1709b073c05532f13b7f0d1Eric Anholt
Typical results were failure to sync, and a black screen.
2007-01-29Remove dead code to undo the damage of xf86SetModeCrtc() blank limiting.Eric Anholt
2007-01-29Bug #9680: Remove bogus blank length limiting in xf86SetModeCrtc().Eric Anholt
Our modes typically come from EDID or default modes, and when the monitor asks for a specific mode, deciding to tweak it usually results in incorrect display. And if the user is specifying a mode by hand, tweaking it then is still pretty rude. Reviewed by: ajax
2007-01-29ch7xxx: actually power up the chip around connection detectionDave Airlie