Re: [Mesa-dev] [PATCH 07/16] radv: Implement VK_KHR_maintenance3.

2018-03-07 Thread Bas Nieuwenhuizen
On Wed, Mar 7, 2018 at 7:19 PM, Samuel Pitoiset wrote: > > > On 03/07/2018 03:47 PM, Bas Nieuwenhuizen wrote: >> >> Reviewed-by: Dave Airlie >> --- >> src/amd/vulkan/radv_descriptor_set.c | 82 >> ++-- >>

Re: [Mesa-dev] [PATCH 1/5] i965: Hard code scratch_ids_per_subslice for Cherryview

2018-03-07 Thread Jordan Justen
On 2018-03-07 07:41:04, Eero Tamminen wrote: > Hi, > > Tested SynMark CSDof and GfxBench Aztec Ruins GL & GLES / normal & high > versions, which were earlier GPU hanging. With this patch hangs are gone. > > Tested-by: Eero Tamminen Thanks! > On 07.03.2018 10:16,

Re: [Mesa-dev] [PATCH 07/16] radv: Implement VK_KHR_maintenance3.

2018-03-07 Thread Emil Velikov
On 7 March 2018 at 18:32, Bas Nieuwenhuizen wrote: >> >> Missing break? > > So much for the tests ... > Speaking of tests, I hope they check that both KHR and non KHR annotated functions (the ones changed in 04/16) are tested. We don't want them to disappear for setups

Re: [Mesa-dev] [PATCH 07/16] radv: Implement VK_KHR_maintenance3.

2018-03-07 Thread Gustaw Smolarczyk
2018-03-07 15:47 GMT+01:00 Bas Nieuwenhuizen : > Reviewed-by: Dave Airlie > --- > src/amd/vulkan/radv_descriptor_set.c | 82 ++ > -- > src/amd/vulkan/radv_device.c | 10 + >

[Mesa-dev] [PATCH] st/dri: fix OpenGL-OpenCL interop for GL_TEXTURE_BUFFER

2018-03-07 Thread Marek Olšák
From: Marek Olšák Tested by our OpenCL team. Fixes: 9c499e6759b26c5e "st/mesa: don't invoke st_finalize_texture & st_convert_sampler for TBOs" --- src/gallium/state_trackers/dri/dri2.c | 58 --- 1 file changed, 34 insertions(+), 24

[Mesa-dev] [PATCH 1/5] radeonsi: align command buffer starting address to fix some Raven hangs

2018-03-07 Thread Marek Olšák
From: Marek Olšák Cc: 17.3 18.0 --- src/amd/common/ac_gpu_info.c | 21 - src/amd/common/ac_gpu_info.h | 1 + src/gallium/drivers/radeonsi/si_pm4.c | 5 +++--

[Mesa-dev] [PATCH 3/5] winsys/amdgpu: pad compute rings

2018-03-07 Thread Marek Olšák
From: Marek Olšák --- src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c index d9a95c0..9cd3343 100644 ---

Re: [Mesa-dev] [PATCH 3/5] intel/dev: Add devinfo cs_scratch_ids_per_subslice field

2018-03-07 Thread Jordan Justen
On 2018-03-07 00:47:12, Kenneth Graunke wrote: > On Wednesday, March 7, 2018 12:16:28 AM PST Jordan Justen wrote: > > Suggested-by: Kenneth Graunke > > Signed-off-by: Jordan Justen > > --- > > src/intel/dev/gen_device_info.c | 13 - >

Re: [Mesa-dev] [PATCH v3 1/2] gallium/winsys/kms: Fix possible leak in map/unmap.

2018-03-07 Thread Lepton Wu
Actually the reason why I need this CL: In multi plane patch I'd like to only mmap once for different planes of same buffer. So actually I need some way to reuse same mmap for different planes. Then it's natural to have this CL. The fix to leak is a side effect of this CL. dt_unmap still works

Re: [Mesa-dev] [PATCH 07/16] radv: Implement VK_KHR_maintenance3.

2018-03-07 Thread Samuel Pitoiset
On 03/07/2018 07:32 PM, Bas Nieuwenhuizen wrote: On Wed, Mar 7, 2018 at 7:19 PM, Samuel Pitoiset wrote: On 03/07/2018 03:47 PM, Bas Nieuwenhuizen wrote: Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_descriptor_set.c | 82

Re: [Mesa-dev] [PATCH 1/2] mesa: simplify MESA_GL_VERSION_OVERRIDE behavior of API override

