mesa: Changes to 'r300-bufmgr'

Nicolai Hähnle nh at kemper.freedesktop.org
Mon Aug 4 01:15:57 UTC 2008


The branch, r300-bufmgr has been created
        Commits at: http://cgit.freedesktop.org/mesa/mesa/log/?h=r300-bufmgr

        at  b3b221caefbcbb749fea9dc1040e4313fc9ea717 (commit)

- Commits -----------------------------------------------
commit b3b221caefbcbb749fea9dc1040e4313fc9ea717
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Mon Aug 4 01:04:15 2008 +0200

    r300: Texture memory managed by bufmgr
    
    The bufmgr makes use of the texture heap by wrapping the old texmem.c code.
    
    There are currently three copies of each texture image:
    - Mesa's storage
    - bufmgr backing store
    - VRAM (if the texture has recently been used)
    The first one should eventually be eliminated by making changes along the
    lines of the Intel driver.

commit 7eed94472049bba4e41bf7e51c51d0cc418cfc87
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 21:59:52 2008 +0200

    r300: Introduce r300_mipmap_tree

commit 6d8ee45f31c11cae2424e987a0577f9b7e26762d
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 17:23:50 2008 +0200

    r300: Start pushing driTextureObject down

commit f403a51e2aedfb04f845d03c1aa1023c7e518e45
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 15:59:04 2008 +0200

    r300: Remove unused texture object variables

commit 4e432ffb0a403c44898ea608a7a1d7a515b59a73
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 14:28:59 2008 +0200

    r300: Remove bo_use
    
    Validating buffers and marking them as pending is now done automatically
    based on relocations.

commit 604515f17698572be3a2ae61b6843b4acef02f2e
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 14:27:05 2008 +0200

    r300: Remove last traces of r300_dma_region

commit 656a1df66fbf5d2f748babf6be58524ee4b65bcc
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 14:18:42 2008 +0200

    r300: No longer use r300_dma_region for dma.current buffer

commit b1267a2c7b144f7286ae901cea02c4e81cb435ab
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 13:41:12 2008 +0200

    r300: Stop using r300_dma_region for elt_dma

commit 0ff9bcf22b7fc0c8a0fa55ec15c3c3ba176f2afd
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 12:37:51 2008 +0200

    r300: Remove unused variable r300_state.Elts

commit 723af37157ffa8be9be710c8e168386f02035909
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 12:26:28 2008 +0200

    r300: Fix interaction of ClearState emits with swtcl

commit ecedb19db194721c6d2030287e346ca6b3d50168
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 11:18:48 2008 +0200

    r300: Fix Clear state emission

commit e1bdd637c0740c8e3c00874ff3301a361df9c5b3
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 10:41:17 2008 +0200

    r300: Use explicit r300_aos structure instead of overloaded r300_dma_region

commit fa63e5eea06d6ac709465ef2cfef4e1760ce0a62
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Aug 3 00:23:06 2008 +0200

    r300: Remove unused variable

commit 168b082ec48cb6aedb3d7a45538e65fa24d07f1a
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:50:15 2008 +0200

    r300: Use relocations in texture blits

commit 723a451b5ecc2862701f0b1f7c518902c4675fe1
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:29:36 2008 +0200

    r300: Remove old emit helpers

commit 511a071823e58a5861f0afb9af086411fc3aa7eb
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:28:14 2008 +0200

    r300: Convert swtcl to new emit system

commit 4288e01990c66299830088942094772bb938e597
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:27:18 2008 +0200

    r300: Complete copnversion of r300ClearBuffer

commit 3acc8c5ac2c8aed11a4196387db2016a399ef12a
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:15:23 2008 +0200

    r300: Continue convering ClearState to new emit

commit 5e49bf6abf82bee702b51248dea65404267b1856
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:13:58 2008 +0200

    r300: Continue convering ClearState to new emit

commit b94bad12c3bc000e93e139cceaf761e0cb9805f6
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:10:35 2008 +0200

    r300: Convert ClearState to new emit

commit 8937fcc3c100bdd16a26a3a91953e8bfded6a17b
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:07:33 2008 +0200

    r300: Use new style emit in r300ClearBuffer

