Mesa (17.0): 29 new commits

Andres Gomez tanty at kemper.freedesktop.org
Fri May 12 18:55:21 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da3f28df63bbbc59ae63f37f54197d065c36c0b3
Author: Andres Gomez <agomez at igalia.com>
Date:   Thu May 11 00:06:18 2017 +0300

    cherry-ignore: rejected commits
    
    stable: rejected commits.
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca413183e3d0fd2edbac18a9450ef2f4cf46bcf8
Author: Andres Gomez <agomez at igalia.com>
Date:   Thu May 11 00:03:15 2017 +0300

    cherry-ignore: fix regression in descriptor set freeing.
    
    fixes: Fixes earlier commit 126d5ad which did not land in branch
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33f4dc1caf67ed565b06add690a71ea7159cac4f
Author: Andres Gomez <agomez at igalia.com>
Date:   Thu May 11 00:02:04 2017 +0300

    cherry-ignore: 17.1 nominations only
    
    stable: 17.1 nominations only.
    
    Signed-off-by: Andres Gomez <agomez at igalia.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaddabb6973ab1988cb0582c7af2035e9be220a8
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri May 5 17:05:05 2017 +0200

    radeonsi: apply the tess+GS hang workaround to Polaris12 as well
    
    Cc: 17.1 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit ee5908396e4b0d4be64d8bc486d25c2e95b7fd71)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/gallium/drivers/radeonsi/si_state_draw.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c9734a13d201cf00441f02bf21756704bdee09f
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri May 5 10:27:33 2017 +1000

    radv: enable POLARIS12 support.
    
    This just adds the chip in the right places.
    
    We don't set the partial_vs_wave workaround, as radeonsi
    doesn't, but have to confirm it's not required.
    
    Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit a096d8d3f7a8c6dffc91b2ac1794fdd215c054d3)
    [Andres Gomez: dropped code that didn't make it for 17.0]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/amd/vulkan/radv_device.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dea3a38bd744ac3c9e0c77c2cad99112d96fda3
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Wed May 3 11:26:27 2017 +0200

    radeonsi: fix gl_PrimitiveID in tessellation with instanced draws on SI
    
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    (cherry picked from commit f16b7558632d1d2d355a8251e969b8fc41f9c1e8)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f01462c08c3a482e0d1d03511aeccef9acb76df1
Author: Rob Clark <robdclark at gmail.com>
Date:   Sat May 6 14:00:35 2017 -0400

    freedreno/a3xx: fix hang w/ large render targets and small gmem
    
    Possibly other gen's have a similar limit.  Fixes glmark2 -b shadow
    with larger resolutions on devices with small gmem (for example,
    fullscreen 1080p on 8x16/db410c).
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Rob Clark <robdclark at gmail.com>
    (cherry picked from commit 6050d5bf3d8d0043386de35cad4efa77e8be957e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=576236f3f28eb627711d1050dade0074a53b1487
Author: Ben Boeckel <mathstuf at gmail.com>
Date:   Thu Apr 27 16:31:48 2017 -0400

    scons: update for LLVM 4.0
    
    LLVMDemangle, LLVMGlobalISel, and LLVMDebugInfoMSF are new.
    
    Also update the comment to add irreader to the list of components.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Chuck Atkins <chuck.atkins at kitware.com>
    Signed-off-by: Ben Boeckel <ben.boeckel at kitware.com>
    Acked-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    (cherry picked from commit 58f51f0754d736e76248e075bd25424ff4b64b46)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd10f220cf5c2bbc5bc0ce67e25019a247f150fb
Author: Johnson Lin <johnson.lin at intel.com>
Date:   Thu May 4 14:37:52 2017 +0800

    nir/lower_tex: Fix minor error in YUV color conversion matrix
    
    The matrix used for YCbCr to RGB is listed in:
    
        https://en.wikipedia.org/wiki/YCbCr
    
    There was an error in converting the offsets from integers to unorm
    values: 0.0625=16/256 should be 16.0/255,and 0.5=128.0/256 should be
    128.0/255.  With this fix, the CSC result is bit aligned with wikipedia's
    conversion result and FFMPeg's result.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100854
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
    (cherry picked from commit a6fb943f3eb86ca501a7e7b8d4621ba215f91133)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9164fd427f1204956d313108467c63da3971c1b
Author: Chad Versace <chadversary at chromium.org>
Date:   Thu May 4 17:46:34 2017 -0700

    egl/android: Mark surface as lost when dequeueBuffer fails
    
    This ensures that future calls to eglSwapBuffers and eglMakeCurrent emit
    an error.
    
    This patch is part of a series for fixing
    android.hardware.camera2.cts.RobustnessTest#testAbandonRepeatingRequestSurface
    on Chrome OS x86 devices.
    
    Cc: mesa-stable at lists.freedesktop.org
    Cc: Tomasz Figa <tfiga at chromium.org>
    Cc: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Nicolas Boichat <drinkcat at chromium.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit e5eace586848511f4ceaffaa2d45131c31c45ae0)
    
    Squashed with commit:
    
    egl/android: Set EGLSurface.Lost to EGL_TRUE/EGL_FALSE
    
    Lost is an EGLBoolean, so we should assign it to EGL_TRUE/EGL_FALSE,
    not true/false.
    
    Fixes: e5eace58684 ("egl/android: Mark surface as lost when dequeueBuffer fails")
    Fixes: 0212db35040 ("egl/android: Cancel any outstanding ANativeBuffer in surface destructor")
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    (cherry picked from commit 63b12b0c77759a0244416cd1406c2bf50e7c01ec)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2548f73c0d1b5fc548212b527647b8b9932096ff
Author: Chad Versace <chadversary at chromium.org>
Date:   Thu May 4 17:46:33 2017 -0700

    egl/android: Cancel any outstanding ANativeBuffer in surface destructor
    
    That is, call ANativeWindow::cancelBuffer in droid_destroy_surface().
    
    This should prevent application deadlock when the app destroys the
    EGLSurface after EGL has acquired a buffer from SurfaceFlinger
    (ANativeWindow::dequeueBuffer) but before EGL has released it
    (ANativeWindow::enqueueBuffer).
    
    This patch is part of a series for fixing
    android.hardware.camera2.cts.RobustnessTest#testAbandonRepeatingRequestSurface
    on Chrome OS x86 devices.
    
    Cc: mesa-stable at lists.freedesktop.org
    Cc: Tomasz Figa <tfiga at chromium.org>
    Cc: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Nicolas Boichat <drinkcat at chromium.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 0212db350407e1331ff23f04136684cf2b7396cf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d231ed73c6b233a0ce4b525ee82918f550111955
Author: Chad Versace <chadversary at chromium.org>
Date:   Thu May 4 17:46:33 2017 -0700

    egl: Emit error when EGLSurface is lost
    
    Add a new bool, _EGLSurface::Lost, and check it in eglMakeCurrent and
    eglSwapBuffers. The EGL 1.5 spec says that those functions emit errors
    when the native surface is no longer valid.
    
    This patch just updates core EGL. No driver sets _EGLSurface::Lost yet.
    
    I discovered that Mesa failed to detect lost surfaces while debugging an
    Android CTS camera test,
    android.hardware.camera2.cts.RobustnessTest#testAbandonRepeatingRequestSurface.
    This patch doesn't fix the test though, though, because the test expects
    EGL_BAD_SURFACE when the surface becomes lost, and this patch actually
    complies with the EGL spec. If I interpreted the EGL spec correctly,
    EGL_BAD_NATIVE_WINDOW or EGL_BAD_CURRENT_SURFACE is the correct error.
    
    Cc: mesa-stable at lists.freedesktop.org
    Cc: Tomasz Figa <tfiga at chromium.org>
    Cc: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Nicolas Boichat <drinkcat at chromium.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 23c86c74cc450a23848b85cfe914376caede1cdf)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aed1f5026330e791895c1bd6890bcac55363c62d
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Apr 13 17:17:45 2017 +0100

    glx: glX_proto_send.py: use correct compile guard GLX_INDIRECT_RENDERING
    
    The code itself has nothing to do with shared glapi, thus having it
    behind GLX_SHARED_GLAPI is misleading. Use GLX_INDIRECT_RENDERING
    instead.
    
    The latter macro is set at global scope by the Autotools and Scons build
    systems.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 6177d60a374a3d48969fcb062ac1d82465850cb4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09e4f5a960483d716a5d844a4b0761c8c7a0fd1d
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Apr 13 19:36:56 2017 +0100

    mesa/dri: always link against shared glapi
    
    Analogous to previous commit. Check with the extensive commit
    description and bug report referenced.
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 51accecce7755be9b7eb1baadaec7e4b7d1011af)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c9a9ba98366f4bcc41589170876242583587fdf
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Apr 13 18:54:03 2017 +0100

    gallium/dri: always link against shared glapi
    
    In the early days of Xorg and Mesa we had multiple providers of the
    GLAPI. All of those were the ones responsible for dlopening the DRI
    module. Hence it was perfectly fine, and actually expected, for the DRI
    modules to have unresolved symbols.
    
    Since then we've moved the API to a separate shared library and no other
    libraries provide the symbols.
    
    Here comes the picky part:
    It's possible that one uses old Xorg (where libglx.so provides the
    GLAPI) and new Mesa (with DRI modules linking against libglapi.so).
    
    That should still work, since the the libglx.so symbols will take
    precedence over the libglapi.so ones.
    
    I've verified this while running 1.14 series Xorg alongside this (and
    next) patch.
    
    It may seem a bit fragile, but that's of reasonably OK since all of the
    affected Xorg versions have been EOL for years.
    
    The final one being the 1.14 series, which saw its final bug fix release
    1.14.7 in June 2014.
    
    To ensure that the binaries do not have unresolved symbols add
    -no-undefined and $(LD_NO_UNDEFINED), just like we do everywhere else
    throughout mesa.
    
    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98428
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    (cherry picked from commit 79a26b663acdffc3f21d6e37f3334495aed16ae5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2d6c6308fe2b6c0321f5843caaf1727f63f80e6
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed May 3 11:03:34 2017 -0400

    egl/platform/drm: Don't take display ownership until gbm is initialized
    
    If the gbm_create_device() call here actually did fail, any subsequent
    eglTerminate on the display would segfault.
    
    Cc: <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Signed-off-by: Adam Jackson <ajax at redhat.com>
    (cherry picked from commit f258815c7d4187fd83f6944943e78206a6cdc4cb)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2c24ad9b528b2e4ed3e322938b4638c3529678c
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Thu May 4 11:57:36 2017 +0200

    anv: vkBindImageMemory() should return VK_ERROR_OUT_OF_{HOST,DEVICE}_MEMORY on failure
    
    According to the spec we get VK_ERROR_OUT_OF_HOST_MEMORY or
    VK_ERROR_OUT_OF_DEVICE_MEMORY on vkBindImageMemory failure.
    
    Fixes returned value changed by b546c9d.
    
    Fixes: b546c9d ("anv: anv_gem_mmap() returns MAP_FAILED as mapping error")
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Cc: "17.0 17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    (cherry picked from commit 939b015736d5091faeabde4f5a373e6a1612c5ed)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce336813f8f1972c0320eb14cc48960701d5f5f2
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Wed May 3 08:02:21 2017 +0200

    anv: anv_gem_mmap() returns MAP_FAILED as mapping error
    
    Take it into account when checking if the mapping failed.
    
    v2:
    - Remove map == NULL and its related comment (Emil)
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    
    Fixes: 6f3e3c715a7 ("vk/allocator: Add a BO pool")
    Fixes: 9919a2d34de ("anv/image: Memset hiz surfaces to 0 when binding memory")
    Cc: "17.0 17.1" <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit b546c9d318731b988aa3d8c4e4735cdbb596cfbf)
    
    Squashed with commit:
    
    anv: fix anv_gem_mmap comment to not mention NULL
    
    The function cannot return NULL, update the comment accordingly.
    
    Fixes: b546c9d ("anv: anv_gem_mmap() returns MAP_FAILED as mapping error")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    (cherry picked from commit 9d2aa6e5067752efbc0acbd728bc0bde49aefb61)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cda9c9fb480526b0b531d2c72e6d39c2387c10d7
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date:   Tue May 2 22:06:53 2017 +0200

    etnaviv: add L8A8_UNORM texture format
    
    No piglit regressions.
    
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
    (cherry picked from commit a8007ed6872ce1e2cce7145585a4dd1cfd1cec62)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6351b97343af942d1b1083b9bbd441b98ebf4d4f
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue May 2 13:40:36 2017 +1000

    radv/wsi: report presentation error per image request
    
    This ports
    0fcb92c17dee681bd39c08ddf0abc358a27337c7
    anv: wsi: report presentation error per image request
    
    This fixes:
    dEQP-VK.wsi.xlib.incremental_present.scale_none.*
    
    Reviewed-by: Daniel Stone <daniels at collabora.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 09034aab64c7a6022a2c508658fead1442f08576)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/amd/vulkan/radv_wsi.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6017898cedd7bf5b54cc34928ab1ba92e5be2f9d
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Feb 27 17:31:05 2017 -0800

    anv/cmd_buffer: Use the device allocator for QueueSubmit
    
    The command is really operating on a Queue not a command buffer and the
    nearest object to that with an allocator is VkDevice.
    
    Reviewed-by: Chad Versace <chadversary at chromium.org>
    Cc: "17.0 17.1" <mesa-dev at lists.freedesktop.org>
    (cherry picked from commit bd3a9813b92bd2e116b58f0932bc7f1f722a9f63)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/intel/vulkan/anv_batch_chain.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23833ed201a74210d92697424e672b800d1ad539
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Tue Apr 25 12:28:18 2017 +0200

    i965/vec4: don't modify regioning parameters to the sources of DF align1 instructions
    
    The regioning parameters are now properly set by convert_to_hw_regs()
    and we don't need to fix them in the generator. That latter fix
    previously done in the generator was strictly speaking wrong for any
    non-identity regions.
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    (cherry picked from commit f57e234fdd52331d0aa6656a36efdebea9d11e9d)
    [Andres Gomez: resolve trivial conflicts]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/mesa/drivers/dri/i965/brw_vec4_generator.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b9d7ea7a3d941af048f97f85514643b02b4b43f
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Tue Apr 25 12:18:17 2017 +0200

    i965/vec4: fix register width for DF VGRF and UNIFORM
    
    On gen7, the swizzles used in DF align16 instructions works for element
    size of 32 bits, so we can address only 2 consecutive DFs. As we assumed that
    in the rest of the code and prepare the instructions for this (scalarize_df()),
    we need to set it to two again.
    
    However, for DF align1 instructions, a width of 2 is wrong as we are not
    reading the data we want. For example, an uniform would have a region of
    <0, 2, 1> so it would repeat the first 2 DFs, when we wanted to access
    to the first 4.
    
    This patch sets the default one to 4 and then modifies the width of
    align16 instruction's DF sources when we translate the logical swizzle
    to the physical one.
    
    v2:
    - Remove conditional (Curro).
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    (cherry picked from commit aaeb1c99beed39d85c300ebdb8a7bf056ee6717c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a013db9d1bb95f110e11aaa5e8d2e3cb488a6417
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date:   Wed Apr 26 10:12:03 2017 +0200

    i965/vec4: fix vertical stride to avoid breaking region parameter rule
    
    From IVB PRM, vol4, part3, "General Restrictions on Regioning
    Parameters":
    
      "If ExecSize = Width and HorzStride ≠ 0, VertStride must
       be set to Width * HorzStride."
    
    In next patch, we are going to modify the region parameter for
    uniforms and vgrf. For uniforms that are the source of
    DF align1 instructions, they will have <0, 4, 1> regioning and
    the execsize for those instructions will be 4, so they will break
    the regioning rule. This will be the same for VGRF sources where
    we use the vstride == 0 exploit.
    
    As we know we are not going to cross the GRF boundary with that
    execsize and parameters (not even with the exploit), we just fix
    the vstride here.
    
    v2:
    - Move is_align1_df() (Curro)
    - Refactor exec_size == width calculation (Curro)
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
    Cc: "17.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Francisco Jerez <currojerez at riseup.net>
    (cherry picked from commit 7f728bce811fc283e672e3a07b008bb7b52de35e)
    [Andres Gomez: use original is_align1_df]
    Signed-off-by: Andres Gomez <agomez at igalia.com>
    
    Conflicts:
    	src/mesa/drivers/dri/i965/brw_vec4.cpp

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31c66e85cc39cd24554f11bc09ae86346a02d51f
Author: Philipp Zabel <p.zabel at pengutronix.de>
Date:   Fri Apr 28 13:14:20 2017 +0200

    renderonly: use drmIoctl
    
    To restart interrupted system calls, use drmIoctl.
    
    Fixes: 848b49b288f ("gallium: add renderonly library")
    CC: <mesa-stable at lists.freedesktop.org>
    Suggested-by: Emil Velikov <emil.l.velikov at gmail.com>
    Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    (cherry picked from commit b539335e50b355854202c4b1b42aa4ddbe9289fa)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9eba1e92226495564257238b911d784d24058260
Author: Philipp Zabel <p.zabel at pengutronix.de>
Date:   Thu Apr 27 18:44:02 2017 +0200

    renderonly: drop resources on destroy
    
    The renderonly_scanout holds a reference on its prime pipe resource,
    which should be released when it is destroyed. If it was created by
    renderonly_create_kms_dumb_buffer_for_resource, the dumb BO also has
    to be destroyed.
    
    Fixes: 848b49b288f ("gallium: add renderonly library")
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    (cherry picked from commit cd8ee259c8e9b1c16b5c3214595b91eb31e7de19)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=937376e40a7a752fe34be666cc2ea6860168e632
Author: Philipp Zabel <p.zabel at pengutronix.de>
Date:   Thu Apr 27 18:44:01 2017 +0200

    renderonly: close transfer prime_fd
    
    prime_fd is only used to transfer the scanout buffer to the GPU inside
    renderonly_create_kms_dumb_buffer_for_resource. It should be closed
    immediately to avoid leaking the DMA-BUF file handle.
    
    Fixes: 848b49b288f ("gallium: add renderonly library")
    CC: <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
    (cherry picked from commit ab51cd2f26496500d52f6b2847291d884f711bc2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcd3c46827a5414e67abb21c7593832cffedf904
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Mar 8 15:20:31 2017 -0800

    nir: Pick just the channels we want for bitmap and drawpixels lowering.
    
    NIR now validates that SSA references use the same number of channels as
    are in the SSA value.
    
    v2: Reword commit message, since the commit didn't land before the
        validation change did.
    
    Fixes: 370d68babcbb ("nir/validate: Validate that bit sizes and components always match")
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net> (v1)
    Cc: <mesa-stable at lists.freedesktop.org>
    (cherry picked from commit fba6559a1e76a22135b14490fdf5a6f1de1ae272)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9bfc55875af05a8e9fb3899416a81c77381029a
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Apr 18 00:00:40 2017 -0400

    gallium/targets: fix bool setting on BE architectures
    
    val_bool and val_int are in a union. val_bool gets the first byte, which
    happens to work on LE when setting via the int, but breaks on BE. By
    setting the value properly, we are able to use DRI3 on BE architectures.
    Tested by running glxgears with a NV34 in a G5 PPC.
    
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: mesa-stable at lists.freedesktop.org
    [Emil Velikov: squash the vmwgfx hunk]
    Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    
    (cherry picked from commit 6af14778a3f68030c4ad6426c75fe25d726235d5)




More information about the mesa-commit mailing list