summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* i965: The cube map texture coordinates must be devided by theXiang, Haihao2007-09-261-1/+51
| | | | | component with the largest absolute value before they are delivered. fix bug #12421
* fix a bug in 965 ARB_occlusion_query,Zou Nan hai2007-09-261-2/+2
| | | | fd.o bug #12132
* drm: update bufmgr code to reflect changes in drm interfaceDave Airlie2007-09-251-2/+2
|
* [i965] Bug #11812: Fix fwrite return value checks in AUB file code.Roland Bär2007-09-241-8/+8
|
* Remove leftover code for i915_texprog.c noticed in crossbar review.Eric Anholt2007-09-243-25/+0
|
* Move i915tex driver into place as just i915.Eric Anholt2007-09-2477-0/+0
|
* Remove the old i915 driver now that i915tex works without TTM.Eric Anholt2007-09-2448-21708/+0
|
* fix fd.o bug #12217, recalcuate urb when clip plane size changeZou Nan hai2007-09-241-1/+1
|
* fix DrawRangeElements error msgBrian2007-09-231-1/+1
|
* Merge branch 'i915-unification'Eric Anholt2007-09-2137-1686/+2069
|\ | | | | | | | | | | | | | | | | This branch replaces the DRM pool interface used by i915tex with a "dri_bufmgr" interface in dri/common which may be set up to use either TTM or traditional static memory management according to what is available. The i915tex TTM code now requires an updated DDX which provides proper buffer objects for the static front/back/depth, instead of using fake buffers. The driver is now built as i915_dri.so, and should replace the old i915 driver shortly.
| * Fix buffer/fence reference counting due to Destroy vs Unreference difference.Eric Anholt2007-09-211-7/+39
| | | | | | | | | | While here, remove the unnecessary fence type saving for the wait ioctl, as a 0 argument for type means "use your other saved copy".
| * Uniquely validate the batchbuffer-referenced buffers.Eric Anholt2007-09-201-1/+46
| | | | | | | | | | | | Otherwise, for multiple references by the batchbuffer, the kernel would see the buffer already on the unfenced list and wait for it to leave the list before continuing, leading to hanging and eventual -EBUSY.
| * Add disabled-by-default tracing of TTM bufmgr operations.Eric Anholt2007-09-201-0/+34
| |
| * Fix flipped sign to strerror.Eric Anholt2007-09-201-2/+2
| |
| * Merge branch 'master' into i915-unificationEric Anholt2007-09-20310-7405/+13125
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/i915_vtbl.c src/mesa/drivers/dri/i915tex/intel_batchbuffer.c src/mesa/drivers/dri/i915tex/intel_context.c
| * | Add some error reporting and a couple of assertions to TTM bufmgr.Eric Anholt2007-09-181-0/+8
| | |
| * | Convert TTM code to require the server provide buffers for front/back/depth.Eric Anholt2007-08-167-81/+121
| | | | | | | | | | | | | | | | | | This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
| * | Move i915_disasm to later so we can use the hardware offset.Eric Anholt2007-08-161-3/+7
| | |
| * | Fix bad printf on TTM fence_wait failure.Eric Anholt2007-08-161-1/+1
| | |
| * | Don't forget to update buffer offset after validation.Eric Anholt2007-08-161-0/+2
| | |
| * | Add decode for XY_COLOR_BLT and XY_SRC_COPY_BLT.Eric Anholt2007-08-161-2/+85
| | |
| * | Don't try to use kernel BO flags in dri_bufmgr_fake internals.Eric Anholt2007-08-021-9/+10
| | |
| * | bufmgr_fake: eliminate the referenced list, which is now just on_hardware.Eric Anholt2007-07-311-41/+8
| | |
| * | Don't initialize extensions we can't support when !ttm.Eric Anholt2007-07-311-2/+9
| | |
| * | Add notes about bufmgr initialization failures.Eric Anholt2007-07-252-0/+3
| | |
| * | bufmgr_ttm: hook up destroy function, track buffer names.Eric Anholt2007-07-061-1/+5
| | |
| * | bufmgr_fake: Keep the bufmgr lock held while freeing a block.Eric Anholt2007-07-051-1/+1
| | |
| * | Fix copy'n'pasteo that broke display lists.Eric Anholt2007-07-051-1/+1
| | |
| * | Merge branch 'i915-unification' of ↵Eric Anholt2007-07-0565-781/+1659
| |\ \ | | | | | | | | | | | | git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification
| | * \ Merge branch 'origin' into i915-unificationEric Anholt2007-06-2158-742/+826
| | |\ \
| | * | | Reset saved state for disasm when we've lost the context.Eric Anholt2007-06-213-0/+11
| | | | |
| | * | | Add decoding of inline primitives in debug output.Eric Anholt2007-06-211-11/+127
| | | | |
| | * | | Improve fake bufmgr debugging, and don't try to migrate static buffers.Eric Anholt2007-06-211-5/+34
| | | | |
| | * | | Add missing i915_disasm.h header and adjust copyright formatting on the .cEric Anholt2007-06-212-3/+31
| | | | |
| | * | | Fix TTM static allocation flags.Eric Anholt2007-06-181-1/+1
| | | | |
| | * | | Test for TTM presence initially rather than test for lack of classic aperture.Eric Anholt2007-06-182-10/+23
| | | | |
| | * | | Replace intel_dump_batchbuffer with a more informational version.Eric Anholt2007-06-153-22/+619
| | | | |
| | * | | Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.Eric Anholt2007-06-151-1/+1
| | | | |
| * | | | Add buffer manager destroy function.Eric Anholt2007-05-315-3/+30
| | | | |
| * | | | Remove some stale comments.Eric Anholt2007-05-311-2/+0
| |/ / /
| * | | Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt2007-05-247-44/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, allocations only take locations, rather than a variety of unused flags. The only interesting flag before was the no_move/no_evict pair for scanout and similar buffers, which the DRI drivers don't use. That will be readded when we get to using this code for display buffer allocation, by adding a pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and root window resizing). This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional.
| * | | Merge branch 'master' into i915-unificationEric Anholt2007-05-2496-2882/+2399
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915tex/i830_texstate.c src/mesa/drivers/dri/i915tex/i915_texstate.c
| * | | | Don't read beyond the end of the buffer with INTEL_DEBUG=bat.Eric Anholt2007-05-211-5/+15
| | | | |
| * | | | Enable INTEL_DEBUG environment variable.Eric Anholt2007-05-211-1/+1
| | | | |
| * | | | Remove unused intel_batchpool.c.Eric Anholt2007-05-211-418/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This may need to be implemented again, but probably not as a buffer manager (pool).
| * | | | Notify the fake buffer manager on contended lock take.Eric Anholt2007-05-212-0/+11
| | | | |
| * | | | Merge branch 'master' into i915-unificationEric Anholt2007-05-18230-17053/+15239
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/intel_batchpool.c src/mesa/drivers/dri/i915tex/intel_buffer_objects.c src/mesa/drivers/dri/i915tex/intel_regions.c src/mesa/drivers/dri/i915tex/intel_screen.c src/mesa/drivers/dri/i915tex/intel_screen.h
| * | | | | Fix a refcounting mistake with first_swap_fence.Eric Anholt2007-05-181-1/+1
| | | | | |
| * | | | | Fix another mis-calling of _fence_wait_internal.Eric Anholt2007-05-181-1/+1
| | | | | |
| * | | | | Allow unreference with a NULL argument.Eric Anholt2007-05-181-0/+6
| | | | | |