Mesa (11.1): 91 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Thu Apr 14 21:54:34 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48d14b5290d784ea965e45edb94af2dabd9a924d
Author: Olivier Pena <opena at isagri.fr>
Date:   Mon Dec 7 17:13:18 2015 +0100

    scons: support for LLVM 3.7.
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    (cherry picked from commit a5256012ef8ea31bc8025fc72193a9772372c9a1)
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94195

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55375c14cec624b4ee30edfdb94c22f4eb53f441
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Apr 2 17:46:58 2016 -0400

    nv50/ir: we can't load local memory directly into an output
    
    This fixes piglit tests like
    
    tests/spec/glsl-1.10/execution/variable-indexing/vs-output-array-float-index-wr.shader_test
    
    and related ones.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 3610b1466d573983d80e3019e8e01ebb97d67d9c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=760f8ead09452159359595551959d04545b7653e
Author: Christian Schmidbauer <ch.schmidbauer at gmail.com>
Date:   Sun Mar 13 22:50:31 2016 +0100

    st/nine: specify WINAPI only for i386 and amd64
    
    Currently mesa fails building with the x32 abi as ms_abi is not defined
    in such a case.
    
    The patch uses ms_abi only for amd64 targets and stdcall only for i386
    targets to be sure that those are defined.
    
    This patch additionally checks for __GNUC__ to guarantee that
    __attribute__ is available.
    
    CC: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Christian Schmidbauer <ch.schmidbauer at gmail.com>
    Acked-by: Axel Davy <axel.davy at ens.fr>
    (cherry picked from commit 2a529a8ac810b3b40e7a9a071d9544b168928b94)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c91c7de52d5d42d8dc3615d23c85efdfb8669db1
Author: Rob Herring <robh at kernel.org>
Date:   Tue Feb 2 14:45:07 2016 -0600

    Android: fix x86 gallium builds
    
    Builds with gallium enabled fail on x86 with linker error:
    
    external/mesa3d/src/mesa/vbo/vbo_exec_array.c:127: error: undefined reference to '_mesa_uint_array_min_max'
    
    The problem is sse_minmax.c is not included in the libmesa_st_mesa
    library. Since the SSE4.1 files are needed for both libmesa_st_mesa
    and libmesa_dricore, move SSE4.1 files into a separate static library
    that can be used by both.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 2d9e0f24e1a13648a9bceb03dbfb438e03c81fd7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75afb4ca6e053983d3537a4fff01ddb4bceb8871
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Mar 26 22:32:43 2016 -0400

    nvc0: disable primitive restart and index bias during blits
    
    Back in the dawn of time, we used to do immediate uploads for the vertex
    data, and all was well. However Maxwell dropped support for immediate
    vertex data, so we started feeding in a VBO (in all cases). But we
    forgot to disable some things that apply in such cases, specifically
    primitive restart and index bias. The latter was causing WoW and other
    Blizzard games trouble as they use a pattern where they draw with a base
    vertex (aka index bias), followed by texture uploads (aka blits,
    internally).
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91526
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Tested-by: Karol Herbst <nouveau at karolherbst.de>
    (cherry picked from commit 41100b6b44e747b9003937f123fce571fd3dec46)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a785cccc706feeaba16e3df0b41bc4548c9be2b4
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Mar 20 17:26:13 2016 -0400

    nvc0/ir: fix picking of coordinates from tex instruction for textureGrad
    
    On Fermi, there's an argument in front of the coords that combines array
    and indirect handle, while on Kepler the array and the indirect handle
    are separate (and in front of the coords). We were previously only
    accounting for the array bit of it, if there were an indirect access it
    wouldn't be counted in the formula.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit f667d15561820ee9dd8e836d43cce3ee52a4780e)
    [Emil Velikov: resolve trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8cb96f83d761d7ec59d9d1cd8a75c637e0ac07d
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri Mar 11 15:24:36 2016 -0800

    i965: Fix assert conditions for src/dst x/y offsets
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 4ba47f7b2adf71ed100cd390a1a9fbd4434e896a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbc184041ec293cc01a36988b0ed5e129f790ae6
Author: xavier <xavierb at gmail.com>
Date:   Wed Mar 9 09:58:48 2016 +0100

    r600/sb: Do not distribute neg in expr_handler::fold_assoc() when folding multiplications.
    
    Previously it was doing this transformation for a Trine 3 shader:
         MUL     R6.x.12,    R13.x.23, 0.5|3f000000
    -    MULADD     R4.x.12,    -R6.x.12, 2|40000000, 1|3f800000
    +    MULADD     R4.x.12,    -R13.x.23, -1|bf800000, 1|3f800000
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94412
    Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>
    Cc: "11.0 11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Glenn Kennard <glenn.kennard at gmail.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit fce0b55ccbc33d320b9734a53c2a9f7886450c73)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9383b06d3e89da408527878ec143f066a7476250
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Mar 21 13:15:44 2016 +0100

    nvc0: make sure to delete samplers used by compute shaders
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9efd8b590f716bb7766ae6816bc080e7ef60a010)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=868cf207171aec04073c5eeaa11969ac93021780
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Fri Mar 18 17:16:39 2016 -0500

    st/mesa: use the texture view's format for render-to-texture
    
    Aside from the bug below, it fixes a simplistic test I've written locally,
    and I see no regression in Piglit for radeonsi.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94595
    Cc: "11.0 11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit a8b315b8271e867db30650dedb52e53d8dd9667c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b4eb0f1230efae5678197a86642db3ac7ed4912
Author: Nishanth Peethambaran <nishanth.peethambaran at amd.com>
Date:   Fri Mar 11 01:23:00 2016 -0500

    st/omx/dec: Correct the timestamping
    
    Attach the timestamp to the dpb buffer and use that timestamp
    while pushing buffer from dpb list to the omx client.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Nishanth Peethambaran <nishanth.peethambaran at amd.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit eeb117a09d6c0eb2b4fa94d55e8015c8aa982727)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e097adc8b47a7f05a1709d7358111a303ccc0dd5