2018-03-07 Thread Marek Olšák
On Wed, Mar 7, 2018 at 11:44 AM, Ian Romanick wrote: > On 03/06/2018 03:27 PM, Marek Olšák wrote: >> From: Marek Olšák >> >> --- >> docs/envvars.html | 3 ++- >> src/mesa/main/version.c | 16 +--- >> 2 files changed, 7 insertions(+),

Re: [Mesa-dev] [PATCH 3/3] ac: make use of if/loop build helpers

2018-03-07 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Tue, Mar 6, 2018 at 8:40 PM, Timothy Arceri wrote: > These helpers insert the basic block in the same order as they > appear in NIR making it easier to follow LLVM IR dumps. The helpers > also insert

Re: [Mesa-dev] [PATCH 07/16] radv: Implement VK_KHR_maintenance3.

2018-03-07 Thread Samuel Pitoiset
On 03/07/2018 03:47 PM, Bas Nieuwenhuizen wrote: Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_descriptor_set.c | 82 ++-- src/amd/vulkan/radv_device.c | 10 + src/amd/vulkan/radv_extensions.py| 1 + 3 files changed,

Re: [Mesa-dev] [PATCH 01/21] vulkan: Add KHR_display extension using DRM

2018-03-07 Thread Keith Packard
Jason Ekstrand writes: Thanks a million for the intense review. I've pushed 15 tiny patches that address individual questions in this message. If you want to look at those separately, that would be great. When we're done, I'll merge them back into the giant patch. Sorry

Re: [Mesa-dev] [PATCH 01/21] vulkan: Add KHR_display extension using DRM

2018-03-07 Thread Keith Packard
Daniel Stone writes: > Or better, just use drmModeAddFB2 and pass the format directly. That > landed back in 3.2 or so, and I don't think there's anyone trying to > use Vulkan on a kernel from 2011. Yeah, that's probably a better plan. I've pushed a patch that does this on

Re: [Mesa-dev] [PATCH] ac/nir: don't put lod into args if it's zero.

2018-03-07 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Mar 6, 2018 at 10:26 PM, Dave Airlie wrote: > From: Dave Airlie > > If it's zero but put it in args we still end up consuming a > register for it. > > This fixes some spilling in the NIR paths

Re: [Mesa-dev] [PATCH 3/5] winsys/amdgpu: pad compute rings

2018-03-07 Thread Alex Deucher
On Wed, Mar 7, 2018 at 3:34 PM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c >

Re: [Mesa-dev] [PATCH v4 0/6] NVIDIA Tegra support

2018-03-07 Thread Dylan Baker
For the meson bits: Reviewed-by: Dylan Baker Quoting Thierry Reding (2018-03-07 07:53:20) > From: Thierry Reding > > This series of patches implements initial support for Tegra. The first > two patches import DRM UAPI from v4.16-rc1 that provides

[Mesa-dev] [Bug 55951] [regression] Torchlight exits with BadDrawable (invalid Pixmap or Window parameter)

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55951 Sven Arvidsson changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [PATCH 2/5] radeonsi: expand constbuf 0 address correctly to fix Vega10 hangs

2018-03-07 Thread Marek Olšák
From: Marek Olšák This is only required with the latest libdrm. This fixes 32-bit support with high addresses. (and possibly 64-bit support too because the high bits need to be masked out) --- src/gallium/drivers/radeonsi/si_shader.c | 21 + 1 file

[Mesa-dev] [PATCH 4/5] winsys/amdgpu: query GDS info

2018-03-07 Thread Marek Olšák
From: Marek Olšák --- src/amd/common/ac_gpu_info.c | 11 +++ src/amd/common/ac_gpu_info.h | 2 ++ 2 files changed, 13 insertions(+) diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 7c13e5f..29e2aa8 100644 ---

[Mesa-dev] [PATCH 5/5] radeonsi: remove chip_class parameter from si_lower_nir

2018-03-07 Thread Marek Olšák
From: Marek Olšák We can get it from si_screen. --- src/gallium/drivers/radeonsi/si_compute.c | 3 +-- src/gallium/drivers/radeonsi/si_shader.h| 4 +--- src/gallium/drivers/radeonsi/si_shader_nir.c| 6 +++--- src/gallium/drivers/radeonsi/si_state_shaders.c

Re: [Mesa-dev] [PATCH 3/5] meson: Re-add auto option for omx

