Mesa (10.0): 51 new commits

Ian Romanick idr at kemper.freedesktop.org
Fri Nov 15 22:09:13 UTC 2013


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fd32619d7143ed7db21fa402d38e681520f82c2
Author: Aaron Watry <awatry at gmail.com>
Date:   Thu Nov 14 12:17:44 2013 -0600

    radeon/llvm: Free elf_buffer after use
    
    Prevents a memory leak.
    
    v2: Remove null check
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 2be85e2492b6ad7e04884525904a7ec22cde0ddc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a87dc278e5b521ed6d4e30afa24bcc54df72d2e
Author: Aaron Watry <awatry at gmail.com>
Date:   Thu Nov 14 12:17:43 2013 -0600

    r600/llvm: Free binary.code/binary.config in r600_llvm_compile
    
    radeon_llvm_compile allocates memory for binary.code, binary.config,
    or neither depending on what's being done.
    
    We need to make sure to free that memory after it's no longer needed.
    
    v2: Don't bother checking for null before FREE()
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 01f3622c740173d4001eb421b74d4d60a0c7fd12)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f843604b6a71a9809db8839d36750fbbdec25bc1
Author: Aaron Watry <awatry at gmail.com>
Date:   Thu Nov 14 12:17:42 2013 -0600

    r600/llvm: initialize radeon_llvm_binary
    
    use memset to initialize to 0's... otherwise code_size and config_size
    could be uninitialized when read later in this method.
    
    It's also hard to do NULL checks on uninitialized pointers.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    v2: Fix indentation
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit dd73b99420de17651001e0a4d937f1f66fbef14c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9f8b782788f4f1b27fb2015b1cf226660a17271
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Nov 14 13:33:52 2013 -0700

    svga: mark dest image as defined in svga_surface_copy()
    
    After we blit/copy to a dest texture image we need to mark it as
    being defined.  This fixes broken mipmap generation for quite a
    few texture formats.  Mipgen involves making texture views and
    svga_texture_view_surface() skips texture images that are undefined.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit 3969330b47c5b7f7843f356db0a10962553339a6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfff838429060986a0813d74a87ca81b0406df95
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Nov 13 11:26:15 2013 -0700

    svga: do primitive trimming in translate_indices()
    
    The index translation code expects the number of indexes to be
    consistent with the primitive type (ex: a multiple of 3 for
    PIPE_PRIM_TRIANGLES).  If it's not, we can write out of bounds
    in the destination buffer.
    
    Fixes failed assertions in the pipebuffer debug code found with
    Piglit primitive-restart-draw-mode test.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    (cherry picked from commit 79984b9928d4444665ce617a1e4551e53d415bd4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11982ca08dd8ef5111bf2155e52c3de8d2840431
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Nov 6 16:49:24 2013 -0600

    gallium/pipe_loader: un-reference udev resources when we're done with them.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 598f61ba28bcfd220104e18e89973768babeaac3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=713966c82f8051575d53c8da918ec9365b087dda
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Nov 6 16:49:23 2013 -0600

    radeonsi/compute: Dispose of LLVM module after compiling kernels
    
    v2: Fix indentation
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 4c6ac9e61452ffc49f8e360fc879deec8e04bbb5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a98fc6abecc7bce02b3de4861f49db38daff775
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Nov 6 16:49:22 2013 -0600

    radeonsi/compute: Free program and program.kernels on shutdown
    
    v2: Fix indentation
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 35dad4a1e235b2bf7fb3ecdb82aed0214db69a35)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=531637feee3c4fa378f2fe25399cff833592b269
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Nov 6 16:49:21 2013 -0600

    radeon/llvm: Free created llvm memory buffer
    
    v2: Fix indentation
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d41b10f811a89c76248f195a6b4ade62322b8c3c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02807c06b89ccd185e007580b5b50da5bf399e27
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Nov 6 16:49:20 2013 -0600

    radeon/llvm: Free libelf resources
    
    v2: Fix indentation
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit a2b93da84bda2b92108cf3b9c253fec114b69dc2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ed045274061ec744b74116c7f49ce7d2960531c
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Nov 6 16:49:19 2013 -0600

    radeon/llvm: fix spelling error
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit df482fe02f6732fb6fe7ae0a509b3c66e655bd5b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef8fcfc9cf55d11f5fc0b93ec52fa8d4d1a73135
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Apr 11 10:37:55 2013 -0400

    clover: Support multiple devices in clCreateContextFromType() v2
    
    v2:
      - Use clGetDeviceIDs to query devices.
    
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    
    CC: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 17af4dd52b0530b671fb7ae64345500f62ed7ee3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b45f255b592692bdcd25b1f487a2f72c469ac63
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Oct 29 14:41:32 2013 -0700

    glsl: Rework interface block linking.
    
    Previously, when doing intrastage and interstage interface block
    linking, we only checked the interface type; this prevented us from
    catching some link errors.
    
    We now check the following additional constraints:
    
    - For intrastage linking, the presence/absence of interface names must
      match.
    
    - For shader ins/outs, the interface names themselves must match when
      doing intrastage linking (note: it's not clear from the spec whether
      this is necessary, but Mesa's implementation currently relies on
      it).
    
    - Array vs. nonarray must be consistent, taking into account the
      special rules for vertex-geometry linkage.
    
    - Array sizes must be consistent (exception: during intrastage
      linking, an unsized array matches a sized array).
    
    Note: validate_interstage_interface_blocks currently handles both
    uniforms and in/out variables.  As a result, if all three shader types
    are present (VS, GS, and FS), and a uniform interface block is
    mentioned in the VS and FS but not the GS, it won't be validated.  I
    plan to address this in later patches.
    
    Fixes the following piglit tests in spec/glsl-1.50/linker:
    - interface-blocks-vs-fs-array-size-mismatch
    - interface-vs-array-to-fs-unnamed
    - interface-vs-unnamed-to-fs-array
    - intrastage-interface-unnamed-array
    
    v2: Simplify logic in intrastage_match() for handling array sizes.
    Make extra_array_level const.  Use an unnamed temporary
    interface_block_definition in validate_interstage_interface_blocks()'s
    first call to definitions->store().
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit f38ac41ed48fefe82360520c9d33ba9261a3e642)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a163c0b347a089c4db59bbc38d6fc87e2da9e50
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Nov 12 10:55:18 2013 -0800

    i965: Fix vertical alignment for multisampled buffers.
    
    From the Sandy Bridge PRM, Vol 1 Part 1 7.18.3.4 (Alignment Unit
    Size):
    
        j [vertical alignment] = 4 for any render target surface is
        multisampled (4x)
    
    From the Ivy Bridge PRM, Vol 4 Part 1 2.12.2.1 (SURFACE_STATE for most
    messages), under the "Surface Vertical Alignment" heading:
    
        This field is intended to be set to VALIGN_4 if the surface was
        rendered as a depth buffer, for a multisampled (4x) render target,
        or for a multisampled (8x) render target, since these surfaces
        support only alignment of 4.
    
    Back in 2012 when we added multisampling support to the i965 driver,
    we forgot to update the logic for computing the vertical alignment, so
    we were often using a vertical alignment of 2 for multisampled
    buffers, leading to subtle rendering errors.
    
    Note that the specs also require a vertical alignment of 4 for all
    Y-tiled render target surfaces; I plan to address that in a separate
    patch.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53077
    Cc: mesa-stable at lists.freedesktop.org
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    (cherry picked from commit b4c3b833ec8ec6787658ea90365ff565cd8846c7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53e681f2fed2ca1f9e288b776d6d74186b988d4f
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Nov 13 14:24:09 2013 -0800

    main: Fix MaxUniformComponents for geometry shaders.
    
    For both vertex and fragment shaders we default MaxUniformComponents
    to 4 * MAX_UNIFORMS.  It makes sense to do this for geometry shaders
    too; if back-ends have different limits they can override them as
    necessary.
    
    Fixes piglit test:
    spec/glsl-1.50/built-in constants/gl_MaxGeometryUniformComponents
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    (cherry picked from commit 46e9f78efcb6ccc25ea59d83624aaa5077254a85)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10c25e58cab58acceee36baa46d1cacf0172a4d6
Author: Fredrik Höglund <fredrik at kde.org>
Date:   Mon Nov 11 18:54:15 2013 +0100

    mesa: Fix derived vertex state not being updated in glCallList()
    
    AEcontext::NewState is not always set when the vertex array state
    is changed.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71492
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit ff353c218a1ab1fd3fb797a4780612ec4b0451d8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0558e10160c1601cdf347f94ea8d9359c62812ac
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Nov 11 11:08:26 2013 -0800

    dri: Change value param to unsigned
    
    This silences some compiler warnings in i915 and i965.  See also
    75982a5.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit a15a19f0d1b024f5f18f1dfe878ae8d399e38469)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e51d3a668a3032c028a3a35e04088c7e362adfb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Nov 11 10:57:55 2013 -0800

    i965: Use drm_intel_get_aperture_sizes instead of hard-coded 2GiB
    
    Systems with little physical memory installed will report less than
    2GiB, and some systems may (hypothetically?) have a larger address space
    for the GPU.  My IVB still reports 1534.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit cb6182bdfa7c8a5a773ec21112886f742df99840)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5839c2397a0f99b9d5035b5989019feb48b856b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Nov 11 10:55:34 2013 -0800

    i915: Use drm_intel_get_aperture_sizes instead of drmAgpSize
    
    Send the zombie back to the grave before it infects the townsfolk.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9fe108db0942ebf41cd1cce0ca6a6444901fbb0a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d2187176a3708e3bc00114a8172ec7cc73f39d3
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon Nov 11 16:35:35 2013 -0800

    dri: Remove redundant createNewContext function from __DRIimageDriverExtension
    
    createContextAttribs is a superset of what createNewContext provides.
    Also remove the function typedef, since createNewContext is deprecated
    and no longer used in  multiple interfaces.
    
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit e0489531455623aa21aa565b2c890362d8437f23)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=329a75511fe2ab454e487855a65f9a3943a11ec1
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Fri Nov 8 22:10:36 2013 -0800

    wayland: Use __DRIimage based getBuffers implementation when available
    
    This lets us allocate color buffers as __DRIimages and pass them into
    the driver instead of having to create a __DRIbuffer with the flink
    that requires.
    
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 68bb26bead333764f140225926a9123f38b567a3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76434775e07abe9f1f372284c0fd46d6fffccfa6
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Fri Nov 8 22:06:51 2013 -0800

    gbm: Add support for __DRIimage based getBuffers when available
    
    This lets us allocate color buffers as __DRIimages and pass them into
    the driver instead of having to create a __DRIbuffer with the flink
    that requires.
    
    With this patch, we can now run gbm on render-nodes.  A render-node is a
    drm device that doesn't support modesetting and all the legacy DRI ioctls.
    flink is also not supported, but now that gbm doesn't need flink, we can
    run piglit on head-less gbm or head-less GPGPU.
    
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    Tested-by: Jordan Justen <jordan.l.justen at intel.com>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 04e3ef00dbeab177793954781ddfd298724b6d8d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=236524430228e2cc090d89652a0a46591ebe7ac0
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date:   Tue Nov 12 14:47:08 2013 +0200

    dri/i915, dri/i965: Fix support for planar images
    
    Planar images have format __DRI_IMAGE_FORMAT_NONE, but the patch that
    moved the conversion from dri_format to the mesa format made it
    impossible to allocate a image with that format.
    
    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
    Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 5ba6be2617a46a7cd8567ffe65f496e917a93374)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e6f200250f3a4e892a18e089dc9faecf6d9c7b8
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 6 17:38:23 2013 -0800

    i965/fs: Try a different pre-scheduling heuristic if the first spills.
    
    Since LIFO fails on some shaders in one particular way, and non-LIFO
    systematically fails in another way on different kinds of shaders, try
    them both, and pick whichever one successfully register allocates first.
    Slightly prefer non-LIFO in case we produce extra dependencies in register
    allocation, since it should start out with fewer stalls than LIFO.
    
    This is madness, but I haven't come up with another way to get unigine
    tropics to not spill while keeping other programs from not spilling and
    retaining the non-unigine performance wins from texture-grf.
    
    total instructions in shared programs: 1626728 -> 1626288 (-0.03%)
    instructions in affected programs:     1015 -> 575 (-43.35%)
    GAINED:                                50
    LOST:                                  0
    
    Improves Unigine Tropics performance by 14.5257% +/- 0.241838% (n=38)
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70445
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit e9daead784921e453906853a4a78a2f3135af2e0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99c62ff2ea488046231acec463ed96efadd1b65c
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 6 17:43:25 2013 -0800

    i965/fs: Do instruction pre-scheduling just before register allocation.
    
    Long ago, the HW_REG usage in assign_curb/urb_setup() were scheduling
    barriers, so we had to run scheduler before them in order for it to be
    able to do basically anything.  Now that that's fixed, we can delay the
    scheduling until we go to allocate (which will make the next change less
    scary).
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit fbd8303a943d0d491b7c2415eb237a0731c7dec5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5a6ef970282ac1050d6cc310ed5fcd0bff4fa0a
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 5 23:30:33 2013 -0800

    i965/fs: Ignore actual latency pre-reg-alloc.
    
    We care about depth-until-program-end, as a proxy for "make sure I
    schedule those early instructions that open up the other things that can
    make progress while keeping register pressure low", not actual latency
    (since we're relying on the post-register-alloc scheduling to actually
    schedule for the hardware).
    
    total instructions in shared programs: 1609931 -> 1609931 (0.00%)
    instructions in affected programs:     0 -> 0
    GAINED:                                55
    LOST:                                  43
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit f72a0d99fed5d6205431a59775484cde3442cceb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6640147463640bcbb49d4bbdb8efdad0ff6a5558
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Nov 4 22:56:33 2013 -0800

    i965/fs: Fix message setup for SIMD8 spills.
    
    In the SIMD16 spilling changes, I replaced a "1" in the spill path with
    "mlen", but obviously it wasn't mlen before because spills have the g0
    header along with the payload. The interface I was trying to use was
    asking for how many physical regs we're writing, so we're looking for "1"
    or "2".
    
    I'm guessing this actually passed piglit because the high 8 bits of the
    execution mask in SIMD8 mode are all 0s.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    (cherry picked from commit 7c90947a0ba7f61b58a6fd5b94a08587e68d978e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=229ee204605b5f024662fb7e2748a40630d60790
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct 14 11:38:09 2013 -0700

    i965/fs: Prefer things we know reduce reg pressure when pre-scheduling.
    
    Previously, the best thing we had was to schedule the things unblocked by
    the last chosen instruction, on the hope that it would be consuming two
    values at the end of their live intervals while only producing one new
    value.  But that's just a guess, and we can do counting of usage of
    registers to know when an instruction would (almost surely) reduce
    register pressure.
    
    The only failure mode I know of in this new dominant heuristic is that
    inside of a loop when scheduling the iterator (for example), choosing the
    last use of the iterator doesn't actually reduce the live interval of the
    iterator.  But it doesn't seem to matter in shader-db:
    
    total instructions in shared programs: 1618700 -> 1618700 (0.00%)
    instructions in affected programs:     0 -> 0
    GAINED:                                13
    LOST:                                  0
    
    Note: The new functions are made virtual because I expect we'll soon lift
    the pre-regalloc scheduling heuristic over to the vec4 backend.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit bc0e3bb4d05fbb5e8e2af8dce8170cb78cfe0e70)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbddd86cc2b8b21a3d0460bb3d9262a86a5e39f6
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 5 16:24:58 2013 -0800

    i965: Fix undefined value usage in ABO setup.
    
    Fixes a compiler warning.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 9b3e1592c26a183580342282e509d906d78bb6f6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c702f5eeade9c1cb2417c4b546407bb101d35d2d
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 12 11:14:20 2013 -0800

    clover: Fix the const variant of adaptor_range::end to deal with mismatching range sizes.
    
    Fixes infinite loop in find_grid_optimal_factor() in cases where the
    user specifies a grid size with less dimensions than the device
    supports.
    
    Reported-by: Tom Stellard <thomas.stellard at amd.com>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 99d447cc5dafa3a36b970068961989cced62e3b6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4cc166abc038fc7ac4b4c1514fa462f0bfb1d26
