Mesa (master): 25 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Mon Mar 13 11:22:10 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9aebdb5d082ec640fe8a14704201952bddb50a88
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Mar 8 23:46:06 2017 +0000

    configure.ac: do not require the i965 driver for ANV
    
    As of last few commits we have the two split, thus we no longer require
    the i965 in order to have the ANV driver.
    
    Even though ANV does not link against libdrm nor libdrm_intel, we still
    require those as dependencies due to the headers they provide.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee8044fd332cacff80e4afb949fe79e3733375d1
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 21:11:51 2017 -0800

    intel/vulkan: Get rid of recursive make
    
    v2 [Emil Velikov]
     - Various fixes and initial stab at the Android build.
     - Keep the generation rules/EXTRA_DIST outside the conditional
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f9bbcfb7ba990ca42483dd9e985a543d01ea225
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 13:26:40 2017 -0800

    intel/tools: Use a makefile included from intel/Makefile.am
    
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa09c9552c2c7c0f443e22d2151d5e3ce97452e8
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 15:07:49 2017 +0000

    intel/compiler: whitespace cleanups
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdc5036464b40a76115f7c3654043bb1155bd705
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 16:13:42 2017 +0000

    intel/compiler: link all tests again gtest, even test_eu_compact"
    
    At the moment all the tests but test_eu_compact are actual C++ gtests.
    To simplify things, we can move the gtest.la to the common TEST_LIBS.
    As we're here, we can rename change the test extension [to .cpp] to
    avoid using the confusing dummy.cpp.
    
    Add a nice comment in the makefile for posterity.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f282ace67862c0633d0a8135e4808867740d0d39
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 15:57:27 2017 +0000

    i965: remove i965_symbols_test reference from .gitignore
    
    The test/binary was removed back in 2012. With that one gone, we can
    drop the .gitignore file all together.
    
    Cc: Eric Anholt <eric at anholt.net>
    Fixes: c8850394423 ("i965: Drop the missing symbols link test.")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=700bebb958e93f4d472c383de62ced9db8e64bec
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Feb 28 09:10:43 2017 -0800

    i965: Move the back-end compiler to src/intel/compiler
    
    Mostly a dummy git mv with a couple of noticable parts:
     - With the earlier header cleanups, nothing in src/intel depends
    files from src/mesa/drivers/dri/i965/
     - Both Autoconf and Android builds are addressed. Thanks to Mauro and
    Tapani for the fixups in the latter
     - brw_util.[ch] is not really compiler specific, so it's moved to i965.
    
    v2:
     - move brw_eu_defines.h instead of brw_defines.h
     - remove no-longer applicable includes
     - add missing vulkan/ prefix in the Android build (thanks Tapani)
    
    v3:
     - don't list brw_defines.h in src/intel/Makefile.sources (Jason)
     - rebase on top of the oa patches
    
    [Emil Velikov: commit message, various small fixes througout]
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0d4a5f43b4dd79bd7bfff7c7deaade10bfebf7c
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 9 00:44:29 2017 +0000

    i965: split EU defines to brw_eu_defines.h
    
    Split out the EU defines from the 'generic' ones, as the former are more
    compiler oriented.
    
    With a later commit we'll move brw_eu_defines.h alongside the compiler
    infra to src/intel/. Pulling all the defines in there seems overzealous.
    
    Some defines are used by both i965 and the i965 compiler. Those are
    moved to brw_eu_defines.h, and annotated accordingly. The i965 users
    were updated to have the extre include to indicate that.
    
    With future work we might provide a better, split but for now this seems
    reasonable.
    
    Cc: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a72ac981605d34be5b9da3d9ee8e43b81c5a5296
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 9 17:45:19 2017 +0000

    util/bitscan: use correct signature for ffs/ffsll
    
    Otherwise we'll get errors such as
    
    error: conflicting types for ‘ffs’
    error: conflicting types for ‘ffsll’
    
    We might want to improve the heuristics and provide a definition only
    when a native one is missing. We can address that at a later stage.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb0832b86db07421d525ddd9633d247b70b897f9
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 9 02:05:07 2017 +0000

    i965: add missing brw_defines.h include in brw_program.c
    
    File is using MI_LOAD_REGISTER_IMM, GEN7_CACHE_MODE_1 and others as
    defined in the header.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2eefb903d58eefde766c6c8fd53fb519874d18b9
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 9 01:58:30 2017 +0000

    i965: add missing brw_defines.h include in brw_program.c
    
    File is using the PIPE_CONTROL_* macros as defined in the header.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d80407a6a11f8989ffb2e8fe1c03eb149d36ea0
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 9 01:13:52 2017 +0000

    i965: add missing #include <assert.h> in brw_inst.h
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=077078ce77e8653725def01ed291eb486989a9ad
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 9 00:38:21 2017 +0000

    i965: move brw_define.h ifndef guard to the top
    
    Cc: mesa-stable at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c432645bb8bf23532df0c82c7f3205ad7a32573
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Mar 8 23:38:07 2017 +0000

    i965: remove unused macros from brw_defines.h
    
    The follow three groups are not used by neither the DRI module nor the
    compiler.
     BRW_POLYGON_*_FACING
     BRW_POLYGON_FACING_*
     BRW_STATELESS_BUFFER_*
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7784b3c846b46f0e94246f50b2d596984d6adf2d
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 18:38:34 2017 +0000

    i965: remove unused brw_program.h include
    
    Neither of the changed files requires the brw_program.h include. Since
    we're about to move them [to src/intel/compiler] with the next commit
    there's no point in having the include.
    
    Let alone the very confusing compiler include directive
    [-I${top_srcdir}/src/mesa/drivers/dri/i965/] that one would have to use.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c54c379b96f0a14f294daabb60cd282d6dca1084
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 15:35:55 2017 +0000

    i965: remove duplicate declaration of brw_mark_surface_used
    
    Function was made static and moved to another header with earlier
    commit.
    
    Fixes: 760c8a1d950 ("i965: Make mark_surface_used a static inline in brw_compiler.h")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b69a03e12aa38ed5d8b60a056630ed445f6097dc
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 15:30:45 2017 +0000

    i965: remove dead brw_new_shader() declaration
    
    Cc: Timothy Arceri <tarceri at itsqueeze.com>
    Fixes: 194537ebe44 ("mesa/glsl/i965: remove Driver.NewShader()")
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a032002dc93f7c2a1e31b2615ae4bcf81df2c2b1
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 15:29:06 2017 +0000

    i965: remove unused brw_cs.h include
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e042f5fcbc3936bff05843d75982df42af076c36
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 21:14:56 2017 -0800

    anv: Stop including brw_context.h
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ec5922afad359b05e4c7f72279947a1f7352ad6
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 20:55:17 2017 -0800

    intel/isl: Stop linking libi965_compiler.la into tests
    
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12f348bc987991f7014996841c5e37887bcae228
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 19:03:17 2017 -0800

    vulkan/wsi: Generate wayland protocol headers separately from EGL
    
    Previously, we were depending on EGL for generating the headers and
    providing the protocol symbols. However, since neither Vulkan driver
    actually wants to link against EGL, this is kind of pointless. It also
    creates a weird build dependency.
    
    v2 [Jason]
     - Add missing wsi/ prefix, MKDIR_GEN
    
    v3 [Emil Velikov]
     - include BUILT_SOURCES/generation rules outside of conditional
    
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d135e25617b2e321b7ebe5c443d3d6d191dee90
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Mar 7 14:54:36 2017 +0000

    radv/wsi: Don't include wayland headers
    
    Unused and we'll rework the way wayland-drm-client-protocol.h is
    generated with later commit.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Acked-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ea9bbe1f6d542bbde9d037e235fcd5a98c0c67f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Mar 1 21:15:55 2017 -0800

    anv/wsi: Don't include wayland headers
    
    Unused and we'll rework the way wayland-drm-client-protocol.h is
    generated with later commit.
    
    v2 [Emil]
     - Also remove wayland-client.h
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1042ef1dcb36f36b93aaa6a62b54955e606fce7
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 2 19:14:24 2017 +0000

    configure.ac: provide a fall-back define for WAYLAND_SCANNER
    
    In some cases, we can end up calling WAYLAND_SCANNER even when
    there's no binary. Do follow the other's approach set by
    AX_PROG_FLEX/BISON and set the variable to :
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1b5ed853f45b2b5a8114c5a6d3c8e467756a41e
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 2 19:11:06 2017 +0000

    wayland: move .gitignore where applicable
    
    Strictly speaking things work as-is, but let's move the file alongside
    the artefacts it references. Analogous to all other places in mesa.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>




More information about the mesa-commit mailing list