summaryrefslogtreecommitdiff
path: root/src/i830_xaa.c
AgeCommit message (Collapse)Author
2009-03-06intel: Nuke shared-entity support (zaphod mode).Eric Anholt
It's been broken for years now, and KMS offers a much better chance of getting this working sensibly without making a mess of the 2D driver.
2009-01-20Remove triple-buffering supportOwain G. Ainsworth
It never worked with any upstream linux kernel, and is quite heavily deprecated. A new solution based around DRI2 will probably be forthcoming. Pageflipping itself is next.
2008-10-17XAA tiling support was mis-computing adjusted pitch (>>4 instead of >>2)Keith Packard
This may well explain why XAA never worked well on tiled front buffers; tiled buffers require a different pitch programming on 965 than non-tiled buffers, in dwords rather than bytes. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2008-03-28Fix obviously stray '(' in non-I830_USE_EXA case.Matthias Hopf
2008-03-14Change OUT_RING and similar calls to OUT_BATCH for batchbuffer mergeEric 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-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-06-19Fix left G33 issuesWang Zhenyu
Be sure to check G33 chip type in: - sdvo output - Y-major tile - crt detect - and xaa composite Sorry for that I should have fixed them very earlier...
2007-04-24CRTC Rotation under XAA wasn't hitting accelerated path.Keith Packard
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-03-11fixup missing assert includesDave Airlie
2007-03-05Merge remote branch 'origin/master' into i830-pageflipMichel Dänzer
Conflicts: src/i830.h src/i830_dri.c src/i830_dri.h src/i830_driver.c src/i830_memory.c src/i830_xaa.c
2007-03-04Fix a crash with XAA and DRI disabled after the allocation rework.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-20Add support for triple buffering using a third static buffer.Michel Dänzer
Need to bump the DRI DDX version minor for the added SAREA fields.
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-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-06Numerous symbol scope issues.Keith Packard
I830EntityIndex is shared between 810 and newer driver. Move most EXA rendering state into I830 structure. Declare shared variables in shared header files rather than .c.
2007-01-06More sparse cleanups:Jesse Barnes
NULL vs. 0 make some variables static remove redundant variables There are only a few sparse warnings left now: some bitfield warnings and a few 'mixing code and declarations' warnings from the ring macros.
2006-09-08Merge branch 'exa-origin' into exaEric Anholt
Conflicts: src/i915_exa_render.c
2006-09-07Re-remove xf86_ansic.h, and move copyright to the top of the file.Eric Anholt
2006-08-24Merge branch 'master' into exaWang Zhenyu
Conflicts: man/i810.man src/Makefile.am src/i830_accel.c src/i830_dga.c src/i830_driver.c
2006-06-18Fix DRI in EXA mode: Don't attempt to use XAA symbols (use the driver's internalEric Anholt
ones for EXA support when available). Also, add an abstraction of XAA/EXA MarkSync and WaitSync functionality so we don't need to sprinkle the ifdefs all over, and correctly use them.
2006-04-28Commit what applied from Jesse Barnes's i830-exa-latest.patch.Eric Anholt