Mesa (10.3): 100 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Wed Oct 29 18:55:26 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36b7043611952fc116940e903e5412e9ed8d61ee
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Thu Oct 23 17:17:07 2014 -0400

    configure: include llvm systemlibs when using static llvm
    
    v2: drop -WL,--exclude-libs, it's not necessary
        fix tabs/spaces
    
    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70410
    Tested-by: Kai Wasserbäch <kai at dev.carbon-project.org>
    Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
    (cherry picked from commit af9551e68c8c964a3a80d74b6ed543b800318b33)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=894ac63c34413d1ee0c7269c58a9d10451a28646
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Tue Oct 28 11:28:29 2014 +0900

    radeon/llvm: Dynamically allocate branch/loop stack arrays
    
    This prevents us from silently overflowing the stack arrays, and allows
    arbitrary stack depths.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85454
    
    Cc: mesa-stable at lists.freedesktop.org
    Reported-and-Tested-by: Nick Sarnie <commendsarnex at gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 402ab50bedf9fba7654e63a6f2e808714714284d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d26258166ca056da62536bebdf107e21d9ce92fb
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Oct 28 19:49:44 2014 +0100

    Revert "st/mesa: set MaxUnrollIterations = 255"
    
    This reverts commit 20836c81851e0df29a8ee9c86e5e5388738c840b.
    
    255 is a huge number. If you have a loop with 255 iterations, unrolling it
    will exceed the SM3 instruction limit. Let's use the default again.
    
    The comment about a SM3 limit doesn't make sense. For SM3, we generally
    want 32 (default) or a lower number due to the SM3 instruction limit, which
    is 512 instructions. For SM4, we can try higher numbers if needed, but
    some shaders can end up being pretty huge and shader compilation can take
    more time.
    
    This fixes a shader compile failure on R500/SM3. Reported on IRC.
    
    Cc: 10.2 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 6fcb5520b78cdf1e5013c125501932315a069955)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8c7affa66407932519fc6d82a449b453343d9fc
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Oct 22 23:22:16 2014 +0200

    radeonsi: fix incorrect index buffer max size for lowered 8-bit indices
    
    Cc: 10.2 10.3 mesa-stable at lists.freedesktop.org
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit e05259b63745533231d7094967e7e1066a0e0851)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62b2c8aca0a19c77ce6ac58c4721e37d37cb8c40
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Oct 23 13:44:14 2014 +0200

    radeonsi: fix polygon mode for points and lines and point/line fill modes
    
    Fixes piglit/polygon-mode-offset.
    
    Cc: 10.2 10.3 mesa-stable at lists.freedesktop.org
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit 72424061e0722a1444b62af4cdbf03aaaf7e5ee0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e71a41852be4be2a1b5efcf49b2e7a019da53932
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Oct 23 13:44:14 2014 +0200

    r600g: fix polygon mode for points and lines and point/line fill modes
    
    Fixes piglit/polygon-mode-offset.
    
    Cc: 10.2 10.3 mesa-stable at lists.freedesktop.org
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit dab177ea997b42ab93c9fe51bc16507bbbc27e34)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=136ab97b46f9236c4b69d8acbefd19585bc968fd
Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Oct 19 16:16:49 2014 +0100

    gallium/nouveau: fully build the driver under android
    
    Fix the trivial typo in the variable name.
    
    Cc: "10.2 10.3" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 417b17378ae9a8c590b01f3432fa1542a0f042d7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4956788a5f40fff2ea72d0f5bd6fcdb116492896
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Sep 22 15:10:28 2014 -0700

    glsl: Use signed array index in update_max_array_access()
    
    Avoids a crash in case of negative array index is used in a
    shader program.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    (cherry picked from commit 7a652c41b4de4bdbb954a4ebf6cdb605d197e999)
    
    Conflicts:
    	src/glsl/ast_array_index.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcf414c1a81de8c951a26e62cecfabb0d6658a55
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Thu Sep 18 16:30:31 2014 -0700

    glsl: Fix crash due to negative array index
    
    Currently Mesa crashes with a shader like this:
    
    [fragmnet shader]
    float[5] array;
    int idx = -2;
    void main()
    {
       gl_FragColor = vec4(0.0, 1.0, 0.0, array[idx]);
    }
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
    (cherry picked from commit 6f0089e92e9a3b096b978bb09a87db6a38acb7b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d45d00cf38139ee172c9911b6fa3f501948ba54a
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Fri Sep 12 10:36:08 2014 +0300

    mesa: check that uniform exists in glUniform* functions
    
    Remap table for uniforms may contain empty entries when using explicit
    uniform locations. If no active/inactive variable exists with given
    location, remap table contains NULL.
    
    v2: move remap table bounds check before existence check (Ian Romanick)
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Tested-by: Erik Faye-Lund <kusmabite at gmail.com> (v1)
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83574
    (cherry picked from commit 9bd139e4515172d98e91d6ed7364ec3ea5cf623d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ed4dec642bd192f0f1f8fd5bfe7b327c7f8f20b
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Wed Aug 27 14:12:27 2014 +0300

    glsl: fix uniform location count used for glsl types
    
    Patch fixes the slot count used by vector types and adds 1 slot
    to be used by image and sampler types.
    
    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82921
    (cherry picked from commit 1cb81d3a9b65781802f641fb3e4435edfed7f14a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3d5e59563a9085d68cb192e4ab9f691b3beb5ec
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 21 17:08:10 2014 -0400

    freedreno/a3xx: fix depth/stencil restore format
    
    Also fix z16 restore format which was completely wrong.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 36310d9d56510ef50318bbb370f6c3d27ba09ebd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69ac2043cf4de3b71a9ecd12ca767449e53ff3fe
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 21 12:25:28 2014 -0400

    freedreno/a3xx: fix viewport state during clear
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 2bc2ab66d9c06477cdec6799c24733fbd2d4db3f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaff221c9cea778689166c8645b947a764c0268b
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 21 11:28:53 2014 -0400

    freedreno: mark scissor state dirty when enable bit changes
    
    We don't have a scissor enable bit in hw, so when a raster state change
    results in scissor enable bit changing, we need to also mark scissor
    state as dirty.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 3eb8289aa4cb599e9297ee1a1b5cfbae35ee562a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a95a93b557b9646840864e39b01e2f0598470cb5
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 21 10:30:49 2014 -0400

    freedreno: clear vs scissor
    
    The optimization of avoiding restore (mem2gmem) if there was a clear
    falls down a bit if you don't have a fullscreen scissor.  We need to
    make the decision logic a bit more clever to keep track of *what* was
    cleared, so that we can (a) completely skip mem2gmem if entire buffer
    was cleared, or (b) skip mem2gmem on a per-tile basis for tiles that
    were completely cleared.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 01b757e2b0fb97a146b0ef278b449cecab0d15e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0d6ba5970480631b3d4d2da483a7356c0824f17
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sun Oct 19 14:55:32 2014 -0400

    freedreno/ir3: add debug flag to disable cp
    
    FD_MESA_DEBUG=nocp will disable copy propagation pass.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 4f17e026bb99c173444ff5ca7d0b782ed89ee604)
    
    Conflicts:
    	src/gallium/drivers/freedreno/ir3/ir3_cmdline.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b379e36e648372efe12d867340f4ddf469e38f31
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Oct 3 16:23:19 2014 -0400

    freedreno: positions come out as integers, not half-integers
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit f0ca26725e48e6d85a9e2749caaf122e7bb8d6e6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6aab6b0c904313dbf7dd58fe5cb671faa499168
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Oct 18 16:52:44 2014 -0400

    freedreno/a3xx: disable early-z when we have kill's
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 3fcb0212018e52c374f937e806abeca07e938d28)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b76a321320eeb6bdd543a4a10a720f9cc6f4dbf
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Oct 18 15:28:16 2014 -0400

    freedreno/ir3: fix potential gpu lockup with kill
    
    It seems like the hardware is unhappy if we execute a kill instruction
    prior to last input (ei).  Probably the shader thread stops executing
    and the end-input flag is never set.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 8a0ffedd8de51eaf980855283c4525dba6dc5847)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=708ee6f188c1e08e4f90012d8c781e8566849dd1
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Oct 18 14:46:35 2014 -0400

    freedreno/ir3: comment + better fxn name
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit ab33a240890a7ef147d4b8cf35c27ae1932a1dbe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=971ae04fe68b23c73e8c699e18be28544c5410da
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 15 17:15:06 2014 -0400

    freedreno/a3xx: more layer/level fixes
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 74069e324e559a9361ebe631d1b819ff6e675c8f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64373f072ca40bfa2e5ddd2461b9223c18bf49fd
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 15 13:08:00 2014 -0400

    freedreno/ir3: large const support
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 652b8fbbbb0132c634c90e4d1fdbca9497b7cd94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ea0efd1e2b9945cfb9b4e8076a3c39d18d7aa68
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 15 14:38:07 2014 -0400

    freedreno: update generated headers
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit e71a3f80fb5962651e8c3ece37ea2a61ef24f5f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc96be56625936232311ac7d50569464c50114bb
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 15 10:29:17 2014 -0400

    freedreno: fix layer_stride
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit dd332fe6414366b22a9d9ffce0fded51bc5b71a4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=323380b7edb71364b43590770aad0c2cb4645694
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 15 08:12:24 2014 -0400

    freedreno: inline fd_draw_emit()
    
    Manual LTO
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 8233b36a172820edf18ea4612f1979dc6089a1d7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=832cb958ffe245d484bef960c06ffc9f2bfe7650
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 14 16:23:18 2014 -0400

    freedreno/ir3: optimize shader key comparision
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 368466b7b72aed74b917aeb3225d7a0a7101678c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a61e395316b35f817e9a12554ce57e6efbfa790
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 14 14:27:47 2014 -0400

    freedreno/a3xx: refactor/optimize emit
    
    Because we reuse various bits of emit code (for state/vertex/prog/etc)
    for both regular draws and internal draws (gmem<->mem, clear, etc), the
    number of parameters getting passed around has been growing.  Refactor
    to group these into fd3_emit.  This simplifies fxn signatures, avoids
    passing around shader key on the stack, etc.  It also gives us a nice
    place to cache shader-variant lookup to avoid looking up shader variants
    multiple times per draw (without having to *also* pass them around as
    fxn args everywhere).
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit d595987ea3d1706fecb9f6416031ec8b27c95a9e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b30efcf99aa08c6ede8d949f7ab00e1be98be0a
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Oct 14 12:20:54 2014 -0400

    freedreno/a3xx: refactor vertex state emit
    
    Get rid of fd3_vertex_buf and use fd_vertex_state directly for all
    draws.  Removes a tiny bit of CPU overhead for munging around the vertex
    state every time it is emitted, but more importantly it cleans things up
    for later optimizations, so the emit paths don't have to special case
    internal draws (gmem<->mem, clears, etc) with regular draws.
    
    Instead of constructing fd3_vertex_buf array each time for internal
    draws, and context init time pre-create solid_vbuf_state and
    blit_vbuf_state.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit d5d80b37392c7f15c4fb39b6b1826230239930fd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bce1e7e1c9609a1272fe137137e35d2fff0906ae
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Oct 3 12:48:31 2014 -0400

    freedreno: query fixes
    
    Fixes a few issues, including a potential empty-IB (which triggers gpu
    hangs in piglit occlusion_query_meta_no_fragments)
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 7297bdbd50eb039878fe9e472dc736e1259710fb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bce2d42ddb65ccb41a50c83e86f14df899e56a4c
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Oct 3 10:08:59 2014 -0400

    freedreno/a3xx: handle VS only outputting BCOLOR
    
    Possibly we should map the front color to black (zeroes).  But not sure
    there is a way to do that without generating a shader variant.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit a262c601d363aea2e6680df527e207cc9d5e235f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e81f4a7e7b7d6c5d2f6f8fdd2c4735a1622c80e
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Oct 3 10:02:31 2014 -0400

    freedreno/ir3: fix lockups with lame FRAG shaders
    
    Shaders like:
    
      FRAG
      PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
      DCL IN[0], GENERIC[0], PERSPECTIVE
      DCL OUT[0], COLOR
      DCL SAMP[0]
      DCL TEMP[0], LOCAL
      IMM[0] FLT32 {    0.0000,     1.0000,     0.0000,     0.0000}
        0: TEX TEMP[0], IN[0].xyyy, SAMP[0], 2D
        1: MOV OUT[0], IMM[0].xyxx
        2: END
    
    cause unhappyness.  They have an IN[], but once this is compiled the
    useless TEX instruction goes away.  Leaving a varying that is never
    fetched, which makes the hw unhappy.
    
    In the process fix a signed vs unsigned compare.  If the vertex shader
    has max_reg=-1, MAX2() vs an unsigned would not give the desired result.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit af4d08839581c2372f17f75f1ad0fd1284ea7d8b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63b8a08c453be6c36be2a018304616a059443ea1
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Sep 24 17:42:03 2014 -0400

    freedreno/ir3: add TXF support
    
    Still failing a bunch of the fairly picky texelFetch tests, but the
    1D(Array) ones are full passes.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 33c9ad97bf25271fcb034bc6054b74fff8a552fb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a97401abf8eb7039bd821c4123597aeea9cc5e8
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Sep 27 10:50:40 2014 -0400

    freedreno/ir3: add TXD support and expose ARB_shader_texture_lod
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit e6acf3ac2445bbc15ab33001077343ac8b486b5b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd79de214d84a850960c2cfaa734610fbd6c324c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Sep 27 02:52:42 2014 -0400

    freedreno/ir3: add texture offset support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit c49107c889ca3c8c543e847a42bb174a6c3f4c6d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1acdeab8a43b669b927262070b533250c9e1aeaf
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 30 20:02:37 2014 -0400

    freedreno/ir3: shadow comes before array
    
    Experimentally, this makes *ArrayShadow tex-miplevel-selection tests
    pass.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 5bba74c64b30390114c105d58792301a222b0cdc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64e4ac780e9f3c64bb6c87ff4eeace04b7918e72
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Sep 28 19:37:27 2014 -0400

    freedreno/ir3: make TXQ return integers, not floats
    
    We're still doing something wrong for array textures.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 81b34e446103b3fcc59a4ce12643529aeb23be1c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bc1397bdaf29670a2924b4523cbf418786c2197
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Oct 1 01:13:38 2014 -0400

    freedreno/ir3: add UMAD support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit c4e2a196c3e699023e2d371d1c698daaa19a6e77)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b1a59259ba470bf78abfddd681269c0c552e646
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Sep 28 22:00:34 2014 -0400

    freedreno/ir3: add ISSG support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 347bc197a6f245c1ac3954acfefd15995f34d0f5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74a92b1f34c9b6b368b25016c08fa23b59cd9ea0
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Oct 1 01:03:31 2014 -0400

    freedreno/ir3: add MOD support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit ad5db64e7edf4bf1323168b4f3059df7eedfac1f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af52b00b19214282c981b68c40a8aaa741ca076d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Sep 28 21:05:05 2014 -0400

    freedreno/ir3: add UMOD support, based on UDIV
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit cab3cb1d716e4a039011c98f5820de4b6cb72834)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=556d74b8107acaa7244b03590c9424f8a97ddcc7
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Sep 11 23:15:11 2014 -0400

    freedreno/ir3: add IDIV/UDIV support
    
    Logic shamelessly copied from nv50 lowering pass.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 8f7d01c2cb75fc6d093f18237103b8f992ae2528)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=502c2950259ae26b95725eeb0e7520b3ff78db70
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 30 23:27:25 2014 -0400

    freedreno/ir3: avoid fan-in sources referring to same instruction
    
    Since the RA has to be done s.t. each one gets its own (adjacent)
    register, it would complicate matters if instructions were allowed to be
    repeated. This enables copy-propagation use in situations where
    previously that might have happened.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 3dd9a0d6fdea1ff5b1fe903fce206bf1d1515400)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4f58245d0add5c1633cd8bbf038bbe1fd86cf78
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 1 11:28:17 2014 -0400

    freedreno/a3xx: emit all immediates in one shot
    
    Makes the command stream a bit tighter when there are lots of
    immediates.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit f5eeb8a6dc4d1a1a4b88843e1c8d6d3a9c50512a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb496ff68db8f2ffa51d1c72c57491e2c49fa053
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Oct 2 03:39:05 2014 -0400

    freedreno: instanced drawing/compute not yet supported
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit be00852bae11684ddb0a194bbfb8926495a9ec05)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8820c85b4bed1f8168e1b360816f84fcb395a7c
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 1 15:26:26 2014 -0400

    freedreno/a3xx: handle large shader program sizes
    
    Above a certain limit use CACHE mode instead of BUFFER mode.  This
    should solve gpu hangs with large shader programs.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 7309c6126f2987d703b2f30b3cb56edf97d437d3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da71ef1893cc773bfb580000e0c0bd21d4233139
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 1 14:57:34 2014 -0400

    freedreno: update generated headers
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit d01ee5923df53b170e6ece7856d59fe15efec8b1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a003d1dbc4230c594f9c726158b0848ea8e54bb
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Oct 1 00:26:03 2014 -0400

    freedreno: dual-source render targets are not supported
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 3dc47c59605282c7bad34fb336c39fe4ad9a0bf8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b755280af5b2bdb10b387e74f601e4ec56c258a
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Oct 1 07:26:39 2014 -0400

    freedreno: max-texture-lod-bias should be 15.0f
    
    Fixes piglit lodbias test.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 204dd73c99ffefc8ed854e032dcf7bf10b91e409)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=476c8c5028bf99904356c5b827e79f187e69d962
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Sep 30 13:47:58 2014 -0400

    freedreno: destroy transfer pool after blitter
    
    Blitter can still have transfers hanging around which it frees in
    util_blitter_destroy().  So let it clean up before we yank the
    transfer_pool from under it.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit cc355f1c06063b6d3c0ba5377aee605c9c393488)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d5a3daca9ac19a88d30a64a7ad8957239c65ba5
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Sep 30 16:53:24 2014 -0400

    freedreno/lowering: fix token calculation for lowering
    
    Indirect registers consume an additional token.  Try to clean up the
    token calculation math a bit, and fix it at the same time.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 01ff0b28b3d56d1703e37f6f186b7fce77955103)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d20bc6e8d7745ccdd3233d26d4c1699d1d1ea9b
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 29 14:29:04 2014 -0400

    freedreno/a3xx: re-emit shaders on variant change
    
    We need to keep track if a state change other than frag/vert shader
    state will trigger us to need a different shader variant, and if
    necessary mark the appropriate shader state as dirty.  Otherwise we will
    forget to re-emit the shader state.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit dce96f6da2d8ec4c17403db57326731dcf9d6051)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1fd768b988f8b0c74661c51a47f86c78e3e1185
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 29 10:44:46 2014 -0400

    freedreno/a3xx: add support to emulate GL_CLAMP
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 7cdd4679943a72b97aad1c584da4bcb0e1f003f2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d37c083778697cc12528c824798d8ea6b2175e09
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 29 09:59:27 2014 -0400

    freedreno: add texcoord clamp support to lowering
    
    This is for hw that needs to emulate some texture wrap modes (like
    CLAMP) with some help from the shader.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 3541705816f18bce0f9f6794e9b1c409a81ed98e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b46151f2cae44b5127c4ca7a6182deb47911809a
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 29 14:55:38 2014 -0400

    freedreno: move bind_sampler_states to per-generation
    
    Keep the existing function as a common helper.  But this lets us move an
    a2xx specific hack out of common code.  And the PIPE_TEX_WRAP_CLAMP
    emulation will require an a3xx specific hack.  So rather than piling on
    hacks, split this out.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit a6746d11247cdd6f795c7e857019c3a4bd71e26a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=419acd3068b1e3c16a914ccf9271aed4723bb80d
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Sep 27 18:19:54 2014 -0400

    freedreno/a3xx: fix border color order
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 7e20c09d4ac22012a9d2697fb83e6815edb5a64d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64ce1bf8f6b75b52264f2318200412e64feb667b
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 26 10:33:35 2014 -0400

    freedreno/a3xx: add 32bit integer vtx formats
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit c61133046ec079ead9a4f05a5eb06b0bbe10e838)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e67e5c658220cce1ad09cc30c8357b0fae2be56a
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 26 10:33:11 2014 -0400

    freedreno/a3xx: add flat interpolation mode
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit ed48f91275f52f26b513fc2970233063bfa023af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d654082d143e904ebfdd72556063a5471cfacb3e
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Sep 27 11:45:26 2014 -0400

    freedreno/a3xx: add LOD_BIAS
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit df2f0c6d5595280150281409b4a9aadb9311bfdc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a7fb8f04ad63fab2235d57c3b0811b9a8161148
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 26 17:56:08 2014 -0400

    freedreno: turn missing caps into compile warnings
    
    Get rid of the 'default' case (as suggestied by imirkin) so compiler
    warns us about missing caps.  Also add some caps that were missing until
    now.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit f7259949da0afb085629095524b304c9371863cb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb10a43b845e58dc25f693be79cd6f31ceb48c84
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 26 15:40:35 2014 -0400

    freedreno: we have more than 0 viewports!
    
    4155d1c7 'st/mesa: drop dependence on API profile in st_init_extensions'
    broke freedreno because somehow 'PIPE_CAP_MAX_VIEWPORTS' fell through
    the cracks.  Resulting that we reported zero viewports.  So the state
    tracker never bothered to give us any valid viewport!
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 546d6c8dc9f9a5555404917a31d68e72c6c3d82a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1c2a8f2cb76262c31452f387bb326ab30d88b33
Author: Rob Clark <robclark at freedesktop.org>
Date:   Thu Sep 25 17:14:05 2014 -0400

    freedreno: update generated headers
    
    Among other things, fixes a bug for fixed point registers/bitfields.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 24cd746e4b8d97bfa113dad4988bb1b179ee943d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b339336b50f9479192b57fe131f5ad758cac202
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 26 10:35:52 2014 -0400

    freedreno: don't advertise mirror-clamp support
    
    At least on a3xx, we cannot do it without some emulation in shader.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 5c72672cdcaadb2c35531a10e6fa739f0282fb13)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00c3ef169f12c9f7d4484b055f3d9f752bdf8590
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 26 10:35:33 2014 -0400

    freedreno: fix compiler warning
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit e4c678c164fe2530121f9ba5514e1271dd07ac8d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f61b2185dbfed0f2fee6b7fb33d9c87bb7187566
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Sep 23 17:24:27 2014 -0400

    freedreno/a3xx: initial texture border-color
    
    Still some open questions.. and at any rate, no additional piglit passes
    due to various wrap modes that we need to emulate in at least some
    cases :-(
    
    But it does fix some mystery page-faults.. So add some comments in the
    code where there are things that we need to emulate or do more r/e, and
    push as-is.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit a87e44da3a801028783979cfd3548d0ebc9fdd88)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=637ddce9cc007b43e3181671ac90a4244a2d8f41
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 16 19:56:31 2014 -0400

    freedreno/ir3: add TXB2 support
    
    Handles texture(samplerCubeShadow, bias), part of GLES3 and GL3
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit f6ff4cd517e2d983bfc1336683477286528fe271)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=737c900506a6624e73c3bc5af370880c6dece245
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 16 02:09:50 2014 -0400

    freedreno/ir3: add TXQ support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 9b7961f9a30ba6ea6a8ce9f86880947399b37c5f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=336b75faca1f2bdf0d88d50cca178d7bb13d185c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 16 02:09:49 2014 -0400

    freedreno/ir3: fix TXB/TXL to actually pull the bias/lod argument
    
    Previously we would get a potentially computed post-swizzle coord based
    on the texture target info, which would not include the bias/lod in the
    last argument.
    
    The second argument does not have to be adjacent, so adjusting the order
    array did not make sense.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 9a3dcf21d7ba116d670aad428ccce415eebdf645)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f6c0f4de48622c713e146f830ead3efa71b5991
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 16 02:09:48 2014 -0400

    freedreno/ir3: make texture instruction construction more dynamic
    
    This will make life a lot easier as we add support for additional
    instructions.
    
    v2: shadow reference value is always .z or .w
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 53678f5e6b4964136c04694aea771b1d433c8fab)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a755fcc3a07e1eb7af64364685a48076781b5e3
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Sep 13 16:14:17 2014 -0400

    freedreno/a3xx: more texture array fixes
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 49b8fb937f76d49fb5d2ed0d2c99e947a389d686)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a90f0fb8504fa09e91737a4d0afddba06764665
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Sep 16 19:10:23 2014 -0400

    freedreno: add DRM_CONF_SHARE_FD
    
    And config query and DRM_CONF_SHARE_FD to both mega-driver and
    traditional build configs, so that EGL_EXT_image_dma_buf_import
    works.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 18291ee17a36ea700108b85d679444efa262a312)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a64feedb8affcb83d1c149cd90f0804a3cd33cd
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon Sep 15 21:42:00 2014 -0400

    freedreno: add default .dir-locals.el for emacs settings
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    (cherry picked from commit 5b1d316c514d75c346ce18dacb05a7c3ef2e41b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=544a3686263cfe1cc15b5488a0cd068b84f579a3
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Sep 13 08:25:51 2014 -0400

    freedreno/a3xx: 3d/array textures
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit ca29c4c3b0e779909467c0739fc176c64a829142)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e10a243abfe27667ce9e73388ce457314d1a6edc
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 12 22:20:07 2014 -0400

    freedreno: update generated headers
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit eea1cdf687d7089b2dc24e1dd7da59b3acf3dd3b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3f6e58d6dbc1e14eccdc5c3b769dacaac8b2212
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 12 16:52:38 2014 -0400

    freedreno: "fix" problems with excessive flushes
    
    4f338c9b introduced logic to trigger a flush rather than overflowing
    cmdstream buffer.  But the threshold was too low, triggering flushes
    where they were not needed.  This caused problems with games like
    xonotic.
    
    Part of the problem is that we need to mark all state dirty between
    cmdstream submit ioctls, because we cannot rely on state being
    preserved across ioctls.  But even with that, there are still some
    problems that are still being debugged.  For now:
    
    1) correctly mark all state dirty
    2) introduce FD_MESA_DEBUG flush flag to force rendering to be flushed
    between each draw, to trigger problems (so that I can debug)
    3) use a more reasonable threshold so for normal usecases we don't
    trigger the problems
    
    This at least corrects the regression, but there is still more debugging
    to do.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 9b6281a7da02759b0e7570d611e27fe541ffebd6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14f6eb92f8d7b6a059577cc40c929f41efb9d53d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Sep 11 13:14:14 2014 -0400

    freedreno/ir3: implement UMUL correctly
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit d7ec3db3499b11bf6f213ad6b0c050b65be3ad30)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3ee102f8ec3c1b2e2b4cb3c486d03ab5d0ebe23
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Sep 11 10:32:55 2014 -0400

    freedreno/ir3: fix UCMP handling
    
    UCMP does not require a compare, only a select.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 436dd1e2f8d0a6f1e80872f484b883e4ce4383c9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c160747d031348e7d2dd93446d91c3b619ebc4f
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Sep 10 00:59:30 2014 -0400

    freedreno/ir3: add TXL support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 9f5bd154d75fdb4b0029875ebb3a8267d27a290a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c912acad17cd17fe53c195863a9e8dcfe31401dc