2018-03-07 Thread Dylan Baker
Quoting Eric Engestrom (2018-03-07 10:08:33) > On Tuesday, 2018-03-06 11:57:14 -0800, Dylan Baker wrote: > > This re-adds the auto option for omx, without it we default to tizonia > > and the build fails almost immediately, this is especially obnoxious > > those building a driver that doesn't

Re: [Mesa-dev] [PATCH 3/5] meson: Re-add auto option for omx

2018-03-07 Thread Eric Engestrom
On Tuesday, 2018-03-06 11:57:14 -0800, Dylan Baker wrote: > This re-adds the auto option for omx, without it we default to tizonia > and the build fails almost immediately, this is especially obnoxious > those building a driver that doesn't support the OMX state tracker to > begin with. > > CC:

Re: [Mesa-dev] [PATCH] glx/apple: Ship meson build file in tarball

2018-03-07 Thread Dylan Baker
Quoting Thierry Reding (2018-03-07 07:55:37) > From: Thierry Reding > > The meson build file for Apple GLX is not listed in the EXTRA_DIST make > variable and therefore isn't shipped as part of the release tarball, so > meson builds from the tarball will fail. > > Add the

Re: [Mesa-dev] [PATCH 0/5] Fix meson omx compilation

2018-03-07 Thread Dylan Baker
Quoting Julien Isorce (2018-03-07 06:38:16) > Thanks a lot for the fixes. > There is small issue, if fails to build with meson with 'auto' if tizonia is > installed but not bellagio because ENABLE_ST_OMX_BELLAGIO will remain defined. > Though it can be added afterward, and the series is: Oops,

Re: [Mesa-dev] [PATCH v4 4/6] nouveau: Add framebuffer modifier support