Author: Nishanth Peethambaran <nishanth.peethambaran at amd.com>
Date:   Tue Mar 15 01:56:18 2016 -0400

    st/omx: Remove trailing spaces
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Nishanth Peethambaran <nishanth.peethambaran at amd.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 46de6bbb775602ab237d0054e5351b0fc90d942b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bcf45cf8d91a5f22df6c0879442c081261d17c1
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Mar 20 13:43:43 2016 -0400

    nv50/ir: fix indirect texturing for non-array textures on nvc0
    
    If a layer parameter is provided, we want to flip it to position 0 (and
    combine it with any indirect params). However if the target is not an
    array, there is no layer, so we have to shift all of the arguments down
    by one to make room for it.
    
    This fixes situations where there were non-coordinate parameters, such
    as bias, lod, depth compare, explicit derivatives. Instead of adding a
    new parameter at the front for the indirect reference, we would swap one
    of those in its place.
    
    Fixes dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.compute.*shadow
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reported-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Tested-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 7d98bfedd73d632041d27ff12ccf7c7be74a2ddd)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b1877c8ae475d2ac0dcb33fb144323309caf211
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Mar 19 21:25:36 2016 -0400

    st/mesa: only minify depth for 3d targets
    
    We make sure that that image depth matches the level's depth before
    copying it into place. However we should only be minifying the first
    level's depth for 3d textures - array textures have the same depth for
    all levels.
    
    This fixes tests such as
    dEQP-GLES3.functional.texture.specification.texsubimage3d_depth.* and I
    suspect account for a number of other odd situations I've run into where
    level > 0 of array textures was messed up.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit adb40a739943d62508b9c79cbd85e3c67ee3b43b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75212410918c200e4f8c21b912d58bbeb2e6d83e
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Mar 19 11:46:11 2016 -0400

    nv50/ir: force-enable derivatives on TXD ops
    
    This matters especially in vertex shaders, where derivatives are
    disabled by default. This fixes textureGrad in vertex shaders on nv50.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d2445b00837c9123b59a1ac743c136546f334504)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6771e866d030b7d8556618276260ef59ca606820
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Mar 19 11:43:37 2016 -0400

    nv50: reset TFB bufctx when we no longer hold a reference to the buffers
    
    This fix is analogous to commit ff085d014.
    
    This fixes some use-after-free situations in dEQP when an xfb state is
    removed, and then a clear is triggered, which only does a partial
    validation. It would attempt to read the no-longer-valid buffers,
    resulting in crashes.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit d1b85dbffa0eec2b44bb2a9f339a2617a39730da)
    [Emil Velikov: macro names do not need 3D_ ]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/gallium/drivers/nouveau/nv50/nv50_shader_state.c
        src/gallium/drivers/nouveau/nv50/nv50_state.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d8ba0232e60e72eb55f02dcd090672ef5c2b7e4