Author: Rob Clark <robclark at freedesktop.org>
Date:   Thu Sep 11 11:42:00 2014 -0400

    freedreno/ir3: add missing put_dst
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 459f8f3d668f2b8b9af0747949c02cae32b5b9db)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81bd498908eee8889b5a82ede64db7bcbc667758
Author: Rob Clark <robclark at freedesktop.org>
Date:   Thu Sep 11 11:41:12 2014 -0400

    freedreno/ir3: catch incorrect usage of tmp-dst
    
    Each get_dst() should have a matching put_dst().  Add a bit of checking
    to catch mistakes.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 59ff81663affa173ad80bb314eff8e9ec0ff1f4d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6244af13436d7fee490a235d27dd08f4c403c617
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 9 22:52:56 2014 -0400

    freedreno/ir3: use unsigned comparison for UIF
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit db1a94b1cc91179de2a02f24b002b300e06c78b2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5af13017513a8c858635322d7f80c39738e7a310
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 9 22:52:55 2014 -0400

    freedreno/ir3: negate result of USLT/etc
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 11d72553c5aaf5e7d3b2ab7d73f5cb8610aeb685)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f545b96e5a542a0d92e1c0ac95881b6b4e6cacf
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 9 22:52:54 2014 -0400

    freedreno/ir3: add UARL support
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 8edf83b37738393bede502aae937a868ed98fefd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69c1aa728d59b9a10632f3f7704bb1c1c2ff8952
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 9 22:52:53 2014 -0400

    freedreno/ir3: INEG operates on src0, not src1
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 10273f84c22a5baaa5d23ea4d408bc50ef2e3b6e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d1bc7f7c2d37c4522ee6a8021a1437d1c23c054
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Sep 9 22:52:52 2014 -0400

    freedreno/ir3: fix FSLT/etc handling to return 0/-1 instead of 0/1.0
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 572ffca050ff646bd9cdd031a44ec97966741745)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34b62bd12e905e50f69fd672f8f42dbc2ca9faae
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 12 09:01:25 2014 -0400

    freedreno/a3xx: alpha render-target shenanigans
    
    We need the .w component to end up in .x, since the hw appears to fetch
    gl_FragColor starting with the .x coordinate regardless of MRT format.
    As long as we are doing this, we might as well throw out the remaining
    unneeded components.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 80058c0f08ea94d3de96909027a792e397fa9262)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=695a4b2b4e787a0184bca907e4782001d5ca73d9
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Sep 12 08:42:03 2014 -0400

    util/u_format: add _is_alpha()
    
    Because of render-to-alpha (000x) shenanigans, freedreno needs to do
    some special handling when rendering to alpha-only formats.  And I
    noticed that while we had _is_luminance(), _is_intensity(), etc, an
    _is_alpha() helper was missing.  So fix that.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 3e0a82b52ebbf306adb0dd0f0990f7a8e8b271c5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e9bb8efe4f872a231523cd6d5c704b36269e169
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Sep 10 18:51:35 2014 -0400

    freedreno/a3xx: format fixes
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 480fe244dd41a034111963440a9f51999cfc9035)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a36639b06b19058f8cb171932b157406ebefea6
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Sep 10 18:50:50 2014 -0400

    freedreno: update generated headers
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 1fba4905690b9798c4d1e45e9679ea2f3c43ecf8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06d5717692ea407c9cdbc612529a5ab950529227
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Sep 10 13:44:14 2014 -0400

    freedreno/a3xx: handle rendering to layer != 0
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 2ed7640eeccfbfdff0862fd92b05b3f0175d3c64)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=852bb5dd62eb88e12bda83ce9bc6c7b1ea2906b5
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Sep 9 11:20:40 2014 -0400

    freedreno/a3xx: enable hw primitive-restart
    
    Since software primitive-restart emulation is going to be removed (and
    anyways, mostly seemed to be crash prone in combination with
    u_primconvert and oddball scenarios (like PIPE_PRIM_POLYGON with only a
    single vertex), might as well do it in hardware (which fortunately
    didn't turn out to be too hard to figure out).
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 720cfb6fe9a3dafadf3bc034008f7c5c15973866)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c855b7f945e3e846baa2b9e619296c24fc1985
Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Sep 9 11:11:24 2014 -0400

    freedreno: update generated headers
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 564183f39c24c1674fd71df42c83a2e34d1c7291)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91f9cbc996287aa2829d9ac89f816604ceb35974
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 8 13:42:54 2014 -0400

    freedreno/ir3: fix potential segfault in RA
    
    Triggered by shaders like:
    
      FRAG
      PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
      DCL OUT[0], COLOR
      DCL CONST[0]
      DCL TEMP[0..2], LOCAL
        0: IF CONST[0].xxxx :0
        1:   MOV TEMP[0], TEMP[1]
        2: ELSE :0
        3:   MOV TEMP[0], TEMP[2]
        4: ENDIF
        5: MOV OUT[0], TEMP[0]
        6: END
    
    not really a sane shader, although driver segfaulting is probably
    not the appropriate response.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit a2c22d80d4efc793a29150360f428a76f9c8589d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=852da37330c2619c5b6725fc0a41d7fcd4d84133
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 8 11:18:01 2014 -0400

    freedreno: don't overflow cmdstream buffer so much
    
    We currently aren't too clever about dealing with running out of
    cmdstream buffer space.  Since we use a single buffer for both drawing
    and tiling commands, we need to ensure there is enough space at the tail
    of the cmdstream buffer to fit the tiling commands.
    
    Until we get more clever, the easy solution is a threshold to trigger
    flushing rendering even if the application does not trigger flush (swap,
    changing render target, etc).  This way we at least don't crash for apps
    that do several thousand draw calls (like some piglit tests do).
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 4f338c9bbff090d606afdc22373cc7869b0d0c89)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea955ffd4d902cda0a0ed4c4114bddbf1f38658c
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Sep 6 12:45:17 2014 -0400

    freedreno/ir3: add no-copy-propagate fallback step
    
    Most of the things the new compiler still has trouble with basically
    amount to cp stage removing too many copies.  But without the cp stage,
    the shaders the new compiler produces are still better (perf and
    correctness) than the old compiler.  So a simple thing to do until I
    have more time to work on it is first trying falling back to new
    compiler without cp, before finally falling back to old compiler.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit fd4884e9291cd941c31e9ed7858a42bec2f1eca8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9995edb7009f28350b7f1d4b25af412d17065703
