summaryrefslogtreecommitdiff
path: root/src/i830_accel.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.
2009-01-14Fix ioctl type.Owain G. Ainsworth
I915_EMIT_IRQ is a read/write ioctl, not a write only. Found by OpenBSd's kernel code which checks these things a long more strongly than Linux.
2008-12-03Enable tiling for DRI2 back/depth buffers.Eric Anholt
This results in allocation overhead for small (8x8-128x128 or so) pixmaps with DRI2, but we're interested in looking at tiling them in general in the near future, anyway.
2008-11-17Merge commit 'origin/master' into dri2Kristian Høgsberg
Conflicts: src/i830_dri.c src/i830_driver.c src/i830_memory.c
2008-10-19Reduce incidence of MI_FLUSH usage.Keith Packard
This tracks whether the last command in each batch is an MI_FLUSH command and avoids appending another MI_FLUSH in the non-GEM cases. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-10-17Handle differently tiled front/back/depth/third in DRI window managementKeith Packard
When moving or clearing the extra buffer contents associated with DRI windows, the XAA code needs to see which buffer is being manipulated in the Setup functions to program the tiling values correctly. Calling I830SelectBuffer and not then calling I830Setup... would result in mis-tiled rendering. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2008-10-14Update to DRI2 changes.Kristian Høgsberg
Implement DRI2CopyRegion and provide drm device filename to DRI2 module.
2008-10-14Merge commit 'origin/master' into HEADKristian Høgsberg
2008-10-06Fix driver build against server 1.4.2.Eric Anholt
This disables UXA and DRM modesetting pre-1.5, due to privates handling issues.
2008-09-04DRI2: Move pixmap pitch alignment for use with depth to pixmap create.Eric Anholt
The previous location for pitch fixup would have only worked when depth was used with the backbuffer, and no page flipping or other adventures occurred.
2008-08-29Add DRI2 support.Kristian Høgsberg
2008-08-12Don't wait for ring if kernel mode setting is activeJesse Barnes
We won't have the ring mapped.
2008-08-05Use dri_bo for all object allocations, including pixmaps under uxaKeith Packard
2008-08-05Make EXA functions work for UXA as wellKeith Packard
EXA and UXA have the same acceleration interface, but UXA doesn't provide pixmap stride information as it doesn't manage pixmaps. Move all of that into the driver structure so that the acceleration functions needn't reference the EXA structure.
2008-08-05Add UXA - the unified memory acceleration architecture.Keith Packard
This eliminates the cost of EXA migration management while providing full pixmap allocation control to the driver. The goal is to make something useful for UMA drivers.
2008-06-10[gem] Don't set up the ring in GEM mode, as that'll be handled by the kernel.Eric Anholt
2008-06-10Use batchbuffers instead of ring emits for general commands.Eric Anholt
The batchbuffers are managed using libdrm and bufmgr_fake, and dispatched from the ring from userland.
2008-06-05Replace a couple of wait-for-ring-idles with a single function to do so.Eric Anholt
2008-04-17Make the binding table and surface state be arrays to reduce syncing.Eric Anholt
2008-04-10Keep static copies of the 965 render programs in video memory.Eric Anholt
This reduces the CPU overhead of memcpying them in every time, for a speedup in aa24text of around 30%. This is based on work by Carl Worth which is in the intel-batchbuffer branch.
2008-03-14Change OUT_RING and similar calls to OUT_BATCH for batchbuffer mergeEric Anholt
2008-03-06No ring, no syncZhenyu Wang
2007-11-14Don't stop ring before restoring hw stateJesse Barnes
Some of the hw state restoration callbacks may want to use the ring for various things like stopping video playback, so leave the ring enabled until we get back from RestoreHWState. Also rename the functions so that their purpose is clearer and remove a couple of redundant lines.
2007-07-25When TTM is available, use it instead of manual AGP allocations when possible.Eric Anholt
This is a step towards being able to expose buffer objects through the screen private to DRI clients, instead of having them have to use the fake buffer object type. This fails in two ways. First, the kernel memory manager is not currently suitable for doing the physical allocations we need, so we still use AGP for those. Additionally, the DRI lock can't be initialized early enough for us, so these buffer object allocations fail. This will be fixed by improving the DRM interface.
2007-05-18Fix ring debug codeWang Zhenyu
Use proper unsigned type for timer variables, and try to dump 965G state.
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-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-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-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-12-12Move PrintErrorState and CheckInheritedErrors code to i830_debug.c.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-08-21Fix bug #7930, i810 doesn't compile without DRIAlan Hourihane
(Samuel Thibault)
2006-08-03Add current Tungsten Graphics code drop for i965 support.Alan Hourihane
2006-07-14Current exa render implement for i830 and i915, test onWang Zhenyu
865GM and 915G. There is issue in picture 'repeat' support. And also stop recursive behavior in I830WaitLpRing to allow server to abort instead of system hang.
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
2006-03-22Drop libc wrapper; don't include xf86_ansic.h and add includes now missing.Kristian Høgsberg
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.Adam Jackson
2004-07-30Bug #400 (partial): Driver fixes for the dlloader. When usingAdam Jackson
dlloader, all framebuffer formats except cfb and the overlay modes should work, and r128 and radeon need to be loaded from the ati driver (both issues to be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga drivers. elfloader users shouldn't be affected.
2004-06-22i915 supportAlan Hourihane
Dual Head support for i830, i855, i915. ARGB cursor support (including i810) for all chipsets.
2004-06-16DRI XFree86-4_3_99_12-merge importEric Anholt
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004Egbert Eich
2004-02-26readding XFree86's cvs IDsEgbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2004-01-29Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004Egbert Eich
2003-11-25XFree86 4.3.99.16Kaleb Keithley
Bring the tree up to date for the Cygwin folks