2018-03-07 Thread Ilia Mirkin
On Wed, Mar 7, 2018 at 10:53 AM, Thierry Reding wrote: > From: Thierry Reding > > This adds support for framebuffer modifiers to Nouveau. This will be > used by the Tegra driver to share metadata about the format of buffers > (such as the tiling mode

Re: [Mesa-dev] [PATCH v3 1/2] gallium/winsys/kms: Fix possible leak in map/unmap.

2018-03-07 Thread Lepton Wu
I misunderstanding your point, now I got it and will do more test to see if removing this hunk will cause some issue in some cases of multi plane code path. Thanks. On Wed, Mar 7, 2018 at 10:14 AM, Lepton Wu wrote: > Actually the reason why I need this CL: > > In multi plane

Re: [Mesa-dev] [PATCH 2/2] ac/radeonsi: add emit_kill to the abi

2018-03-07 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Wed, Mar 7, 2018 at 6:04 PM, Timothy Arceri wrote: > This should fix a regression with Rocket League grass rendering > on the NIR backend. > > Bugzilla:

[Mesa-dev] [PATCH] radv: drop assert on bindingDescriptorCount > 0

2018-03-07 Thread Dave Airlie
From: Dave Airlie The spec is pretty clear that this can be 0, and that it operates as a reserved binding. Fixes: dEQP-VK.binding_model.descriptor_update.empty_descriptor.uniform_buffer Signed-off-by: Dave Airlie ---

Re: [Mesa-dev] [PATCH v3 1/2] gallium/winsys/kms: Fix possible leak in map/unmap.

2018-03-07 Thread Lepton Wu
OK, I will send out a new version which omit unmap in dt_destory. Any way, even we need this code, it could be a separate patch. On Wed, Mar 7, 2018 at 7:14 AM, Emil Velikov wrote: > On 6 March 2018 at 22:43, Lepton Wu wrote: >> If user calls map

Re: [Mesa-dev] [PATCH 1/2] autotools: add vtn_amd.c to sources

2018-03-07 Thread Timothy Arceri
Sorry for the noise. Rather than wait for others to trip over this, I've pushed my patch with a r-b from Bas. On 08/03/18 10:42, Timothy Arceri wrote: Look like I should have check the list before sending a patch. Please add the following to the commit message. Otherwise Reviewed-by: Timothy

[Mesa-dev] [PATCH v4 08/20] clover/api: Fail if trying to build a non-executable binary

2018-03-07 Thread Pierre Moreau
From the OpenCL 1.2 Specification, Section 5.6.2 (about clBuildProgram): > If program is created with clCreateProgramWithBinary, then the > program binary must be an executable binary (not a compiled binary or > library). Reviewed-by: Aaron Watry Signed-off-by: Pierre Moreau

[Mesa-dev] [PATCH v4 10/20] clover: Track flags per module section

2018-03-07 Thread Pierre Moreau
One flag that needs to be tracked is whether a library is allowed to received mathematics optimisations or not, as the authorisation is given when creating the library while the optimisations are specified when creating the executable. Reviewed-by: Aaron Watry Signed-off-by:

[Mesa-dev] [PATCH v4 07/20] clover/api: Rework the validation of devices for building

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: * validate_build_common no longer returns a list of devices (Francisco Jerez); * Dropped duplicate checks (Francisco Jerez). src/gallium/state_trackers/clover/api/program.cpp | 23 +-

[Mesa-dev] [PATCH v4 06/20] clover/device: Replace usage of "1 << PIPE_SHADER_IR_*" with supports_ir

2018-03-07 Thread Pierre Moreau
Reviewed-by: Aaron Watry Signed-off-by: Pierre Moreau --- src/gallium/state_trackers/clover/core/device.cpp | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gallium/state_trackers/clover/core/device.cpp

[Mesa-dev] [PATCH v4 09/20] clover: Disallow creating libraries from other libraries

2018-03-07 Thread Pierre Moreau
If creating a library, do not allow non-compiled object in it, as executables are not allowed, and libraries would make it really hard to enforce the "-enable-link-options" flag. Reviewed-by: Francisco Jerez Reviewed-by: Aaron Watry Signed-off-by: Pierre

[Mesa-dev] [PATCH v4 00/20] Introducing SPIR-V support to clover

2018-03-07 Thread Pierre Moreau
Hello, This new version addresses the comments from the v3, making SPIRV-Tools and llvm-spirv dependencies optional among others. The series is also accessible at https://github.com/pierremoreau/mesa, on the branch clover_spirv_series_v4. llvm-spirv can be currently grabbed from

[Mesa-dev] [PATCH v4 03/20] clover/api: Fix tab indentation to spaces

2018-03-07 Thread Pierre Moreau
Acked-by: Francisco Jerez Reviewed-by: Karol Herbst Reviewed-by: Aaron Watry Signed-off-by: Pierre Moreau --- src/gallium/state_trackers/clover/api/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1

[Mesa-dev] [PATCH v4 02/20] clover: update ICD table to support everything up to 2.2

2018-03-07 Thread Pierre Moreau
From: Karol Herbst v2: add more prototypes Signed-off-by: Karol Herbst Reviewed-by: Aaron Watry Reviewed-by: Pierre Moreau --- src/gallium/state_trackers/clover/api/dispatch.cpp | 29 +++-

[Mesa-dev] [PATCH v4 11/20] clover: Move device extensions definitions to core/device.cpp

2018-03-07 Thread Pierre Moreau
Reviewed-by: Francisco Jerez Reviewed-by: Aaron Watry Signed-off-by: Pierre Moreau --- src/gallium/state_trackers/clover/api/device.cpp | 11 +-- src/gallium/state_trackers/clover/core/device.cpp | 14 ++

[Mesa-dev] [PATCH v4 04/20] clover: Remove the TGSI backend as unused

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- src/gallium/state_trackers/clover/Makefile.am | 11 +- src/gallium/state_trackers/clover/Makefile.sources | 4 - src/gallium/state_trackers/clover/core/program.cpp | 13 +-- src/gallium/state_trackers/clover/meson.build | 9

[Mesa-dev] [PATCH v4 05/20] clover: Add an helper for checking if an IR is supported

2018-03-07 Thread Pierre Moreau
Reviewed-by: Aaron Watry Signed-off-by: Pierre Moreau --- Notes: v3: * Dropped supported_irs() (Francisco Jerez) * Changed supports_ir() argument type to `enum pipe_shader_ir` (Francisco Jerez)

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Bug 77449 depends on bug 98856, which changed state. Bug 98856 Summary: DIRT: Showdown broken graphics with Mesa built with -Ofast https://bugs.freedesktop.org/show_bug.cgi?id=98856 What|Removed |Added

[Mesa-dev] [PATCH crucible 2/3] Add support for non-packed strides in cru_image.

2018-03-07 Thread Bas Nieuwenhuizen
From: Bas Nieuwenhuizen In vulkan linear images can have a stride that is larger than the width, which impacts the utility functions from cru_image. --- include/tapi/t_image.h | 12 include/util/cru_image.h | 8 src/framework/test/t_image.c |

[Mesa-dev] [PATCH crucible 3/3] Handle pitch != width with linear images in miptree tests.

2018-03-07 Thread Bas Nieuwenhuizen
From: Bas Nieuwenhuizen We basically split the loop so we create the images before allocation, as well pass on the pitch to the cru_images for the comparison. --- src/tests/func/miptree/miptree.c | 181 --- 1 file changed, 130

[Mesa-dev] [PATCH crucible 1/3] Add qoGetImageSubresourceLayout.

2018-03-07 Thread Bas Nieuwenhuizen
From: Bas Nieuwenhuizen --- include/qonos/qonos.h | 4 src/qonos/qonos.c | 10 ++ 2 files changed, 14 insertions(+) diff --git a/include/qonos/qonos.h b/include/qonos/qonos.h index ca1999f..2755cc0 100644 --- a/include/qonos/qonos.h +++

Re: [Mesa-dev] [PATCH v4 2/2] gallium/winsys/kms: Add support for multi-planes

2018-03-07 Thread Lepton Wu
For this patch, actually it's as same as V3. But since it depends on the 1st patch, I also update the title to V4. On Wed, Mar 7, 2018 at 2:39 PM, Lepton Wu wrote: > Add a new struct kms_sw_plane which delegate a plane and use it > in place of sw_displaytarget. Multiple

[Mesa-dev] [PATCH 2/2] ac/radeonsi: add emit_kill to the abi

2018-03-07 Thread Timothy Arceri
This should fix a regression with Rocket League grass rendering on the NIR backend. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104717 --- src/amd/common/ac_nir_to_llvm.c | 9 - src/amd/common/ac_shader_abi.h | 2 ++ src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 1/2] radeonsi: add si_llvm_emit_kill() helper