Author: Rob Clark <robclark at freedesktop.org>
Date:   Thu Sep 4 13:48:05 2014 -0400

    freedreno/ir3: fix constlen with relative addressing
    
    We can't rely on the value from the assembler if relative addressing is
    used.  So instead use the max of declared-consts (which does not include
    compiler immediates) and what we get from the assembler (which does).
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 5d8f40a53a58c984906bc6509f01e31cc41ed1da)
    
    Conflicts:
    	src/gallium/drivers/freedreno/ir3/ir3_shader.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8dfb9773c4977dbc6aafda9c24b2b2b527fc6507
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Sep 3 19:45:19 2014 -0400

    freedreno/ir3: fix error in bail logic
    
    all_delayed will also be true if we didn't attempt to schedule anything
    due to no more instructions using current addr/pred.  We rely on coming
    in to block_sched_undelayed() to detect and clean up when there are no
    more uses of the current addr/pred, which isn't necessarily an error.
    
    This fixes a regression introduced in b823abed.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 73ff4c5f70286ffe72ce6a60b68a8274d7425478)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e90f0daaaaa9227b823588a6f7d57b60c5c9a2a5
Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Sep 3 18:45:55 2014 -0400

    freedreno/ir3: bit of debug
    
    Make it easier to figure out which compiler stage failed.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit 08ee0488e6ae4c3728f00b24a2744cb3bd1929e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fded6b548fbcbc45a1f6096b067cf31ab7af7d4
