Permalink
Switch branches/tags
Nothing to show
Commits on Jul 8, 2016
  1. i965/blorp: fix indentation level

    Signed-off-by: Eric Engestrom <eric@engestrom.ch>
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
    1ace committed with Topi Pohjolainen Jul 6, 2016
Commits on Jul 7, 2016
  1. i965: Fix remaining flush vs invalidate race conditions in brw_emit_p…

    …ipe_control_flush.
    
    This hardware race condition has caused problems several times already
    (see "i965: Fix cache pollution race during L3 partitioning set-up.",
    "i965: Fix brw_render_cache_set_check_flush's PIPE_CONTROLs." and
    "i965: intel_texture_barrier reimplemented").  The problem is that
    whenever we attempt to both flush and invalidate multiple caches with
    a single pipe control command the flush and invalidation happen in
    reverse order, so the contents flushed from the R/W caches aren't
    guaranteed to become visible from the invalidated caches after the
    PIPE_CONTROL command completes execution if some concurrent rendering
    workload happened to pollute any of the invalidated R/O caches in the
    short window of time between the invalidation and flush.
    
    This makes sure that brw_emit_pipe_control_flush() has the effect
    expected by most callers of making the contents flushed from any R/W
    caches visible from the invalidated R/O caches.
    
    Cc: "12.0 11.1 11.2" <mesa-stable@lists.freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
    curro committed Jul 1, 2016
  2. i965: Make room in the batch epilogue for three more pipe controls.

    Review carefully, it sucks to have to keep track of the number of
    command packet dwords emitted in the batch epilogue manually.  The
    MI_REPORT_PERF_COUNT_BATCH_DWORDS calculation was obviously wrong.
    
    Cc: "12.0 11.1 11.2" <mesa-stable@lists.freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
    curro committed Jul 1, 2016
  3. i965: Emit SKL VF cache invalidation W/A from brw_emit_pipe_control_f…

    …lush.
    
    There were two places in the driver doing a pipe control VF cache
    flush, one of them was missing this workaround, move it down into
    brw_emit_pipe_control_flush to make sure we don't miss it again.
    
    Cc: "12.0 11.1 11.2" <mesa-stable@lists.freedesktop.org>
    Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
    curro committed Jul 1, 2016
  4. i965: Emit SNB write cache flush W/A from brw_emit_pipe_control_flush.

    Shouldn't cause any functional changes at this point, but we have
    forgotten to apply this workaround several times in the past, make
    sure it doesn't happen again.
    
    Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
    curro committed Jul 1, 2016
  5. egl: restrict swap_available dri2_egl_display field to X11

    This field is only ever set and read by the X11 platform.
    
    Signed-off-by: Frank Binns <frank.binns@imgtec.com>
    Reviewed-by: Chad Versace <chad.versace@intel.com>
    Frank Binns committed with chadversary Jun 20, 2016
  6. egl: Fix the bad surface attributes combination checking for pbuffers…

    …. (v3)
    
    Fixes a regression induced by commit a0674ce:
    When EGL_TEXTURE_FORMAT and EGL_TEXTURE_TARGET were both specified (and
    both != EGL_NO_TEXTURE), an error was instantly triggered, before the
    other one had even a chance to be checked, which is obviously not the
    intended behaviour.
    
    v2: Full commit hash, remove useless variables.
    v3: [chadv] Add Fixes footers.
    
    Fixes: piglit "spec/egl 1.4/eglcreatepbuffersurface and then glclear"
    Fixes: piglit "spec/egl 1.4/largest possible eglcreatepbuffersurface and then glclear"
    Signed-off-by: Guillaume Charifi <guillaume.charifi@sfr.fr>
    Reviewed-by: Frank Binns <frank.binns@imgtec.com>
    Reviewed-by: Chad Versace <chad.versace@intel.com>
    booti386 committed with chadversary Jun 20, 2016
  7. egl/display: remove unnecessary code and make it easier to read

    Remove the two first level `if` as they will always be true, and
    flatten the two remaining `if`.
    No functional change.
    
    Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
    Reviewed-by: Chad Versace <chad.versace@intel.com>
    1ace committed with chadversary Jul 6, 2016
  8. mesa: Make single-buffered GLES representation internally consistent

    There are a few places in the code where clearing and reading are done on
    incorrect buffers for GLES contexts.  See comments for details.  This
    fixes 75 GLES3 dEQP tests on the surfaceless platform with no regressions.
    
    v2: Corrected unclear comment
    v3: Make the change in context.c instead of get.c
    v4: Removed whitespace
    
    Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
    Reviewed-by: Chad Versace <chad.versace@intel.com>
    gurchetansingh committed with chadversary Jun 30, 2016
  9. bugzilla_mesa.sh: Drop "Bug " from sed command

    After a recent Bugzilla update the word is no longer in the title. Thus
    the script ended up producing bogus HTML.
    
    Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
    Emil Velikov committed with evelikov Jul 7, 2016
  10. mesa: don't install GLX files if GLX is not built

    Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
    Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
    [Emil Velikov: Drop guards around dri_interface.h, add stable tag]
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
    akihikodaki committed with evelikov Jun 26, 2016
  11. nir: add glsl_dvec_type() helper

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed with kaydenl Jun 15, 2016
  12. osmesa: Export OSMesaCreateContextAttribs.

    Since the function is exported like any other
    public api function and put in the header
    as if you could link against it, export it also
    from shared objects.
    
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
    Mathias Fröhlich committed with Mathias Fröhlich Jul 1, 2016
  13. i965: consolidate generation check

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
    Timothy Arceri committed Jul 6, 2016
  14. i965: don't copy VS attribute work arounds for HSW+

    These workarounds are not required for HSW and above so stop
    copying them at VS key generation which is called at draw time.
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed Jul 6, 2016
  15. i965: add double packing support to tess stages

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed Jun 10, 2016
  16. i965: add double support packing support to gs inputs

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed Jun 10, 2016
  17. nir: add glsl_double_type() helper

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed Jun 10, 2016
  18. i965: add indirect packing support to gs load inputs

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 22, 2016
  19. i965: add indirect packing support for tcs and tes

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 23, 2016
  20. i965: add component packing support for tcs

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 20, 2016
  21. i965: add component packing support for tes

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 19, 2016
  22. i965: add component packing support for gs

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 19, 2016
  23. nir: use the same driver location for packed varyings

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 18, 2016
  24. nir: add new intrinsic field for storing component offset

    This offset is used for packing.
    
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Timothy Arceri committed May 23, 2016
Commits on Jul 6, 2016
  1. i965/docs: update Intel Linux Graphics URLs

    Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
    1ace committed with kaydenl Jul 6, 2016
  2. radeon/llvm: Use alloca instructions for larger arrays

    We were storing arrays in vectors, which was leading to some really bad
    spill code for large arrays.  allocas instructions are a better fit for
    arrays and LLVM optimizations are more geared toward dealing with
    allocas instead of vectors.
    
    For arrays that have 16 or less 32-bit elements, we will continue to use
    vectors, because this will force LLVM to store them in registers and
    use indirect registers, which is usually faster for small arrays.
    
    In the future we should use allocas for all arrays and teach LLVM
    how to store allocas in registers.
    
    This fixes the piglit test:
    
    spec/glsl-1.50/execution/geometry/max-input-component
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    tstellarAMD committed May 17, 2016
  3. radeon/llvm: Add helpers for loading and storing data from arrays.

    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    tstellarAMD committed May 17, 2016
  4. radeon/llvm: Remove uses_temp_indirect_addressing() function

    bld->indirect_files is never set, so this function always returns false.
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    tstellarAMD committed May 17, 2016
  5. anv: vulkan: remove the anv_device.$(OBJEXT) rule

    Atm the actual rule will expand to foo.o which is used for static
    libraries only.
    
    Thus the automake manual recommendation [to use OBJEXT] won't help us,
    since since we're working with a shared library.
    
    Thus let's 'demote' the file and add it back to BUILT_SOURCES. This will
    manage all the complexity for us, at the (existing expense) of working
    only with the all, check and install targets.
    
    The crazy (why the issue was hard to spot):
    If the dependencies (.deps/*.Plo) are already created one can alter the
    anv_device.$(OBJEXT) line and/or nuke it all together. That won't lead
    to any warnings/issues, even though the Makefile is regenerated.
    
    Moral of the story:
    Always rm -rf top_builddir or don't resolve the dependencies manually
    and use BUILT_SOURCES.
    
    Cc: "12.0" <mesa-stable@lists.freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96825
    Fixes: d7a604c3f7a ("anv: use cache uuid based on the build timestamp.")
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
    Tested-by: Mark Janes <mark.a.janes@intel.com>
    Emil Velikov committed with janesma Jul 6, 2016
  6. vbo: fix attr reset

    In bc4e0c4 (vbo: Use a bitmask to track the active arrays in vbo_exec*.)
    we stopped looping over all the attributes and resetting all slots.
    Which exposed an issue in vbo_exec_bind_arrays() for handling GENERIC0
    vs. POS.
    
    Split out a helper which can reset a particular slot, so that
    vbo_exec_bind_arrays() can re-use it to reset POS.
    
    This fixes an issue with 0ad (and possibly others).
    
    Signed-off-by: Rob Clark <robdclark@gmail.com>
    Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
    robclark committed Jul 5, 2016
  7. list: fix list_replace() for empty lists

    Before, it would happily copy list_head next/prev (ie. pointer to the
    *from* list_head), leaving things in a confused state and causing much
    mayhem.
    
    Signed-off-by: Rob Clark <robdclark@gmail.com>
    Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
    robclark committed Jul 2, 2016
  8. gallium: un-inline pipe_surface_desc

    Want to re-use this struct, so un-inline it.
    
    Signed-off-by: Rob Clark <robdclark@gmail.com>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    robclark committed Jun 26, 2016
  9. gallium/util: make util_copy_framebuffer_state(src=NULL) work

    Be more consistent with the other u_inlines util_copy_xyz_state()
    helpers and support NULL src.
    
    Signed-off-by: Rob Clark <robclark@freedesktop.org>
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    freedreno-zz committed with robclark Jun 11, 2016