Author: Daniel Czarnowski <daniel.czarnowski at intel.com>
Date:   Mon Feb 22 08:00:14 2016 +0200

    egl: support EGL_LARGEST_PBUFFER in eglCreatePbufferSurface(...)
    
    Patch provides a default for a set pbuffer surface size when
    EGL_LARGEST_PBUFFER is used by the client. MIN2 macro is moved
    to egldefines so that it can be shared.
    
    Fixes following Piglit test:
       egl-create-largest-pbuffer-surface
    
    From EGL 1.5 spec:
       "Use EGL_LARGEST_PBUFFER to get the largest available pbuffer
       when the allocation of the pbuffer would otherwise fail."
    
    Currently there exists no API to query largest available pixmap size
    using xlib or xcb so right now this seems most straightforward way to
    ensure that we fulfill above API and also we don't attempt to allocate
    'too big' pixmap which might succeed on server side but not work in
    practice when driver starts to use it as a texture.
    
    v2: add more explanation about the change (Emil)
    
    Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit d4714512e4077b8079efe526d7823e19fdb9be37)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c280915ab40bbfc236bba86e06f54dfcad31d1
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Mar 15 21:49:54 2016 +0100

    radeonsi: fix Hyper-Z hangs on P2 configs
    
    Cc: 11.1 11.2 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 4ab2ac334921ae9bbd1791adaf8977fccf744580)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=625ffe33ab0752bac32bebb91656342ce64f0dc3
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Tue Mar 15 19:40:44 2016 +0100

    draw: fix line stippling
    
    The logic was comparing actual ints, not true/false values.
    This meant that it was emitting always multiple line segments instead of just
    one even if the stipple test had the same result, which looks inefficient, and
    the segments also overlapped thus breaking line aa as well.
    (In practice, with the no-op default line stipple pattern, for a 10-pixel
    long line from 0-9 it was emitting 10 segments, with the individual segments
    ranging from 0-1, 0-2, 0-3 and so on.)
    
    This fixes https://bugs.freedesktop.org/show_bug.cgi?id=94193
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    
    CC: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 12a4f0bed6ff03031587e1eb6d69f18b131f5655)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dde6d0efba39f49dc84f4bfdff778ab3c54e656f
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sun Mar 13 19:13:09 2016 +0100

    softpipe: fix anisotropic filtering crash
    
    The filt_args->offset wasn't assigned but was always used later leading
    to a crash (as far as I can tell, texel offsets don't actually make much
    sense with anisotropic filtering, but because there's no explicit setting
    if offsets are enabled there the array is always accessed).
    
    This fixes https://bugs.freedesktop.org/show_bug.cgi?id=94481
    
    Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>
    
    CC: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9e9d69979c7aff7dac2d670af950f4a50273bcde)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9d703ee228d7deae8208e2fcee56b98f771df4f
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Mar 13 19:15:45 2016 -0700

    i965/vec4: Consider removal of no-op MOVs as progress during register coalesce.
    
    Bug found by the liveness analysis validation pass that will be
    introduced in a later commit.  The no-op MOV check in
    opt_register_coalesce() was removing instructions which makes the
    cached liveness analysis calculation inconsistent with the shader IR.
    We were failing to set progress to true in that case though, which
    means that invalidate_live_intervals() wouldn't necessarily be called
    at the end of the function.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 7d7990cf657550be4d038a0424ffdc0ef7fd8faa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a132394ca477d9a87f487e11b1ec89f99204a5ac
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Mar 11 15:27:22 2016 -0800

    i965/fs: Add missing analysis invalidation in fixup_3src_null_dest().
    
    Bug found by the liveness analysis validation pass that will be
    introduced in a later commit.  fixup_3src_null_dest() was allocating
    registers which makes the cached liveness analysis calculation
    incomplete, so it must be invalidated.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 93be4158aed9accab06e3df2d8c526d3312bfff8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e53e9b9a36aedd69bf083ecce95feea6e5d557ae
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Mar 11 15:22:56 2016 -0800

    i965/fs: Add missing analysis invalidation in opt_sampler_eot().
    
    Bug found by the liveness analysis validation pass that will be
    introduced in a later commit.  opt_sampler_eot() was allocating
    registers and inserting and removing instructions, which makes the
    cached liveness analysis calculation inconsistent with the shader IR,
    so it must be invalidated.
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    (cherry picked from commit 6691c03fd39be463e1d222b56e3ec8da9f3b7f24)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adc355ec4e24989502f12f8fceae66ac686f371d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Mar 11 21:26:31 2016 -0500

    nvc0: fix blit triangle size to fully cover FB's > 8192x8192
    
    The idea is that a single triangle will cover the whole area being
    drawn, allowing the blit shader to do its work. However the max fb size
    is 16384x16384, which means that the triangle we draw needs to be twice
    that in order to cover the whole area fully. Increase the size of the
    triangle to 32768x32768.
    
    This fixes a number of dEQP tests that were failing because a blit was
    involved which would miss some of the resulting texture.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit a651bc027d5ed4150bb5240fc9f46a6ca569f665)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5352835d0a4c2d545972264f9cbef9179585395b
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Thu Mar 10 21:19:56 2016 -0500

    r600g: clear compressed_depthtex/colortex_mask when binding buffer texture
    
    Found by inspection of the source based on a bisected bug report.
    
    This bug has been in the code for a long time, but the more recent PBO upload
    feature exposed it because it leads to more uses of buffer textures.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94388
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: "11.0 11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit e502801d9843984233426f1b31e42bf6095d63be)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dff29d926e58fc8ecd67ef8a845cf3dcadc3a35
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Mar 5 21:25:44 2016 +0000

    egl/x11: check the return value of xcb_dri2_get_buffers_reply()
    
    ... before using it. The function can return NULL, which we should check
    prior to refererencing it in the next function(s).
    
    Cc: Fabian Vogt <fvogt at suse.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93667
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>
    (cherry picked from commit b9c5c4af6dbfab28b1f0a78e41bffff1b2e06ce9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79ba53f574f636ef3f0c3d15350206b5428ae652
Author: Tamil velan <Tamil-Velan.Jayakumar at amd.com>
Date:   Mon Mar 7 15:17:29 2016 +0530

    radeon/uvd: increase max height to 4096 for VI and newer
    
    With this issue 'mpv --hwdec=vdpau --vo=vdpau <stream>' fails
    for vdpau decode if the stream height is 4096. Vdpau decode of
    height upto 4096 is necessary usecase on amdgpu driver for VI
    and newer platforms.
    
    The fix is in driver specific implementation of "Decoder
    Query Capabilities" API to return 4096 for VI and newer
    platforms. With this fix vdpauinfo reports height support as
    4096 and mpv for vdpau decode works fine for 4096 height streams.
    
    Signed-off-by: Tamil velan <Tamil-Velan.Jayakumar at amd.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 353a4f844f9e845dad93de9c28fa0d484b4b92d3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c04a9c0f5175c659f68a3d426ad7f7f997cd256
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Feb 25 23:39:42 2016 +0100

    gallium/radeon: don't use temporary buffers for persistent mappings
    
    Cc: 11.1 11.2 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit 3146014d5f0f68b3c7524257ca095f1b475d25f2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56159c28003c664742b302d04cb9654026a30e76
Author: Christian König <christian.koenig at amd.com>
Date:   Fri Feb 5 09:25:59 2016 +0100

    radeon/uvd: disable MPEG1
    
    The hardware simply doesn't support that correctly.
    
    Signed-off-by: Christian König <christian.koenig at amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit e148a3b6e9e5c5cd941b70edb67e82058a8187a5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bfc47358d4c72f54d2f686498d37beb105f216a
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Mar 6 12:19:04 2016 -0500

    glsl: avoid stack smashing when there are too many attributes
    
    This fixes a crash in
    
    dEQP-GLES3.functional.transform_feedback.array_element.separate.points.lowp_mat3x2
    
    and likely others. The vertex shader has > 16 input variables (without
    explicit locations), which causes us to index outside of the to_assign
    array.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit f6827e20d12ab062440bc809b8f2338b68edac45)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2ac03a8fc91953aa6a4fccbcd7aa5ef447e0736
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Feb 16 01:02:52 2016 -0500

    nvc0: reset TFB bufctx when we no longer hold a reference to the buffers
    
    This fixes some use-after-free situations in dEQP when an xfb state is
    removed, and then a clear is triggered, which only does a partial
    validation. It would attempt to read the no-longer-valid buffers,
    resulting in crashes.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit ff085d014ed8ccce230769575e50924561218d98)
    [Emil Velikov: macro names do not need 3D_ ]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c
        src/gallium/drivers/nouveau/nvc0/nvc0_state.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6aa3d9785d1fa01ccf785e65779b3ba91ee785
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Mar 3 11:13:29 2016 -0800

    i965: Only magnify depth for 3D textures, not array textures.
    
    When BaseLevel > 0, we magnify the dimensions to fill out the size of
    miplevels [0..BaseLevel).  In particular, this was magnifying depth,
    thinking that the depth doubles at each level.  This is perfectly
    reasonable for 3D textures, but dead wrong for array textures.
    
    Changing the depth != 1 condition to a target == GL_TEXTURE_3D check
    should make this only happen in the appropriate cases.
    
    Fixes about 32 dEQP tests:
    - dEQP-GLES31.functional.texture.gather.*.level_{1,2}
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 4ba7ad6cc13b087e5e95073ab2e24de591d8b5a5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3afee5e82f5be51892db50a060afe651be5443f2
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Thu Feb 25 11:02:03 2016 +0100

    winsys/svga: Increase the fence timeout
    
    If running with a software renderer backend, the timeout may be
    insufficient, and we don't want to release busy buffers too early.
    
    In practice, SVGA gpu lockups are extremely rare.
    
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 395c7b8fa17069fe996a63a8bca2bfd0fe3f16a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09d1434fd70110ab47a56f378b87cfc7ad8a732a
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Thu Feb 25 11:02:02 2016 +0100

    winsys/svga: Fix an uninitialized return value
    
    Reported-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
    Reviwed-by: Brian Paul <brianp at vmware.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 24ad7e16cd0fb67c8646e8860cfb382a260a9126)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=def3c848b3b4b8b59d5dd9b7e5d158002616fd94
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Mar 3 00:43:15 2016 -0800

    mesa: Allow Get*() of several forgotten IsEnabled() pnames.
    
    From section 6.2 ("State Tables") of the GL 2.1 specification
    (the text also appears in the GL 3.0 and ES 3.1 specifications):
    "However, state variables for which IsEnabled is listed as the query
     command can also be obtained using GetBooleanv, GetIntegerv, GetFloatv,
     and GetDoublev."
    
    GL_DEBUG_OUTPUT, GL_DEBUG_OUTPUT_SYNCHRONOUS, and GL_FRAGMENT_SHADER_ATI
    were missing from the glGet*() functions.  All other IsEnabled() pnames
    look to be present, as far as I can tell.
    
    Fixes 8 dEQP-GLES31.functional.debug.state_query subtests:
    debug_output[_synchronous]_get{boolean,float,integer,integer64}.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit aa37cbdff7bb1d2170f1603b02a8b8517255894f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51bd5f4fc403cacf0abb0beba0ce3bcb00d65ef8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Mar 2 23:19:27 2016 -0800

    mesa: Make glGet queries initialize ctx->Debug when necessary.
    
    dEQP-GLES31.functional.debug.state_query.debug_group_stack_depth_*
    tries to call glGet on GL_DEBUG_GROUP_STACK_DEPTH right away, before
    doing any other debug setup.  This should return 1.
    
    However, because ctx->Debug wasn't allocated, we bailed and returned 0.
    
    This patch removes the open-coded locking and switches the two glGet
    functions to use _mesa_lock_debug_state(), which takes care of
    allocating and initializing that state on the first time.  It also
    conveniently takes care of unlocking on failure for us, so we don't
    need to handle that in every caller.
    
    Fixes dEQP-GLES31.functional.debug.state_query.debug_group_stack_depth_
    {getboolean,getfloat,getinteger,getinteger64}.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit b4b50b074beae9b679e5acdbb4b49193e539576d)
    [Emil Velikov: the path has changed s|debug_output|errors|]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/mesa/main/debug_output.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5f811e04541891144e409abfe16614a3bae91ee
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Wed Mar 2 21:11:57 2016 +0200

    radeonsi: Do colorformat endian swap for PIPE_USAGE_STAGING
    
    There is an old if statement (dated to 2011) that prevented doing
    endian swap for colorformat, in case the buffer is marked as
    PIPE_USAGE_STAGING.
    
    This is now wrong because st_ReadPixels() reads into a destination
    texture that is marked with PIPE_USAGE_STAGING. Therefore, even if
    the texture is rendered correctly to the monitor, when reading it
    back we get unswapped/wrong values.
    
    This patch makes the check_rgba() function in gl-1.0-readpixsanity
    piglit test pass in big-endian.
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 914d4967d723c58ec073eef677237798c2dc9751)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ad8541963e038816a6b3b0abe36add4509d23fe
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Wed Mar 2 21:11:49 2016 +0200

    r600g: Do colorformat endian swap for PIPE_USAGE_STAGING
    
    There is an old if statement (dated to 2011) that prevented doing
    endian swap for colorformat, in case the buffer is marked
    as PIPE_USAGE_STAGING.
    
    This is now wrong because st_ReadPixels() reads into a destination
    texture that is marked with PIPE_USAGE_STAGING. Therefore, even if
    the texture is rendered correctly to the monitor, when reading it
    back we get unswapped/wrong values.
    
    This patch makes the check_rgba() function in gl-1.0-readpixsanity
    piglit test pass in big-endian.
    
    v2: removed duplicate call to r600_colorformat_endian_swap() inside
    evergreen_init_color_surface_rat()
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit ef5183faea98dfdaa1ca0c7368c4678a031dd804)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eadc1b61342a8ecaa6f9e3b7826c136d05b06a10
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Feb 29 17:16:10 2016 +1000

    mesa/fbobject: propogate Layered when reusing attachments.
    
    When reusing a depth attachment as a stencil, we need to propogate
    the layered bit, otherwise we fail to complete the framebuffer.
    
    discovered running ./bin/fbo-depth-array depth-layered-clear
    on virgl on haswell.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 35859d5bbba998aa41ec87bc53d946add4662dea)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a1bc9dcf3738901a3862649c34014536da43a2e
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Fri Feb 12 22:11:05 2016 +0100

    virtio_gpu: Add virtio 1.0 PCI ID to driver map
    
    Add the virtio-gpu PCI ID for virtio 1.0 (according to the
    specification, "the PCI Device ID is calculated by adding 0x1040 to the
    Virtio Device ID")
    
    Support for virtio 1.0 was added in qemu 2.4 (same time virtio-gpu
    landed).
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit f1d12e7392896f45a76df87b6ad0bf18647922df)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a399fccf4ab1699c2067b36ce6acb61960b0bd4
Author: Rob Herring <robh at kernel.org>
Date:   Thu Dec 17 09:45:49 2015 -0600

    virtio_gpu: Add PCI ID to driver map
    
    Add the virtio-gpu PCI ID so the driver probing works.
    
    Signed-off-by: Rob Herring <robh at kernel.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 657dc4f533831f51e18892c2bba0bfccf9abcf98)
    Nominated-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8dd18dce645e400233b2cc3beab8bf313189740