Author: Cyril Brulebois <kibi at debian.org>
Date:   Tue Nov 12 02:51:00 2013 -0700

    gallium: fix build on GNU/Hurd due to missing PIPE_OS_HURD detection
    
    Thanks to Pino Toscano.  Patch from Debian package.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 2d77e4f922a8c34541d8b187e171738006bd6f4d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a3dcece7257722cdaa71978e489a1600849b2dd
Author: Petr Sebor <petr at scssoft.com>
Date:   Mon Nov 11 16:19:00 2013 -0700

    meta: enable vertex attributes in the context of the newly created array object
    
    Otherwise, the function would enable generic vertex attributes 0
    and 1 of the array object it does not own. This was causing crashes
    in Euro Truck Simulator 2, since the incorrectly enabled generic
    attribute 0 in the foreign context got precedence before vertex
    position attribute at later time, leading to NULL pointer dereference.
    
    Cc: "9.2" <mesa-stable at lists.freedesktop.org>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Signed-off-by: Petr Sebor <petr at scssoft.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit f2b844f59d86c5971118bfccb00ddc5a1b69797a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=accc276df2d32b46d086bc5beb9d5d5f5224a7a5
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Nov 11 15:06:13 2013 -0700

    mesa: call update_array_format() after error checking
    
    We try to do all error checking before changing any GL state.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    
    Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit ce193d4f01baa7f88692164f5673606de162f483)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afbdcdcaaf11fd513ba44e474913b88774016b9b
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Nov 9 13:29:35 2013 -0500

    nouveau/video: mark bitstream-level acceleration as unsupported
    
    Adding a vl_mpeg-based helper didn't seem to work, as it produced data
    that the card couldn't handle. (And I didn't investigate further.) This
    makes the decoding functionality only accessible via XvMC and avoids
    crashes when attempting to use VDPAU.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 08122e151a511236bccf7ab94efa4278ea3b3b6c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f2877c40d931b693369d1d00186ec23d5ede1e0
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Nov 9 13:29:34 2013 -0500

    nouveau/video: don't try on nv3x
    
    It doesn't work, I don't know why, but no point in hanging people's
    displays until it gets figured out.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit e8d5d3409c73329dba8678b52a53acf5735f04b1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02d9e1be87f0bb03eae829ae3f56a6c0bee33826
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Oct 23 16:02:16 2013 -0400

    egl-static:  Only export necessary symbols v3
    
    This fixes a crash in glamor when mesa links against static LLVM.
    
    v2:
      - Inline LINKER_SCRIPT variable
    
    v3: Kai Wasserbäch
      - Fix out out-of-tree-builds
    
    Tested-by: Kai Wasserbäch <kai at dev.carbon-project.or>
    (cherry picked from commit 594fa4a208b138b0b9b24cc8de62e6681ebb8d21)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=095d583e528f7c59c3471df50ba136f776f9bef9
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Oct 23 15:36:41 2013 -0400

    configure.ac: Don't require shared LLVM when building OpenCL
    
    This works now that pipe_*.so is no longer exporting LLVM symbols.
    
    Tested-by: Kai Wasserbäch <kai at dev.carbon-project.or>
    (cherry picked from commit cb080a10b68b82467ebb6f62e047f15cd2e5af80)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8af132fca9308913235f65a3bd34681a813f409b
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Oct 23 15:35:45 2013 -0400

    pipe-loader: Only export necessary symbols v3
    
    This makes it possible to use clover with statically linked LLVM.
    
    v2:
      - Inline LINKER_SCRIPT variable
    
    v3: Kai Wasserbäch
      - Fix out out-of-tree-builds
    
    Tested-by: Kai Wasserbäch <kai at dev.carbon-project.or>
    (cherry picked from commit 6d6c749215739d0b5f5143dd00a782082b3d03a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ade312cd8a42c0ccb37c91d02c88e0a5672ded9b
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Oct 16 13:43:08 2013 -0400

    radeonsi/compute: Add Sea Islands support
    (cherry picked from commit a859131003fc79094cf99c92cc6a11a0f0c659f7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9a74a0b4c3dc36a3e9437ba13124b5ebf6583c3
Author: Rico Schüller <kgbricola at web.de>
Date:   Mon Nov 11 21:18:27 2013 +0100

    tests: Fix make check for out of tree builds.
    
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Signed-off-by: Rico Schüller <kgbricola at web.de>
    (cherry picked from commit 23afe71f444067cad927273728529ff15ba394df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e3f5999b925aab627b21bca6670a9e1806715b2
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Nov 7 19:01:39 2013 -0700

    osmesa: fix broken triangle/line drawing when using float color buffer
    
    Doesn't seem to help with bug 71363 but it fixed a failure I found in
    my testing.
    
    Cc: "9.2" <mesa-stable at lists.freedesktop.org>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit a66a008b17872f3eab91b7d04dd70e4537bdb627)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebc460bc5f0100106c74a9cee82cf187ab998d35
Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Sun Nov 10 09:15:13 2013 +1300

    i965: convert brw_lower_offset_array_visitor to ir_rvalue_visitor
    
    Previously, we would bogusly replace the entire statement containing the
    ir_texture node with an ir_dereference_variable.
    
    Correct this to just replace the ir_texture node itself as intended.
    
    Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 5442c0eae3a639d0c9daf447cdfecdbafb475658)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0010bdd54a490ecf45652cfdf5b8d8a275b7118f
Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Sat Nov 9 22:26:08 2013 +1300

    glsl: fix missing breaks in equals(ir_texture,..)
    
    Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
    Cc: "10.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit d257350949440539cb4c3c20349da7f1d5afb693)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8a631295a6cfc7a26f529980202f1198701e136
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 7 15:09:33 2013 -0800

    i965/fs: Don't perform CSE on inst HW_REG dests (unless it's null)
    
    Commit b16b3c87 began performing CSE on CMP instructions with null
    destinations. I relaxed the restrictions a bit too much, thereby
    allowing CSE to be performed on instructions with, for instance, an
    explicit accumulator destination.
    
    This broke the arb_gpu_shader5/fs-imulExtended shader tests because
    they emit MUL instructions with the accumulator as the destination. CSE
    would instead cause the MUL to write to a GRF, which is lower precision
    than the accumulator.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Cc: 10.0 <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 68349e52194b7eba521b88d42ee8db3bfdf0a877)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c94ed272eb81bb005403811f075ba57f13dee18b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Nov 15 12:27:03 2013 -0800

    Add .cherry-ignore file
    
    Since we've disabled DRI3 completely in 10.0, f0f202e this commit is no
    longer necessary.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47139b02335dee675fdcf14b9a766c4cdcec890f
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 12 16:08:44 2013 -0800

    glx: Back DRI3 enablement out of the stable branch.
    
    After more testing (everyone else trying to build the stack is having as
    much trouble as I had, even after the problems I had were fixed), it
    really feels like dri3 is not something we're ready to support in this
    stable branch.  The .c/.h code will remain here to enable easier
    cherry-picking from master, and everything stays on master so we can ship
    a solid DRI3 in 3 months.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94251281b4e914ec7b29e811ed6a565128745d0c
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Nov 8 09:00:46 2013 -0700

    glx: change query_renderer_integer() value param to unsigned
    
    When this function was added, the returned value was signed in some
    places, unsigned in others.
    
    v2: also add unsigned in the unit test, per Ian.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 75982a5df42cd2406e529b7c96b36d2a8b1f7b60)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03a29306b50a0a61965e80323cb5cf2b10c26b8e
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Nov 8 17:55:14 2013 +0000

    glx: Fix scons build.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 6c6f4aa6fdad19574406ea7edcbcca45d02e89b6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d37ea6dfec64301953486d21a15e744d3d3bbb50
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Nov 8 08:33:47 2013 -0700

    swrast: add missing notify_reset parameter to dri_create_context()
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    (cherry picked from commit f41c01c68847a2d3df8f3c8786ef803428a0be13)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84ee00c1b2d4fb155dea4a92fe814fbdc9579d02
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Nov 8 12:22:22 2013 +0000

    scons: Add dri2_query_renderer.c to sources.
    (cherry picked from commit cb3c57df3acfa237641aa004545a786f5624f198)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ffcc96abcfeb709cb431a7555aca078d710b3b9
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Nov 8 12:20:00 2013 +0000

    st/dri: Fix dri_create_context declaration prototype.
    (cherry picked from commit caf1d96862553b169aa9d8fac63fcbd37a59d099)




More information about the mesa-commit mailing list