Author: Rob Clark <robclark at freedesktop.org>
Date:   Mon Sep 1 12:37:26 2014 -0400

    freedreno/ir3: add DDX/DDY
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit ef858ac77055eb3c6bebd01719cee681959123a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e5b48b10e68d1ef527d023d54681744da670bc5
Author: Rob Clark <robclark at freedesktop.org>
Date:   Sat Aug 30 15:17:49 2014 -0400

    freedreno/ir3: add TXB
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit c99f09f4be29f3f7560607edf001497e1b5abfbf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1794194f68e06313d0297240fc0f6984d179673
Author: Rob Clark <robclark at freedesktop.org>
Date:   Fri Aug 29 10:51:40 2014 -0400

    freedreno/ir3: detect scheduler fail
    
    There are some cases where the scheduler can get itself into impossible
    situations, by scheduling the wrong write to pred or addr register
    first.  (Ie. it could end up being unable to schedule any instruction if
    some instruction which depends on the current addr/reg value also
    depends on another addr/reg value.)
    
    To solve this we'd need to be able to insert extra mov instructions
    (which would also help when register assignment gets into impossible
    situations).  To do that, we'd need to move the nop padding from sched
    into legalize.
    
    But to start with, just detect when we get into an impossible situation
    and bail, rather than sitting forever in an infinite loop.  This way it
    will at least fall back to the old compiler, which might even work if
    you are lucky.
    
    Signed-off-by: Rob Clark <robclark at freedesktop.org>
    (cherry picked from commit b823abedf8d1ddba9aeaa43c4a239cb90664dae4)




More information about the mesa-commit mailing list