Author: Koop Mast <kwm at rainbow-runner.nl>
Date:   Mon Dec 28 20:26:48 2015 +0100

    st/clover: Add libelf cflags to the build
    
    Otherwise the build will fail, when the library is in a non default
    location.
    
    v2 [Emil Velikov]
     - drop the unneeded cflags from targets/opencl.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Fixes: 7f585a6a98d "configure.ac: use pkg-config for libelf"
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93524
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 04bc09fdf9e353fbb1303635236da551785373c9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15bc51572e9ef25e85088446bde3e7dd9580cba2
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Sep 2 17:36:22 2015 +0100

    mesa; add get-extra-pick-list.sh script into bin/
    
    This is a very rudimentary script that checks if any of the applied
    cherry-picks have been referenced (fixed?) by another patch. With the
    latter either missing the stable tag or hasn't yet been picked.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    (cherry picked from commit c212a70cd9d5f5731841e4194c57e8a77e0b4e41)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3db8c9417b42f5b4f9dc16e6b1f683c63396a36b
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 25 15:20:04 2016 +0000

    automake: add more missing options for make distcheck
    
    Namely - opencl, osmesa (only the gallium flavour as it conflicts with
    the classic one), surfaceless egl platform and a couple gallium drivers
    (virgl and vc4).
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 325bc6fb4a045b4643f284a6b76c336e418064c2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b21e484b8f8169fd35c979863cec751c6814c646
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 25 16:53:06 2016 +0000

    install-gallium-links: port changes from install-lib-links
    
    Namely:
    b662d5282f7 mesa: Add clean-local rule to remove .lib links.
    5c1aac17adf install-lib-links: don't depend on .libs directory
    fece147be53 install-lib-links: remove the .install-lib-links file
    
    With these in place, make distcheck now passes and a race condition has
    been avoided.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 0b6157e9713c662a6635fc0d79a393d95550c4ad)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adabc628e29d69371138b31278fdc9d1ff3f0f3a
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:31 2016 -0600

    r600: Make enum alu_op_flags unsigned
    
    In builds with clang, there are several errors related to the enum
    alu_op_flags like this:
    
    src/gallium/drivers/r600/sb/sb_expr.cpp:887:8:
    error: case value evaluates to -1610612736, which cannot be narrowed to
    type 'unsigned int' [-Wc++11-narrowing]
    
    These are due to the MSB being set in the enum. Fix these errors by
    making the enum values unsigned as needed. The flags field that stores
    this enum also needs to be unsigned.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Cc: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit 51b22bd46888c972eb8c80ee5524d94f6f0b8996)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bd66f858841ff0ab70ffd4c1a8c9bc1f5dbe475
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:30 2016 -0600

    gallium/radeon: Add space between string literal and identifier
    
    Fix compiles with clang that have this C++11 error:
    
    src/gallium/drivers/radeon/r600_pipe_common.h:662:34:
    error: invalid suffix on literal; C++11 requires a space between literal
    and identifier [-Wreserved-user-defined-literal]
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Cc: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (cherry picked from commit 92dd38df5a25ca57a23500576169b190be3b26cb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=029abaa1cbd6942ae04cecf31e2d0ac71c3596dc
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:29 2016 -0600

    freedreno: drop unnecessary -Wno-packed-bitfield-compat
    
    Enabling this warning doesn't generate any warnings with gcc, but is an
    unknown option for clang, so drop it.
    
    Signed-off-by: Rob Herring <robh at kernel.org>
    Acked-by: Rob Clark <robdclark at gmail.com> (v1)
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    v2: keep the warning around, commented out
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 0156a33aa39db6ebe15666fce8f1e073cb737b34)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d9d25a71e7d5062f9003780028370b2ef86d0cc
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:28 2016 -0600

    Android: clean-up and fix DRI module path handling
    
    MESA_DRI_MODULE_PATH is only getting set for classic DRI drivers and may or
    may not be set correctly for gallium_dri.so depending on the makefile
    include ordering. For Android 6 and earlier it is fine, but with build
    system changes in AOSP master, it is not.
    
    Move the path variables to a single place at the top level and introduce
    MESA_DRI_MODULE_REL_PATH for Android 5 and later which require relative
    paths. With this, there is a single variable to change.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 8949edf01863ade9c87a02e1256bba083f14317a)
    [Emil Velikov: resolve trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/egl/Android.mk

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c95a045980a282fe267d2027fa0e8d461177b65d
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:27 2016 -0600

    Android: remove headers from LOCAL_SRC_FILES
    
    The Android build system now spits out warnings for header files listed in
    LOCAL_SRC_FILES, so strip them out.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 0663edf85b8e055dfecf290afab1a15c68da961a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89e92ef5b5171b717d42b7c1e4c236a05e72c2a9
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:26 2016 -0600

    Android: add -Wno-date-time flag for clang
    
    clang complains about date/time macros:
    
    src/mesa/main/context.c:403:25: error: expansion of date or time macro is not reproducible [-Werror,-Wdate-time]
    
    Disable this warning.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 6dae9176d60d12de61aa03906c44f81e20ef7622)
    [Emil Velikov: resolve trivial conflict]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        Android.common.mk

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37e712795ad3d1dc2098f11c3325768d51bce91a
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:25 2016 -0600

    Android: glsl: fix dependence on YACC_HEADER_SUFFIX from build system
    
    The makefile was implicitly picking up YACC_HEADER_SUFFIX from the Android
    build system, but this variable is now gone. Add it locally to fix the
    build with AOSP master.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit a2f16db19b18bcb0e00702b17adc84483c17c590)
    [Emil Velikov: the path differs s|src/compiler|src| ]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/compiler/glsl/Android.gen.mk

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f1b0c3200c83ff13c83d62bcf3fe2d40b36ca1c
Author: Rob Herring <robh at kernel.org>
Date:   Wed Feb 24 12:56:24 2016 -0600

    Android: remove dependence on .SECONDEXPANSION
    
    With the Android build system changes to ninja/kati, the use of
    .SECONDEXPANSION is no longer supported. Fix this by avoiding rule specific
    variables and using $(transform-generated-source).
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Rob Herring <robh at kernel.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 794221fbb7e9ecdd67cb209237c6f0f2c80e7a71)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cafcf5d24844e75aea54abb1d5530d620cc56a8
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Thu Feb 25 22:36:38 2016 +0200

    gallium/radeon: disable evergreen_do_fast_color_clear for BE
    
    This function is currently broken for BE. I assume it's because of
    util_pack_color(). Until I fix this path, I prefer to disable it so users
    would be able to see correct colors on their desktop and applications.
    
    Together with the two following patches:
    - gallium/r600: Don't let h/w do endian swap for colorformat
    - gallium/radeon: remove separate BE path in r600_translate_colorswap
    
    it fixes BZ#72877 and BZ#92039
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit a640ad15e1fff3eb51f42bf30c31eafe02a921e2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f401ea5f69e8a6142b8d854bead0e3914832e1d
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Thu Feb 25 23:09:18 2016 +0200

    gallium/r600: Don't let h/w do endian swap for colorformat
    
    Since the rework on gallium pipe formats, there is no more need to do
    endian swap of the colorformat in the h/w, because the conversion between
    mesa format and gallium (pipe) format takes endianess into account (see
    the big #if in p_format.h).
    
    v2: return ENDIAN_NONE only for four 8-bits components
    (V_0280A0_COLOR_8_8_8_8)
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit e3dfc0e095bba74aaaea4d6f994c29fdf954cbad)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c786f890cdf234c9113613e744f555274609e924
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Thu Feb 25 22:35:00 2016 +0200

    gallium/radeon: remove separate BE path in r600_translate_colorswap
    
    After further testing, it appears there is no need for
    separate BE path in r600_translate_colorswap()
    
    The only fix remaining is the change of the last if statement, in the 4
    channels case. Originally, it contained an invalid swizzle configuration
    that never got hit, in LE or BE. So the fix is relevant for both systems.
    
    This patch adds an additional 120 available visuals for LE and BE,
    as seen in glxinfo
    
    v2:
    Tested for regressions by running piglit gpu.py with CAICOS (r600g) on
    x86-64 machine. No regressions found.
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 9559071ed602e62c3619b8b8b02ac7e47a7eff8c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ac357a3387c3684f5374772b73a72b945e979d6
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Feb 27 15:30:34 2016 -0500

    nv50,nvc0: bump minimum texture buffer offset alignment
    
    It appears that it actually needs to be aligned to the datum size, so it
    was 1 when testing with R8, but it can be as high as 16 with RGBA32.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit aa3b85fd18d32a49f2e0051ef434d6c16d4a5d18)
    [Emil Velikov: squash trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/gallium/drivers/nouveau/nv50/nv50_screen.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bee3d391ec5a7bbd96c9c25c5db410db567a5680
Author: Derek Foreman <derekf at osg.samsung.com>
Date:   Tue Feb 16 10:34:39 2016 -0600

    egl/wayland: Try to use wl_surface.damage_buffer for SwapBuffersWithDamage
    
    Since commit d1314de293e9e4a63c35f094c3893aaaed8580b4 we ignore
    damage passed to SwapBuffersWithDamage.
    
    Wayland 1.10 now has functionality that allows us to properly
    process those damage rectangles, and a way to query if it's
    available.
    
    Now we can use wl_surface.damage_buffer and interpret the incoming
    damage as being in buffer co-ordinates.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
    Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
    (cherry picked from commit d085a5dff5bf753b82228ef0827f2331aff7b35b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=496ab03cb50d2d0a4862b7ae02a913095122ef78
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 25 15:12:49 2016 +0000

    automake: add nine to make distcheck
    
    Will allow us to catch/prevent issues, like the one in mesa 11.2.0-rc1.
    
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 51c65a4c48733da4bc551c657b14314242ff0c4b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82b564812c187b0750d97cf8fa937409786f9ca4
Author: Matt Turner <mattst88 at gmail.com>
Date:   Mon Feb 22 10:25:38 2016 -0800

    i965/fs: Don't CSE negated multiplies with saturation.
    
    It's not correct to CSE these multiplies
    
       mul.sat dst1, -a, b
       mul.sat dst2,  a, b
    
    by emitting a negated MOV from dst1 to dst2:
    
       mul.sat dst1, -a, b
       mov     dst2, -dst1
    
    Take 2.0*2.0 for example. The first multiply would produce 0.0 and the
    second would produce 1.0.
    
    Fixes bad generated code in 18 to 22 shaders:
    
    instructions in affected programs: 432 -> 464 (7.41%)
    helped: 4
    HURT: 18
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 1567da1e2820d4c1a6c14f4598ad3addba6bc788)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcad8356a46b20910c02a9427cdc8e27da824757
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Wed Feb 24 14:43:28 2016 +0200

    gallium/radeon: return correct values for BE in r600_translate_colorswap
    
    Because I changed the swizzle check, I also need to adapt the return
    values for each check.
    
    It's basically almost the same as before, we just cross between STD and
    STD_REV, and cross between ALT and ALT_REV
    
    This fixes the rgba test in gl-1.0-readpixsanity (piglit) and also
    fixes tri-flat (mesa demos).
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 439b5b008fc7b4fd694fbb52cfcdeaec945143ad)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a4299a7f6043718d0d70c850b131c365da19cd1
Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Tue Nov 18 21:49:53 2014 +1300

    i965/blorp: Fix hiz ops on MSAA surfaces
    
    Two things were broken here:
    - The depth/stencil surface dimensions were broken for MSAA.
    - Sample count was programmed incorrectly.
    
    Result was the depth resolve didn't work correctly on MSAA surfaces, and
    so sampling the surface later produced garbage.
    
    Fixes the new piglit test arb_texture_multisample-sample-depth, and
    various artifacts in 'tesseract' with msaa=4 glineardepth=0.
    
    Fixes freedesktop bug #76396.
    
    Not observed any piglit regressions on Haswell.
    
    v2: Just set brw_hiz_op_params::dst.num_samples rather than adding a
        helper function (Ken).
    
    Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
    
    v3: moved the alignment needed for hiz+msaa to brw_blorp.cpp, as
        suggested by Chad Versace (Alejandro Piñeiro on behalf of Chris
        Forbes)
    
    Signed-off-by: Alejandro Piñeiro <apinheiro at igalia.com>
    
    Reviewed-by: Ben Widawsky <benjamin.widawsky at intel.com>
    
    Tested-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    (cherry picked from commit 43d23e879c797fa9b6cbbae15e101f2a3ee64751)
    Nominated-by: Ben Widawsky <benjamin.widawsky at intel.com> (over IRC)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fed1d299d8da48da9e6ab6e5de73991db2cf605
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Jan 19 10:07:04 2016 -0500

    glx: update to updated version of EXT_create_context_es2_profile
    
    The EXT spec has been updated to:
     - logically combine the es2_profile and es_profile exts
     - allow any legal version to be requested
    
    dEQP tests request a specific ES version when using GLX, so this allows
    dEQP upstream to run against GLX with the appropriate X server patch
    (which had similar disabling logic).
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Matt Turner <mattst88 at gmail.com> (v1)
    Reviewed-by: Adam Jackson <ajax at redhat.com> (v3)
    
    v1 -> v2:
     - distinguish between DRI_API_GLES{,2,3}
     - add GLX_EXT_create_context_es_profile client-side support
    v2 -> v3:
     - fix error in computing mask
    
    (cherry picked from commit 5ac7f0433b17acc6587b87ce25adb6975c04eb27)
    Nominated-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebf97bc6379cb1ab9d9cd4538f1175eaeba60db7
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Sun Jan 17 22:15:40 2016 +0200

    llvmpipe: use vpkswss when dst is signed
    
    This patch fixes a bug when building a pack instruction.
    
    For POWER (altivec), in case the destination is signed and the
    src width is 32, we need to use vpkswss. The original code used vpkuwus,
    which emits an unsigned result.
    
    This fixes the following piglit tests on ppc64le:
    - spec at arb_color_buffer_float@gl_rgba8-drawpixels
    - shaders at glsl-fs-fogscale
    
    I've also corrected some coding style issues in the function.
    
    v2: Returned else statements to vmware style
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit 679a654a77f392cc9f8e2b51222b277bd1783ae5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df5ed526413195e832fcc57618ecd90c9a0468ca
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date:   Tue Feb 23 16:33:45 2016 +0200

    gallium/radeon: Correctly translate colorswaps for big endian
    
    The current code in r600_translate_colorswap uses the swizzle information
    to determine which colorswap to use.
    
    This works for BE & LE when the nr_channels is <4, but when nr_channels==4
    (e.g. PIPE_FORMAT_A8R8G8B8_UNORM), this method can not be used for both BE
    and LE, because the swizzle info is the same for both of them.
    
    As a result, r600g doesn't support 24bit color formats, only 16bit, which
    forces the user to choose 16bit color in X server.
    
    This patch fixes this bug by separating the checks for LE and BE and
    adapting the swizzle conditions in the BE part of the checks.
    
    Tested on an Evergreen GPU (Cedar GL FirePro 2270) running inside POWER7
    Big-Endian Machine.
    
    Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
    CC: "11.2" "11.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit 4b7e219e616f64281a83c88319dc7c386809b9ec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cefb7c44ca763b1d5ebf75a51ad38f1a16469834
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Apr 11 20:06:46 2016 +0100

    cherry-ignore: do not pick nv50/ir commit
    
    As requested by Ilia on the mesa-stable ML.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6847733bb4f93faa2c38b069249bb792cc461edd
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Apr 11 21:01:44 2016 +0100

    get-pick-list.sh: Require explicit "11.1" for nominating stable patches
    
    A nomination unadorned with a specific version is now interpreted as
    being aimed at the 11.1 branch, which was recently opened.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a85e5044c52c83945e5d5b6638f81789cdcf3701
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Feb 17 08:17:35 2016 -0500

    st/mesa: force depth mode to GL_RED for sized depth/stencil formats
    
    See commit 9db2098d for the i965 version of this.
    
    This fixes depth in a bunch of dEQP EXT_texture_border_clamp tests. And
    probably other ones as well.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 0b10ec1086d90de45ca2fab7b7b212508f50d1aa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c9e9e1f0059ce3ad954e40637dd365fe962d428