2018-03-07 Thread Timothy Arceri
--- src/gallium/drivers/radeonsi/si_shader_internal.h | 2 ++ src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c | 31 ++- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h

[Mesa-dev] [Bug 104836] Missing library link breaks mesa on Debian/ia64

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104836 Timothy Arceri changed: What|Removed |Added Status|NEW |ASSIGNED

Re: [Mesa-dev] [PATCH 1/2] autotools: add vtn_amd.c to sources

2018-03-07 Thread Timothy Arceri
Look like I should have check the list before sending a patch. Please add the following to the commit message. Otherwise Reviewed-by: Timothy Arceri Fixes: 68a6a3b51acc "spirv: handle AMD_gcn_shader extended instructions" On 08/03/18 10:13, Dylan Baker wrote: cc:

[Mesa-dev] [PATCH v4 20/20] clover: Implement clCreateProgramWithIL from OpenCL 2.1

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: v3: Remove the const from the length argument of clCreateProgramWithIL src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/state_trackers/clover/api/program.cpp | 8 2 files changed, 9

[Mesa-dev] [Bug 53426] out-of-bounds access src/mesa/main/fbobject:222

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53426 Timothy Arceri changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH 04/56] anv/entrypoints: Generalize the string map a bit

2018-03-07 Thread Dylan Baker
Quoting Jason Ekstrand (2018-03-07 06:34:52) > The original string map assumed that the mapping from strings to > entrypoints was a bijection. This will not be true the moment we > add entrypoint aliasing. This reworks things to be an arbitrary map > from strings to non-negative signed integers.

[Mesa-dev] [PATCH 6/9] swr/rast: Add tracking for stream out topology

2018-03-07 Thread George Kyriazis
--- src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp | 6 +++--- src/gallium/drivers/swr/rasterizer/archrast/events.proto | 1 + src/gallium/drivers/swr/rasterizer/archrast/events_private.proto | 2 ++ src/gallium/drivers/swr/rasterizer/core/api.cpp | 4

[Mesa-dev] [PATCH 3/9] swr/rast: Add support for generalized late and early z/stencil stats

2018-03-07 Thread George Kyriazis
--- .../drivers/swr/rasterizer/archrast/archrast.cpp | 45 ++ .../drivers/swr/rasterizer/archrast/events.proto | 28 ++ 2 files changed, 73 insertions(+) diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp

[Mesa-dev] [PATCH 2/9] swr/rast: Rasterized Subspans stats support

2018-03-07 Thread George Kyriazis
--- src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp | 15 +++ src/gallium/drivers/swr/rasterizer/archrast/events.proto | 6 ++ .../drivers/swr/rasterizer/archrast/events_private.proto | 6 ++ src/gallium/drivers/swr/rasterizer/core/rasterizer_impl.h | 3 +++ 4

[Mesa-dev] [PATCH 4/9] swr/rast: Refactor api and worker event handlers.

2018-03-07 Thread George Kyriazis
In the API event handler we want to share information between the core layer and the API. Specifically, around associating various ids with different kinds of events. For example, associate render pass id with draw ids, or command buffer ids with draw ids. ---

