aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* [965] Hook up DEBUG_BUFMGR output for bufmgr_fake.Eric Anholt2007-12-101-0/+2
|
* [965] Convert the driver to dri_bufmgr interface and enable TTM.Eric Anholt2007-12-0740-2465/+874
| | | | | | | | | | | | | This is currently believed to work but be a significant performance loss. Performance recovery should be soon to follow. The dri_bo_fake_disable_backing_store() call was added to allow backing store disable like bufmgr_fake.c did, which is a significant performance win (though it's missing the no-fence-subdata part). This commit is a squash merge of the 965-ttm branch, which had some history I wanted to avoid pulling due to noisiness and brokenness at many points for git-bisecting.
* [965] Remove dead code in upload_wm_surfaces.Eric Anholt2007-12-071-3/+0
|
* [965] Move brw_surface_state stack allocation into the function using it.Eric Anholt2007-12-071-30/+28
|
* i915: fix the error in the previos commit.Xiang, Haihao2007-12-071-1/+1
|
* i915: Check the program size when uploading a program. fix bug 13494Xiang, Haihao2007-12-071-6/+8
|
* Revert "[965] Add missing flagging of new stage programs for updating stage ↵Eric Anholt2007-12-055-94/+53
| | | | | | | | | state." I had forgotten part of brw_state_cache.c that made this fix not relevant for master (last_addr comparison and flagging based on cache id). This reverts commit a4642f3d18bdaebaba31e5dee72fe5de9d890ffb.
* [965] Add missing flagging of new stage programs for updating stage state.Eric Anholt2007-12-055-53/+94
| | | | | | Otherwise, choosing a new program wouldn't necessarily update the state, and and an old program could be executed, leading to various sorts of pretty pictures or hangs.
* Don't Swap buffer if a DRIDrawable is entirely obscuredXiang, Haihao2007-12-051-0/+3
| | | | by another window.
* [965] Change constant buffer from state structs to plain batch emission.Eric Anholt2007-12-031-40/+22
| | | | Reduces diff to branch which has a relocation in this state emit.
* i915: Fix up state changes for i8xx.Michel Dänzer2007-12-031-6/+56
|
* [intel] Move batch bo_unmap from TTM code to shared, and add more asserts.Eric Anholt2007-11-303-2/+8
|
* [intel] Add failure path printfs to relocation code and some comments.Eric Anholt2007-11-301-3/+32
|
* [intel] Simplify TTM relocation code by passing around bufmgr struct.Eric Anholt2007-11-301-24/+26
|
* [intel] Fix the type and naming of the flags/mask args to TTM functions.Eric Anholt2007-11-304-35/+35
| | | | | The uint64_t flags (as defined by drm.h) were being used as unsigned ints in many places.
* [intel] intel_bufmgr_ttm style sanityEric Anholt2007-11-301-308/+343
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-30107-9411/+8748
|\
| * i965: if source depth to render target is set,Xiang, Haihao2007-11-301-0/+14
| | | | | | | | it should be handled in fb_write.
| * i965: use uncompressed instruction to ensure onlyXiang, Haihao2007-11-301-0/+1
| | | | | | | | | | Pixel Mask Copy is modified as the pixel shader thread turns off pixels based on kill instructions.
| * [i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake.Eric Anholt2007-11-293-6/+17
| |
| * New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian2007-11-291-0/+2
| | | | | | | | t_vb_program.c
| * r200: Fix texture format regression on big endian systems.Michel Dänzer2007-11-281-3/+6
| | | | | | | | | | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=13324 . Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets called for MESA_FORMAT_RGB888.
| * i965: update RefCount when using Vertex/Fragment program.Xiang, Haihao2007-11-281-0/+2
| | | | | | | | It makes quake4-demo works well on 965.
| * use DEFAULT_SOFTWARE_DEPTH_BITSDelle2007-11-271-9/+11
| |
| * i965: The jump instruction count is addedXiang, Haihao2007-11-271-1/+1
| | | | | | | | | | | | to IP pre-increment, and should point to the first instruction after the do instruction of the do-while block of code
| * i915: Catch cases where not all state is emitted for a new batchbuffer.Keith Whitwell2007-11-266-1/+56
| | | | | | | | This could lead to incorrect rendering or even lockups.
| * i915: Some additional blit fixes and assertions.Michel Dänzer2007-11-261-8/+24
| |
| * intel: Fix relative symlinks.Michel Dänzer2007-11-252-2/+2
| |
| * fix z buffer read/write issue with rv100-like chips and old ddxRoland Scheidegger2007-11-221-1/+5
| |
| * [965] Replace 965 texture format code with common code.Eric Anholt2007-11-208-187/+8
| | | | | | | | | | The only functional difference should be that 965 now gets the optimization where textures default to 16bpp when the screen is 16bpp.
| * [965] Remove dead exec vfmt code which was replaced by generic vbo code.Eric Anholt2007-11-201-530/+0
| |
| * [965] Add INTEL_DEBUG=fall debugging output.Eric Anholt2007-11-191-5/+17
| |
| * [965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.Eric Anholt2007-11-1912-16/+31
| |
| * [intel] Add 965 support to shared intel_blit.cEric Anholt2007-11-1612-75/+119
| | | | | | | | | | This requires that regions grow a marker of whether they are tiled or not, because fence (surface) registers are ignored by the 965 2D engine.
| * [i915] Pass static region names in so debugging says more than "static region".Eric Anholt2007-11-163-12/+17
| |
| * [intel] Move additional code to be shared from intel_context.h to intel/.Eric Anholt2007-11-164-59/+87
| |
| * [intel] Move intel_tex.h into place, forgotten in the previous commit.Eric Anholt2007-11-161-0/+0
| |
| * [965] Add batchbuffer decode for several more packets.Eric Anholt2007-11-161-3/+127
| |
| * [intel] Fix typos in intel_chipset.h macros.Eric Anholt2007-11-161-6/+6
| |
| * [i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them.Eric Anholt2007-11-163-0/+8
| |
| * [i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.Eric Anholt2007-11-161-4/+4
| |
| * [intel] Add some doxygen notes on what the bufmgr_fake block members mean.Eric Anholt2007-11-161-2/+11
| |
| * [intel] Add a simple relocation cache to the fake buffer manager.Eric Anholt2007-11-161-35/+91
| | | | | | | | | | This is required for 965 performance, as it avoids a lot of repeated data uploads of the state caches due to surface offsets in them.
| * [intel] Assert against 0-sized buffers in dri_bufmgr_fake.c.Eric Anholt2007-11-161-0/+4
| | | | | | | | They shouldn't be created, and this often helps catch stupid issues.
| * [intel] Add support for multiple levels of relocation in bufmgr_fake.Eric Anholt2007-11-162-73/+163
| | | | | | | | | | This is required for 965 support, which has relocations in other places than just the batchbuffer.
| * [i915] Push locking in intelClearWithTris down inside meta_draw_poly.Eric Anholt2007-11-162-85/+72
| | | | | | | | | | | | | | | | | | The lock coverage and checks for cliprects were unneeded since the batchbuffer will have INTEL_BATCH_CLIPRECTS anyway. It appeared to be a leftover from intelClearWithBlit. This makes the locking requirements of i915 meta_draw_quad match i965 meta_draw_quad.
| * fix bogus assumption if ddx has set up surface reg for z bufferRoland Scheidegger2007-11-151-2/+1
| | | | | | | | | | | | | | | | this is wrong since even if ddx has not set up a surface reg to cover the z buffer we should pretend it has on those rv100 chips since they presumably do not do z buffer tiling if not using hyperz, so we can use linear addressing just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug almost certainly broke newer non-tcl chips.
| * i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730Xiang, Haihao2007-11-121-1/+1
| |
| * [i915] Remove old frontbuffer rotation hack.Eric Anholt2007-11-0911-564/+8
| | | | | | | | | | | | This was replaced in previous releases of xserver/dri/libGL by reporting the damage to the frontbuffer so that the server and driver could handle it appropriately.
| * [intel] By default, output batchbuffer decode to stderr like other debug info.Eric Anholt2007-11-091-1/+1
| |