Author: Daniel Czarnowski <daniel.czarnowski at intel.com>
Date:   Mon Feb 15 09:31:09 2016 +0200

    egl_dri2: set correct error code if swapbuffers fails
    
    A return value of '-1' means that there was error during swap with a
    window drawable, in this case we set error as EGL_BAD_NATIVE_WINDOW.
    
    v2: coding style cleanup, better commit message
    
    Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit e6f1a44d1407f3318d86ca1bcbc26c3479632e63)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46870271974c7cebe5650322f1222711c6e051b7
Author: Dongwon Kim <dongwon.kim at intel.com>
Date:   Tue Feb 2 15:06:28 2016 -0800

    egl: move Null check to eglGetSyncAttribKHR to prevent Segfault
    
    Null-check on "*value" is currently done in _eglGetSyncAttrib, which is
    after eglGetSyncAttribKHR dereferences it.
    
    Move the check a layer up (in the beginning of eglGetSyncAttribKHR) to
    avoid segfaults.
    
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
    Signed-off-by: Dongwon Kim <dongwon.kim at intel.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    [Emil Velikov: tweak commit message, add stable tag]
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    
    (cherry picked from commit d1e1563bb63f08cdfec1b40b105bec7f343bc0b8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=161a0a9784018ebacbc1788b9a659441e725de15
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Feb 17 12:28:04 2016 -0500

    meta/copy_image: use precomputed dst_internal_format to avoid segfault
    
    If the destination is a renderbuffer, dst_tex_image will be NULL. This
    fixes the *to_renderbuffer dEQP copy image tests.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit b697400a97d3137ff87560ebd2c41207b98cd61a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a7097a17e4c60d5c6e4c4a9866445015ed9a762
Author: Ben Widawsky <benjamin.widawsky at intel.com>
Date:   Tue Feb 16 15:10:24 2016 -0800

    i965/skl: Add two missing device IDs
    
    The Iris part is left unbranded because we did not have these with original SKL.
    
    v2: 0x192d is gt3, not gt4
    
    v3: Forgot to update the temporary brand string when I did v2.
    
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
    Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
    Acked-by: Michał Winiarski <michal.winiarski at intel.com>
    (cherry picked from commit 644c8a515192d28663823b49d95543ae4028e19e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d54a6582efdbc7592d1b337ccadddda76de67bc
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Feb 16 02:12:29 2016 -0500

    st/mesa: fix up result_src.type when doing i2u/u2i conversions
    
    Even though it's a no-op, it's important to keep track of the type so
    that we can pick the properly-signed op later on.
    
    This fixes dEQP-GLES3.functional.shaders.precision.uint.highp_div_fragment,
    which ended up using IDIV instead of UDIV.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 49c67926c7a74440ef91674fa0a4595bfa179dd5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df41d912fbd1c356a2a59d9f2ba25b649a29edc3
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Feb 16 02:26:54 2016 -0500

    nv50/ir: fix quadop emission in the presence of predication
    
    When there's a predicate, it just goes onto the sources list. If the
    quadop only has a single regular source, we will end up thinking that
    the predicate is the second source. Check explicitly for the predSrc so
    that we don't accidentally emit the wrong thing.
    
    This fixes a bunch of dEQP-GLES3.functional.shaders.derivate.* tests.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit ca23c8081f1f9f709df7a63b9e6de379c0b8df44)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac887fee2a679d0641409ac073c0edfd8cf20561
Author: Daniel Czarnowski <daniel.czarnowski at intel.com>
Date:   Thu Feb 11 14:03:58 2016 +0200

    egl_dri2: NULL check for xcb_dri2_get_buffers_reply()
    
    Without the check, unsuccessful xcb_dri2_get_buffers_reply(...) causes
    segmentation fault in dri2_get_buffers.
    
    Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
    (cherry picked from commit 5d87a7c894d8327491be804fee8005fadfaeb3f1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=374ba5d8553e1a482e706e175c89abecff235e19
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed Feb 10 16:42:19 2016 -0800

    llvmpipe: Do not use barriers if not using threads.
    
    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94088
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit 4ed4c1d9210b11ce6faea81455c21531904ea45b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1dac9218e7e216b561cfd780ad313bd0bd4bc2e
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Feb 11 20:17:15 2016 -0800

    i965: Reupload push and pull constants when we get new shader image unit state.
    
    Fixes several of the
    "dEQP-GLES31.functional.image_load_store*load_store*single_layer" dEQP
    tests that use image formats we implement using untyped surface
    messages.
    
    Cc: mesa-stable at lists.freedesktop.org
    Tested-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 9e30d66b7c9e7428ad15b6274694a7a1ceee68ae)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c58258558fc5a922483915b4c32d76edbbd82ed5
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Feb 10 12:07:49 2016 -0800

    nir/lower_vec_to_movs: Better report channels handled by insert_mov
    
    This fixes two issues.  First, we had a use-after-free in the case where
    the instruction got deleted and we tried to return mov->dest.write_mask.
    Second, in the case where we are doing a self-mov of a register, we delete
    those channels that are moved to themselves from the write-mask.  This
    means that those channels aren't reported as being handled even though they
    are.  We now stash off the write-mask before remove unneeded channels so
    that they still get reported as handled.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94073
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 70dff4a55e767de8b9ce10f055b94ebb1f6a9755)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b9437c7012c33de6b207add677915f8837b973f
Author: Ben Widawsky <benjamin.widawsky at intel.com>
Date:   Sat Feb 6 18:11:21 2016 -0800

    i965: Make sure we blit a full compressed block
    
    This fixes an assertion failure in [at least] one of the Unreal Engine Linux
    demo/games that uses DXT1 compression. Specifically, the "Vehicle Game".
    
    At some point, the game ends up trying to blit mip level whose size is 2x2,
    which is smaller than a DXT1 block. As a result, the assertion in the blit path
    is triggered. It should be safe to simply make sure we align the width and
    height, which is sadly an example of compression being less efficient.
    
    NOTE: The demo seems to work fine without the assert, and therefore release
    builds of mesa wouldn't stumble over this. Perhaps there is some unnoticeable
    corruption, but I had trouble spotting it.
    
    Thanks to Jason for looking at my backtrace and figuring out what was going on.
    
    v2: Use NPOT alignment to make sure ASTC is handled properly (Ilia)
    Remove comment about how this doesn't fix other bugs, because it does.
    
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93358
    Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
    Tested-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
    (cherry picked from commit 088280e022bca10c3712dfa6f8e0ff343a37ce77)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16958f7171b462034f3e6a9e1807d9fa9d9dea36
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Fri Feb 5 16:21:33 2016 -0800

    mesa/readpix: Clip ReadPixels() area to the ReadBuffer's
    
    The fast path for Intel's ReadPixels() unintentionally omits clipping
    the specified area to a valid one. Rather than clip in various
    corner-cases, perform this operation in the API validation stage.
    
    The bug in intel_readpixels_tiled_memcpy() showed itself when the winsys
    ReadBuffer's height was smaller than the one specified by ReadPixels().
    yoffset became negative, which was an invalid input for tiled_to_linear().
    
    v2: Move clipping to validation stage (Jason)
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92193
    Reported-by: Marta Löfstedt <marta.lofstedt at intel.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 605832736a6d9427ad894d403cceeb74a5b18dc1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=729a8c528d1a2af1c7fdfebfb2a1abb296b6dc4d
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Fri Feb 5 16:20:01 2016 -0800

    mesa/image: Make _mesa_clip_readpixels() work with renderbuffers
    
    v2: Use gl_renderbuffer::{Width,Height} (Jason)
    
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit 55d56d34e0535baa2c7e1e1d8f1be11593a07fa8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b09d082e8195984f6c3499fb6a2e2f3d7d9c6140
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 9 09:58:39 2016 -0700

    mesa: fix incorrect viewport position when GL_CLIP_ORIGIN = GL_LOWER_LEFT
    
    Ilia Mirkin found/fixed the mistake.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93813
    Cc: "11.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit fe14110f359b0665cb0c09aa14f13a5ebb33b1bc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd886e8ac33920b21093b345893ab3986c56ca92
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Feb 6 17:08:29 2016 -0500

    glsl: return cloned signature, not the builtin one
    
    The builtin data can get released with a glReleaseShaderCompiler call.
    We're careful everywhere to clone everything that comes out of builtins
    except here, where we accidentally return the signature belonging to the
    builtin version, rather than the locally-cloned one.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    Tested-by: Rob Herring <robh at kernel.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 88519c60873e6a5d67fc1fc09b125e4fe2fa3aee)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=777ba349cd9c6ddd135f04c83693e727d8c16197
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Feb 6 17:07:59 2016 -0500

    glsl: make sure builtins are initialized before getting the shader
    
    The builtin function shader is part of the builtin state, released
    when glReleaseShaderCompiler is called. We must ensure that the
    builtins have been (re)initialized before attempting to link with the
    builtin shader.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
    Tested-by: Rob Herring <robh at kernel.org>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit ac57577e29643a59a33a7c2b01def2e297db3448)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e103fe53fdd2b2030462cb981fdda040af390bb