[Mesa-dev] [PATCH 1/9] swr/rast: Added comment

2018-03-07 Thread George Kyriazis
--- src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp index 67e415c..6fa60a1 100644 ---

[Mesa-dev] [PATCH 8/9] swr/rast: Add KNOB_DISABLE_SPLIT_DRAW

2018-03-07 Thread George Kyriazis
This is useful for archrast data collection. This greatly speeds up the post processing script since there is significantly less events generated. Finally, this is a simpler option to communicate to users than having them directly adjust MAX_PRIMS_PER_DRAW and MAX_TESS_PRIMS_PER_DRAW. ---

[Mesa-dev] [PATCH 5/9] swr/rast: Add split draw and other state information to DrawInfoEvent.

2018-03-07 Thread George Kyriazis
Removed specific split draw events. --- .../drivers/swr/rasterizer/archrast/archrast.cpp | 22 ++ .../drivers/swr/rasterizer/archrast/events.proto | 4 .../swr/rasterizer/archrast/events_private.proto | 20

[Mesa-dev] [PATCH 7/9] swr/rast: Add VPOPCNT

2018-03-07 Thread George Kyriazis
Supports popcnt on vector masks (e.g. <8 x i1>) --- src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp | 8 src/gallium/drivers/swr/rasterizer/jitter/builder_misc.h | 1 + 2 files changed, 9 insertions(+) diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp

Re: [Mesa-dev] [PATCH 1/2] mesa: simplify MESA_GL_VERSION_OVERRIDE behavior of API override

2018-03-07 Thread Emil Velikov
On 7 March 2018 at 16:44, Ian Romanick wrote: > Without this > patch, if I run 'MESA_GL_VERSION_OVERRIDE=3.1 glxinfo | grep version' I > get more or less the behavior that I expect: > > Max core profile version: 3.1 > Max compat profile version: 3.0 > OpenGL version

[Mesa-dev] [PATCH] radv: fix autotools builds

2018-03-07 Thread Timothy Arceri
Fixes: 68a6a3b51acc "spirv: handle AMD_gcn_shader extended instructions" Cc: Daniel Schürmann Cc: Bas Nieuwenhuizen --- src/compiler/Makefile.sources | 1 + 1 file changed, 1 insertion(+) diff --git

[Mesa-dev] [PATCH 9/9] swr/rast: Refactor memory gather operations

2018-03-07 Thread George Kyriazis
--- src/gallium/drivers/swr/rasterizer/jitter/builder_mem.h | 3 ++- src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 7 ++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.h

Re: [Mesa-dev] [PATCH 5/5] radeonsi: remove chip_class parameter from si_lower_nir

2018-03-07 Thread Timothy Arceri
Thanks. I'm sure I tried this but failed to get it compiling for some reason. Reviewed-by: Timothy Arceri On 08/03/18 07:34, Marek Olšák wrote: From: Marek Olšák We can get it from si_screen. --- src/gallium/drivers/radeonsi/si_compute.c

[Mesa-dev] [PATCH 2/2] autotools: add -I/src/egl to tizonia

2018-03-07 Thread Dylan Baker
meson got the same fix. cc: Emil Veliov Signed-off-by: Dylan Baker --- I don't know hat the "right" fix is here Emil, I just picked one and applied it to both meson and autotools. src/gallium/state_trackers/omx/tizonia/Makefile.am | 1 + 1

[Mesa-dev] [PATCH 1/2] autotools: add vtn_amd.c to sources

2018-03-07 Thread Dylan Baker
cc: Emil Veliov Signed-off-by: Dylan Baker --- src/compiler/Makefile.sources | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index 841bc8fec91..37340ba809e 100644 ---

[Mesa-dev] [PATCH v4 15/20] include/CL: Add cl_khr_il_program

2018-03-07 Thread Pierre Moreau
Reviewed-by: Karol Herbst Signed-off-by: Pierre Moreau --- include/CL/cl_ext.h | 37 + 1 file changed, 37 insertions(+) diff --git a/include/CL/cl_ext.h b/include/CL/cl_ext.h index 5078e8f45f..5ea4968042 100644 ---

[Mesa-dev] [PATCH v4 16/20] clover: Implement clCreateProgramWithILKHR

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: guard parts of the code behind SPIR-V support v3: * Remove the const on the length argument to CreateProgramWithILKHR (Francisco Jerez); * Capitalize comment (Francisco Jerez); * Store