commit e231031ece3ee08618b781cf4b9c29b60258a8c4
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:05:15 2008 +0200

    r300: Prepare Clear implementation for new style emit

commit ed54357c566d7c7ed84cca33d45388d9986e1a75
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:02:38 2008 +0200

    r300: Rewrite cp_delay and cp_wait using new emit

commit 8ab20decadddac4f16a906a8411d1ff64be2a03f
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 23:01:30 2008 +0200

    r300: Rewrite end_3d using new emit

commit 7316a87cb95375cc79bb957695fc39668c55ca26
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:56:29 2008 +0200

    r300: Use new emit for r300EmitBlit and get rid of redundant r300EmitWait

commit e2e3062864f5fd7332e0ba3356f5047b66608ba6
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:55:15 2008 +0200

    r300: Use new emit in r300EmitCacheFlush

commit 021d49403d259bb43982235f8e47f04f104545cd
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:54:01 2008 +0200

    r300: Prepare texture blitting for new emit style

commit e3640e75a22e1647b8a4237212fd9091516cc0d0
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:48:59 2008 +0200

    r300: Use new emit style for memory fencing

commit 887c24496910df9d4efbb597a4e7abb3ad655f54
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:46:48 2008 +0200

    r300: Use new emit style in r300_render

commit 196a156ed067f00a38ef24cd89084392dbe58e95
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:41:31 2008 +0200

    r300: Add additional helper macros for emit

commit dad24c477db1db583cddfb407937e0f749e3a063
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:39:52 2008 +0200

    r300: Use new emit style for r300EmitAtoms

commit ebb3329c089ad8db18998e85135fb0eabe3f547c
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 22:34:23 2008 +0200

    r300: Start moving cmdbuf towards an emit system that is closer to DRM and DDX

commit 296d81a420e0831b2c795a050442acf7e5eaa4d6
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 20:01:27 2008 +0200

    r300: Move r300EmitWait and r300EmitBlit to r300_emit.c
    
    These functions don't really fit into r300_cmdbuf.c.

commit 3c7b7b60f5736698b0c68d1100baa3feba7dfa14
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 19:15:19 2008 +0200

    r300: Remove unused variable buf0_address

commit 1a25eb30d6f7567946b920fa58d760959db6726d
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 19:12:50 2008 +0200

    r300: Be more conservative about command buffer space allocation
    
    Having the main rendering sequence split up into separate command buffer is
    probably one of the worst offenders for hardware lockups, so this might help.
    It can't hurt in any case.

commit 88d3539f3a6cc6d81ec91b901bbd1b76bf38ba67
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 18:55:19 2008 +0200

    r300: Manage cmdbuf via the r300_mem dri_bufmgr
    
    Relocation code isn't actually used yet.

commit bab989ab8aba252b6a8a041a517308aeb22ed897
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 15:43:07 2008 +0200

    r300: Remove more GART-related legacy code

commit ccd0bf4dbabeb57fc6a496a76aa7258d4451b190
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 15:31:46 2008 +0200

    r300: Eliminate Gart- and ClientStorage-related functions
    
    These functions will be incorrect with a new memory manager. Furthermore,
    they seem to be no-ops right now, judging from the comments and a cursory
    inspection.
    
    Actually, it's possible that applications out there have been using the
    client_storage extension successfully, who knows - but they should continue
    to work, just with client_storage turned into a no-op.

commit 9fb9931fa7e4fe0d82d73b00f6347ea07f9afa32
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 15:17:44 2008 +0200

    r300: Start turning r300_mem into a dri_bufmgr-style manager
    
    This is only for DMA memory right now, textures do not go through this
    manager yet.

commit 990a685e1191b875ec7c7d2d481def37554877db
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 12:15:22 2008 +0200

    r300: Remove unused variable r300_state.swtcl_dma

commit 50ad5c9a8f1da5fdf51b1ca17259369f0a7dbab6
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 11:30:42 2008 +0200

    r300: Remove unused or ineffective and untested variables

commit 8f71ab684448f5caa0c649e52bb6ea1d0bb86077
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sat Aug 2 11:09:36 2008 +0200

    r300: Get rid of USER_BUFFERS define

---------------------------------



More information about the mesa-commit mailing list