Author: Matt Turner <mattst88 at gmail.com>
Date:   Sun Jan 17 20:30:14 2016 -0500

    i965/vec4: don't copy ATTR into 3src instructions with complex swizzles
    
    The vec4 backend, at the end, does this:
    
        if (inst->is_3src()) {
           for (int i = 0; i < 3; i++) {
              if (inst->src[i].vstride == BRW_VERTICAL_STRIDE_0)
                 assert(brw_is_single_value_swizzle(inst->src[i].swizzle));
    
    So make sure that we use the same conditions when trying to
    copy-propagate. UNIFORMs will be converted to vstride 0 in
    convert_to_hw_regs, but so will ATTRs when interleaved (as will happen
    in a GS with multiple attributes). Since the vstride is not set at
    copy-prop time, infer it by inspecting dispatch_mode and reject ATTRs if
    they have non-scalar swizzles and are interleaved.
    
    Fixes assertion errors in dolphin-generated geometry shaders (or
    misrendering on opt builds) on Sandybridge or on IVB/HSW with
    INTEL_DEBUG=nodualobj.
    
    Co-authored-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93418
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit 9f2e22bf343b21d6b44e6a502f00a86d169f5ade)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44e5f03edb8eadb422cb9db087dc12ad5d94483e
Author: Steinar H. Gunderson <sesse at google.com>
Date:   Tue Feb 2 01:16:51 2016 +0100

    mesa: Fix locking of GLsync objects.
    
    GLsync objects had a race condition when used from multiple threads
    (which is the main point of the extension, really); it could be
    validated as a sync object at the beginning of the function, and then
    deleted by another thread before use, causing crashes. Fix this by
    changing all casts from GLsync to struct gl_sync_object to a new
    function _mesa_get_and_ref_sync() that validates and increases
    the refcount.
    
    In a similar vein, validation itself uses _mesa_set_search(), which
    requires synchronization -- it was called without a mutex held, causing
    spurious error returns and other issues. Since _mesa_get_and_ref_sync()
    now takes the shared context mutex, this problem is also resolved.
    
    Fixes bug #92757, found while developing Nageru, my live video mixer
    (due for release at FOSDEM 2016).
    
    v2: Marek: silence warnings, fix declaration after code
    
    Signed-off-by: Steinar H. Gunderson <sesse at google.com>
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit feb53912f8d8c29594a9fdff914d78bb36d6d56b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed14107645798aafc2b8c10c6adc3b51643cc7fc
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Feb 5 00:47:03 2016 -0500

    nvc0: avoid negatives in PUSH_SPACE argument
    
    Fixup to commit 03b3eb90d - the number of buffers could be larger than
    the number of elements, in which case we'd pass a negative argument to
    PUSH_SPACE, which would be bad. While we're at it, merge it with the
    other PUSH_SPACE at the top of the function.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 2065e380b2edafd6e38aa5bb0ff222dc1f6f5ad8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9427c7e8972e08e23272a3956c230d57ee417d1d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Feb 5 00:36:03 2016 -0500

    nvc0: add some missing PUSH_SPACE's
    
    nvc0_vbo has explicit push space checking enabled, so we must run
    PUSH_SPACE by hand. A few spots missed that.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 03b3eb90d7e0ca90a75eda97eefa8c99aacdf4d9)
    [Emil Velikov: resolve trivial conflicts]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    
    Conflicts:
        src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88615b66ed1ee97bb45480401489ab1d144ff9ef
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Feb 4 22:58:48 2016 -0500

    nvc0/ir: fix converting between predicate and gpr
    
    The spill logic will insert convert ops when moving between files. It
    seems like the emission logic wasn't quite ready for these converts.
    
    Tested on fermi, and visually looked at nvdisasm output for maxwell.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    (cherry picked from commit 1a0fde1f52c59e0dbada03f387c8e25d9475ebbe)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2dd9b49f0c01f0c2005e504fff496b5f5433ccf
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Jan 28 01:35:52 2016 +0100

    radeonsi: fix Hyper-Z on Stoney
    
    Cc: 11.0 11.1 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 8ec24678ac0f459af4acb4b40a70d7802906e41a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27fa53c6d0163c74dca32d405c599a3568fa197f
Author: Patrick Baggett <baggett.patrick at gmail.com>
Date:   Thu Feb 4 08:05:54 2016 +1100

    mesa: Use SSE prefetch instructions rather than 3DNow instructions
    
    64-bit Pentium 4 CPUs don't have the 3DNow prefetch instructions
    which results in an Illegal instruction crash.
    
    Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Tested-by: Timothy Arceri <t_arceri at yahoo.com.au>
    https://bugs.freedesktop.org/show_bug.cgi?id=27512
    (cherry picked from commit 9c78cfd547a69f6f45d7acaa8ade681640caee95)




More information about the mesa-commit mailing list