[Mesa-dev] [PATCH v4 13/20] configure.ac, meson: Check for SPIRV-Tools and llvm-spirv

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: * make SPIRV-Tools and llvm-spirv optional (Francisco Jerez); * bump requirement for llvm-spirv to version 0.2 v3: * Bump the required version of SPIRV-Tools to the latest release; * Add a

[Mesa-dev] [PATCH v4 14/20] clover/llvm: Allow translating from SPIR-V to LLVM IR

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: * guard the SPIR-V code; * use an istringstream instead of a bidirectional stringstream, and initialise it directly (Francisco Jerez). .../state_trackers/clover/llvm/invocation.cpp | 29

[Mesa-dev] [PATCH v4 18/20] clover/api: Implement CL_DEVICE_IL_VERSION

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: Use the core define instead of the extension one (Karol Herbst) v3: Throw an exception if the cl_khr_il_program extension is not supported (Francisco Jerez)

[Mesa-dev] [PATCH v4 19/20] clover: Advertise cl_khr_il_program

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: do not advertise SPIR-V support if CLOVER_ALLOW_SPIRV is not defined v3: Advertise cl_khr_il_program if if the device support NATIVE as IR src/gallium/state_trackers/clover/api/platform.cpp | 2 ++

[Mesa-dev] [PATCH v4 12/20] clover: Move platform extensions definitions to clover/platform.cpp

2018-03-07 Thread Pierre Moreau
Reviewed-by: Francisco Jerez Reviewed-by: Aaron Watry Signed-off-by: Pierre Moreau --- src/gallium/state_trackers/clover/api/platform.cpp | 4 ++-- src/gallium/state_trackers/clover/core/platform.cpp | 5 +

[Mesa-dev] [PATCH v4 17/20] clover: Handle CL_PROGRAM_IL in clGetProgramInfo

2018-03-07 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Notes: Changes in v4: Use the core define instead of the extension one (Karol Herbst) v3: Switch from using a pointer attribute to a vector (Francisco Jerez) src/gallium/state_trackers/clover/api/program.cpp | 7 +++ 1 file

[Mesa-dev] [PATCH 18/22 v4] squash! i965/fs: Add infrastructure for generating CSEL instructions.

2018-03-07 Thread Ian Romanick
From: Ian Romanick v4: Only set BRW_ALIGN_16 on Gen < 10 (suggested by Matt). Don't reset the access mode afterwards (suggested by Samuel and Matt). Add support for CSEL not modifying the flags to more places (requested by Matt). Reviewed-by: Matt Turner

[Mesa-dev] [PATCH] squash! i965/fs: Merge CMP and SEL into CSEL on Gen8+

2018-03-07 Thread Ian Romanick
From: Ian Romanick v4: Report progress. This actually helps one more shader! --- src/intel/compiler/brw_fs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 7b51b1f..4937361

[Mesa-dev] [PATCH v4 1/2] gallium/winsys/kms: Fix possible leak in map/unmap.

2018-03-07 Thread Lepton Wu
If user calls map twice for kms_sw_displaytarget, the first mapped buffer could get leaked. Instead of calling mmap every time, just reuse previous mapping. Since user could map same displaytarget with different flags, we have to keep two different pointers, one for rw mapping and one for ro

[Mesa-dev] [PATCH v4 2/2] gallium/winsys/kms: Add support for multi-planes

2018-03-07 Thread Lepton Wu
Add a new struct kms_sw_plane which delegate a plane and use it in place of sw_displaytarget. Multiple planes share same underlying kms_sw_displaytarget. Change-Id: I0e9ca1d0ba0aa78c27dfdb50c30dc0c424fec172 Signed-off-by: Lepton Wu ---

Re: [Mesa-dev] [PATCH 00/56] anv: Add support for Vulkan 1.1

2018-03-07 Thread Jason Ekstrand
Hi all, I just wanted to give a shout out and a huge "Thank You!" to all of the people who made this release possible. There were a large number of features packed into the 1.1 release and implementing it all was a hugely collaborative effort. I want to specially thank our friends at Igalia.

[Mesa-dev] [Bug 33786] Wayland terminal garbage starting with 1dd8e2757852682af44b63193c89dff3c09c7703

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33786 Timothy Arceri changed: What|Removed |Added Resolution|--- |INVALID

Re: [Mesa-dev] [PATCH 21/22] i965/vec4: Allow CSE on subset VF constant loads

