Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [965] Hook up DEBUG_BUFMGR output for bufmgr_fake. | Eric Anholt | 2007-12-10 | 1 | -0/+2 |
| | |||||
* | [965] Convert the driver to dri_bufmgr interface and enable TTM. | Eric Anholt | 2007-12-07 | 40 | -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 Anholt | 2007-12-07 | 1 | -3/+0 |
| | |||||
* | [965] Move brw_surface_state stack allocation into the function using it. | Eric Anholt | 2007-12-07 | 1 | -30/+28 |
| | |||||
* | i915: fix the error in the previos commit. | Xiang, Haihao | 2007-12-07 | 1 | -1/+1 |
| | |||||
* | i915: Check the program size when uploading a program. fix bug 13494 | Xiang, Haihao | 2007-12-07 | 1 | -6/+8 |
| | |||||
* | Revert "[965] Add missing flagging of new stage programs for updating stage ↵ | Eric Anholt | 2007-12-05 | 5 | -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 Anholt | 2007-12-05 | 5 | -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 obscured | Xiang, Haihao | 2007-12-05 | 1 | -0/+3 |
| | | | | by another window. | ||||
* | [965] Change constant buffer from state structs to plain batch emission. | Eric Anholt | 2007-12-03 | 1 | -40/+22 |
| | | | | Reduces diff to branch which has a relocation in this state emit. | ||||
* | i915: Fix up state changes for i8xx. | Michel Dänzer | 2007-12-03 | 1 | -6/+56 |
| | |||||
* | [intel] Move batch bo_unmap from TTM code to shared, and add more asserts. | Eric Anholt | 2007-11-30 | 3 | -2/+8 |
| | |||||
* | [intel] Add failure path printfs to relocation code and some comments. | Eric Anholt | 2007-11-30 | 1 | -3/+32 |
| | |||||
* | [intel] Simplify TTM relocation code by passing around bufmgr struct. | Eric Anholt | 2007-11-30 | 1 | -24/+26 |
| | |||||
* | [intel] Fix the type and naming of the flags/mask args to TTM functions. | Eric Anholt | 2007-11-30 | 4 | -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 sanity | Eric Anholt | 2007-11-30 | 1 | -308/+343 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | joukj | 2007-11-30 | 107 | -9411/+8748 |
|\ | |||||
| * | i965: if source depth to render target is set, | Xiang, Haihao | 2007-11-30 | 1 | -0/+14 |
| | | | | | | | | it should be handled in fb_write. | ||||
| * | i965: use uncompressed instruction to ensure only | Xiang, Haihao | 2007-11-30 | 1 | -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 Anholt | 2007-11-29 | 3 | -6/+17 |
| | | |||||
| * | New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵ | Brian | 2007-11-29 | 1 | -0/+2 |
| | | | | | | | | t_vb_program.c | ||||
| * | r200: Fix texture format regression on big endian systems. | Michel Dänzer | 2007-11-28 | 1 | -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, Haihao | 2007-11-28 | 1 | -0/+2 |
| | | | | | | | | It makes quake4-demo works well on 965. | ||||
| * | use DEFAULT_SOFTWARE_DEPTH_BITS | Delle | 2007-11-27 | 1 | -9/+11 |
| | | |||||
| * | i965: The jump instruction count is added | Xiang, Haihao | 2007-11-27 | 1 | -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 Whitwell | 2007-11-26 | 6 | -1/+56 |
| | | | | | | | | This could lead to incorrect rendering or even lockups. | ||||
| * | i915: Some additional blit fixes and assertions. | Michel Dänzer | 2007-11-26 | 1 | -8/+24 |
| | | |||||
| * | intel: Fix relative symlinks. | Michel Dänzer | 2007-11-25 | 2 | -2/+2 |
| | | |||||
| * | fix z buffer read/write issue with rv100-like chips and old ddx | Roland Scheidegger | 2007-11-22 | 1 | -1/+5 |
| | | |||||
| * | [965] Replace 965 texture format code with common code. | Eric Anholt | 2007-11-20 | 8 | -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 Anholt | 2007-11-20 | 1 | -530/+0 |
| | | |||||
| * | [965] Add INTEL_DEBUG=fall debugging output. | Eric Anholt | 2007-11-19 | 1 | -5/+17 |
| | | |||||
| * | [965] Convert DBG macro to use FILE_DEBUG_FLAG like i915. | Eric Anholt | 2007-11-19 | 12 | -16/+31 |
| | | |||||
| * | [intel] Add 965 support to shared intel_blit.c | Eric Anholt | 2007-11-16 | 12 | -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 Anholt | 2007-11-16 | 3 | -12/+17 |
| | | |||||
| * | [intel] Move additional code to be shared from intel_context.h to intel/. | Eric Anholt | 2007-11-16 | 4 | -59/+87 |
| | | |||||
| * | [intel] Move intel_tex.h into place, forgotten in the previous commit. | Eric Anholt | 2007-11-16 | 1 | -0/+0 |
| | | |||||
| * | [965] Add batchbuffer decode for several more packets. | Eric Anholt | 2007-11-16 | 1 | -3/+127 |
| | | |||||
| * | [intel] Fix typos in intel_chipset.h macros. | Eric Anholt | 2007-11-16 | 1 | -6/+6 |
| | | |||||
| * | [i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them. | Eric Anholt | 2007-11-16 | 3 | -0/+8 |
| | | |||||
| * | [i915] Reenable batchbuffer debug under INTEL_DEBUG=bat. | Eric Anholt | 2007-11-16 | 1 | -4/+4 |
| | | |||||
| * | [intel] Add some doxygen notes on what the bufmgr_fake block members mean. | Eric Anholt | 2007-11-16 | 1 | -2/+11 |
| | | |||||
| * | [intel] Add a simple relocation cache to the fake buffer manager. | Eric Anholt | 2007-11-16 | 1 | -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 Anholt | 2007-11-16 | 1 | -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 Anholt | 2007-11-16 | 2 | -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 Anholt | 2007-11-16 | 2 | -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 buffer | Roland Scheidegger | 2007-11-15 | 1 | -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 #12730 | Xiang, Haihao | 2007-11-12 | 1 | -1/+1 |
| | | |||||
| * | [i915] Remove old frontbuffer rotation hack. | Eric Anholt | 2007-11-09 | 11 | -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 Anholt | 2007-11-09 | 1 | -1/+1 |
| | |