2018-03-07 Thread Ian Romanick
On 03/05/2018 04:53 PM, Kenneth Graunke wrote: > On Friday, February 23, 2018 3:56:06 PM PST Ian Romanick wrote: >> From: Ian Romanick >> >> No changes on other platforms. >> >> Haswell, Ivy Bridge, and Sandy Bridge had similar results. (Haswell shown) >> total

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #4 from Ben Clapp --- Bug(s) still present as of 17.3.6. (The issues related to frame drops/frame presentation don't seem to be an issue at this point, but crop setting still results in black screen, incorrect

Re: [Mesa-dev] [PATCH] dri_util: fallback to core with drivers not supporting compat for 3.1

2018-03-07 Thread Ian Romanick
On 03/02/2018 02:55 PM, Andres Gomez wrote: > 2599b92eb97 changed Mesa's behavior to allow Compatiblity profile with > 3.1, and fail when the driver doesn't implement it, if the Core > profile is not requested by applications. > > Formerly, when requesting a 3.1 Compatibility profile Mesa would >

[Mesa-dev] [Bug 64386] [865G] White screen using Stellarium

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64386 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 104625] semicolon after if

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104625 Timothy Arceri changed: What|Removed |Added Resolution|--- |FIXED

Re: [Mesa-dev] [PATCH 04/56] anv/entrypoints: Generalize the string map a bit

2018-03-07 Thread Dylan Baker
You sent out a 56 patch series and didn't even wait 12 hours before pushing it? Quoting Jason Ekstrand (2018-03-07 19:56:21) > You're 4.5 hours too late, I'm afraid.  I'd be happy to take some patches > though. :-) > > On Wed, Mar 7, 2018 at 4:42 PM, Dylan Baker wrote: > >

Re: [Mesa-dev] [PATCH] dri_util: when overriding, always reset the core version

2018-03-07 Thread Tapani Pälli
On 03/07/2018 04:29 PM, Emil Velikov wrote: On 7 March 2018 at 06:02, Tapani Pälli wrote: On 03/07/2018 12:36 AM, Marek Olšák wrote: On Mon, Mar 5, 2018 at 7:33 AM, Tapani Pälli wrote: Hi; On 03/02/2018 03:25 PM, Andres Gomez wrote:

[Mesa-dev] [Bug 28433] Mesa DRI Intel 845G GEM Drivers returning artifacts in textures that can lockup PC on glxSwapBuffers.

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28433 Timothy Arceri changed: What|Removed |Added Component|Other |Drivers/DRI/i915

[Mesa-dev] [Bug 95083] ilo driver draws only the mouse cursor

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95083 Timothy Arceri changed: What|Removed |Added Resolution|--- |INVALID

[Mesa-dev] [Bug 69682] mesa-9.2.0 and glamor-0.5.1 crash X - (?) _mesa_GetVertexAttribdv (?)

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69682 Timothy Arceri changed: What|Removed |Added CC||aux...@gmail.com

[Mesa-dev] [Bug 66359] Mesa crashes in _mesa_VertexAttrib2dvNV on starting KDE 4.11

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66359 Timothy Arceri changed: What|Removed |Added Resolution|--- |DUPLICATE

Re: [Mesa-dev] [PATCH] squash! i965/fs: Merge CMP and SEL into CSEL on Gen8+

2018-03-07 Thread Matt Turner
Looks good to me. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH mesa 06/21] radv: Add EXT_direct_mode_display to radv driver

2018-03-07 Thread Keith Packard
Add support for the EXT_direct_mode_display extension. This just provides the vkReleaseDisplayEXT function. Signed-off-by: Keith Packard --- src/amd/vulkan/radv_extensions.py | 1 + src/amd/vulkan/radv_wsi_display.c | 11 +++ 2 files changed, 12 insertions(+) diff

[Mesa-dev] [PATCH mesa 03/21] radv: Add KHR_display extension to radv [v3]

2018-03-07 Thread Keith Packard
This adds support for the KHR_display extension to the radv Vulkan driver. The driver now attempts to open the master DRM node when the KHR_display extension is requested so that the common winsys code can perform the necessary operations. v2: * Simplify addition of

[Mesa-dev] [Bug 41162] util/u_draw.c:71:util_draw_max_index: Assertion `buffer_size - buffer->buffer_offset <= buffer_size' failed.

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41162 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 34361] Mesa needs a man-page or several

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34361 Timothy Arceri changed: What|Removed |Added Resolution|--- |NOTABUG

[Mesa-dev] [Bug 65475] Inconsistent use of both stderr and stdout for debug output

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65475 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED

  1   2   3   >