Re: [Mesa-dev] [PATCH 2/5] i965/icl: Set use full ways in L3CNTLREG

2018-11-15 Thread Kenneth Graunke
On Tuesday, November 13, 2018 2:33:59 PM PST Anuj Phogat wrote: > L3 allocation table in h/w specification recommends using 4 KB > granularity for programming allocation fields in L3CNTLREG. > > Signed-off-by: Anuj Phogat > Cc: Kenneth Graunke > Cc: Francisco Jerez > Cc: Lionel Landwerlin >

Re: [Mesa-dev] [PATCH 1/5] i965/icl: Fix L3 configurations

2018-11-15 Thread Francisco Jerez
Kenneth Graunke writes: > On Thursday, November 15, 2018 5:51:18 PM PST Francisco Jerez wrote: >> Anuj Phogat writes: >> >> > Use L3 configuration table specified in h/w specification. >> > >> > Signed-off-by: Anuj Phogat >> > Cc: Kenneth Graunke >> > Cc: Francisco Jerez >> > Cc: Lionel

Re: [Mesa-dev] [PATCH 1/5] i965/icl: Fix L3 configurations

2018-11-15 Thread Kenneth Graunke
On Thursday, November 15, 2018 5:51:18 PM PST Francisco Jerez wrote: > Anuj Phogat writes: > > > Use L3 configuration table specified in h/w specification. > > > > Signed-off-by: Anuj Phogat > > Cc: Kenneth Graunke > > Cc: Francisco Jerez > > Cc: Lionel Landwerlin > > --- > >

[Mesa-dev] [PATCH] egl: Print the actual message to the console from _eglError().

2018-11-15 Thread Eric Anholt
Previously we would print errors on the console like: libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize When we had everything we needed for: libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize: DRI2: failed to find EGLDevice (for a gbm

Re: [Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-15 Thread Jason Ekstrand
Pushed. On Thu, Nov 15, 2018 at 8:15 PM Jason Ekstrand wrote: > Thanks. I'm going to push it once it gets done running through CI. > > On Thu, Nov 15, 2018 at 4:03 AM Danylo Piliaiev > wrote: > >> Handle all cases in calculation of layers count for isl_view >> taking into account texture view

[Mesa-dev] [PATCH] intel, nir: Move gl_LocalInvocationID lowering to nir_lower_system_values

2018-11-15 Thread Jason Ekstrand
It's not at all intel-specific; the formula is dictated by OpenGL and Vulkan. The only intel-specific thing is that we need the lowering. As a nice side-effect, the new version is variable-group-size ready. Cc: Plamena Manolova --- src/compiler/nir/nir.h| 1 +

Re: [Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-15 Thread Jason Ekstrand
Thanks. I'm going to push it once it gets done running through CI. On Thu, Nov 15, 2018 at 4:03 AM Danylo Piliaiev wrote: > Handle all cases in calculation of layers count for isl_view > taking into account texture view and image unit. > st_convert_image was taken as a reference. > > When

Re: [Mesa-dev] [PATCH 1/5] i965/icl: Fix L3 configurations

2018-11-15 Thread Francisco Jerez
Anuj Phogat writes: > Use L3 configuration table specified in h/w specification. > > Signed-off-by: Anuj Phogat > Cc: Kenneth Graunke > Cc: Francisco Jerez > Cc: Lionel Landwerlin > --- > src/intel/common/gen_l3_config.c | 16 ++-- > 1 file changed, 10 insertions(+), 6

[Mesa-dev] [PATCH 4/5] loader: Stop using a local definition for an in-tree header

2018-11-15 Thread Eric Anholt
I need other types from the header now, and "gl.h is big" is not a good reason to duplicate definitions. --- src/loader/loader.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/loader/loader.c b/src/loader/loader.c index 461f96aa6a44..041a59212be7 100644 ---

[Mesa-dev] [PATCH 3/5] egl: Move loader_set_logger() up to egl_dri2.c.

2018-11-15 Thread Eric Anholt
Everyone needs to call it, and platform_x11 forgot to. --- src/egl/drivers/dri2/egl_dri2.c | 2 ++ src/egl/drivers/dri2/platform_android.c | 2 -- src/egl/drivers/dri2/platform_drm.c | 2 -- src/egl/drivers/dri2/platform_surfaceless.c | 2 --

[Mesa-dev] [PATCH 1/5] glx: Remove an old DEFAULT_DRIVER_DIR default.

2018-11-15 Thread Eric Anholt
You can tell by "Mesa/configs/default" how old this is. Your build system really has to provide the DEFAULT_DRIVER_DIR, or other loaders will break. --- src/glx/dri_common.c | 5 - 1 file changed, 5 deletions(-) diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index

[Mesa-dev] [PATCH 5/5] loader: Factor out the common driver opening logic from each loader.

2018-11-15 Thread Eric Anholt
I copied the code from egl_dri2.c, but the functionality was equivalent between all the loaders other than their particular environment variables. --- src/egl/Makefile.am | 3 +- src/egl/drivers/dri2/egl_dri2.c | 75 +++--- src/egl/meson.build | 3 --

[Mesa-dev] [PATCH 2/5] glx: Move DRI extensions pointer loading to driOpenDriver().

2018-11-15 Thread Eric Anholt
The only thing you do with a dri driver handle is get the extensions pointer, so just fold it in to simplify the callers. --- src/glx/dri2_glx.c | 8 +--- src/glx/dri3_glx.c | 8 +--- src/glx/dri_common.c | 20 +++- src/glx/dri_common.h | 6 ++ src/glx/dri_glx.c

Re: [Mesa-dev] [PATCH] egl/dri: fix error value with unknown drm format

2018-11-15 Thread Chad Versace
On Wed 14 Nov 2018, Eric Engestrom wrote: > On Tuesday, 2018-11-13 14:10:45 +, Lionel Landwerlin wrote: > > According to the EGL_EXT_image_dma_buf_import spec, creating an EGL > > image with a DRM format not supported should yield the BAD_MATCH > > error : > > > > " > >* If is

[Mesa-dev] [PATCH] intel/compiler: Always print flag subregister number

2018-11-15 Thread Sagar Ghuge
While disassembling the predicate always print flag subregister number to keep grammar same across the generation for assembler tool. Signed-off-by: Sagar Ghuge --- src/intel/compiler/brw_disasm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH] nir: small tidy ups for nir_loop_analyze()

2018-11-15 Thread Timothy Arceri
--- src/compiler/nir/nir_loop_analyze.c | 31 ++--- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/src/compiler/nir/nir_loop_analyze.c b/src/compiler/nir/nir_loop_analyze.c index 9c3fd2f286..c779383b36 100644 --- a/src/compiler/nir/nir_loop_analyze.c +++

Re: [Mesa-dev] [PATCH] gbm: Clarify acceptable formats for gbm_bo

2018-11-15 Thread Eric Anholt
Daniel Stone writes: > gbm_bo_create() was presumably meant to originally accept gbm_bo_format > enums, but it's accepted GBM_FORMAT_* tokens since the dawn of time. > This is good, since gbm_bo_format is rarely used and covers a lot less > ground than GBM_FORMAT_*. > > Change the documentation

[Mesa-dev] [PATCH] vulkan: Add VK_GOOGLE_display_timing extension (x11+display, anv+radv) [v6]

2018-11-15 Thread Keith Packard
This adds support for the VK_GOOGLE_display timing extension, which provides two things: 1) Detailed information about when frames are displayed, including slack time between GPU execution and display frame. 2) Absolute time control over swapchain queue processing. This allows the

[Mesa-dev] [PATCH 4/4] i965: Add support for and expose EXT_texture_sRGB_R8

2018-11-15 Thread Gert Wollny
Emulate MESA_FORMAT_R_SRGB8 by using L8_UNORM_SRGB. This is possible because component swizzling is handled based on the mesa format and, hence, the a r001 swizzling can be used to correct the components. Enables and makes pass (tested on Kabylake)

[Mesa-dev] [PATCH 0/4] i965: Add support for EXT_texture_sRGB_S8

2018-11-15 Thread Gert Wollny
Dear all, this series adds support for the GL_SR8_EXT texture format. When you review please take a closer look at the second patch, to see whether the fbo completeness states make sense. Always returning GL_FRAMEBUFFER_UNSUPPORTED makes

[Mesa-dev] [PATCH 3/4] i965: Force zero swizzles for unused components in GL_RED and GL_RG

2018-11-15 Thread Gert Wollny
This makes it possible to use a hardware luminance format as RED format. Signed-off-by: Gert Wollny --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c

[Mesa-dev] [PATCH 2/4] i965: be more specific about FBO completeness errors

2018-11-15 Thread Gert Wollny
The driver was returning GL_FRAMEBUFFER_UNSUPPORTED for all cases of an incomplete fbo, be a bit more specific about this following the description of glCheckFramebufferStatus. This helps to keeps dEQP happy when adding EXT_texture_sRGB_R8 support. Signed-off-by: Gert Wollny ---

[Mesa-dev] [PATCH 1/4] i965: Correct L8_UNORM_SRGB table entry

2018-11-15 Thread Gert Wollny
As the name says, the format is an sRGB format. Signed-off-by: Gert Wollny --- src/intel/isl/isl_format_layout.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/isl/isl_format_layout.csv b/src/intel/isl/isl_format_layout.csv index 0b9421e3f9..a1efa66657 100644

Re: [Mesa-dev] [PATCH] intel/compiler: Disassemble GEN6_SFID_DATAPORT_SAMPLER_CACHE as dp_sampler

2018-11-15 Thread Matt Turner
Reviewed-by: Matt Turner and pushed. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 08/14] util: env_var_as_unsigned() helper

2018-11-15 Thread Eric Engestrom
On Monday, 2018-11-12 10:50:52 -0500, Rob Clark wrote: > So I can drop env2u() helper from freedreno_util.h and get rid of one > small ir3 dependency on gallium/freedreno > > Signed-off-by: Rob Clark > --- > src/util/debug.c | 12 > src/util/debug.h | 2 ++ > 2 files changed, 14

Re: [Mesa-dev] [PATCH] etnaviv: Make sure rs alignment checks match

2018-11-15 Thread Lucas Stach
Hi Guido, Am Dienstag, den 09.10.2018, 13:50 +0200 schrieb Guido Günther: > Hi, > On Mon, Sep 17, 2018 at 04:06:57PM +0200, Guido Günther wrote: > > etna_resource_alloc and etna_resource_from_handle currently use different > > checks. > > This leads to > > > >    etna_resource_from_handle:492:

Re: [Mesa-dev] [PATCH 4/4] etnaviv: annotate variables only used in debug build

2018-11-15 Thread Philipp Zabel
On Thu, 2018-11-15 at 15:37 +0100, Lucas Stach wrote: > Some of the status variables in the compiler are only used in asserts > and thus may be unused in release builds. Annotate them accordingly > to avoid 'unused but set' warnings from the compiler. > > Signed-off-by: Lucas Stach > --- >

Re: [Mesa-dev] [PATCH 3/4] etnaviv: enable full overwrite in a few more cases

2018-11-15 Thread Philipp Zabel
On Thu, 2018-11-15 at 15:37 +0100, Lucas Stach wrote: > Take into account the render target format when checking if the color > mask affects all channels of the RT. This allows to enable full > override in a few cases where a non-alpha format is used. > > Signed-off-by: Lucas Stach > --- >

Re: [Mesa-dev] [PATCH 2/4] etnaviv: use surface format directly

2018-11-15 Thread Philipp Zabel
On Thu, 2018-11-15 at 15:37 +0100, Lucas Stach wrote: > There is no need to do the detour over the resource behind the > surface to get the format. Use the surface format directly. > > Signed-off-by: Lucas Stach > --- > src/gallium/drivers/etnaviv/etnaviv_blend.c | 2 +- >

Re: [Mesa-dev] [PATCH 1/4] etnaviv: use dummy RT buffer when rendering without color buffer

2018-11-15 Thread Philipp Zabel
On Thu, 2018-11-15 at 15:37 +0100, Lucas Stach wrote: > At least GC2000 seems to push some dirt from the PE color cache into > the last bound render target when drawing depth only. Newer cores > seem to behave properly and don't do this, but I have found no way > to fix it on GC2000. Flushes and

[Mesa-dev] [PATCH] i965: Fix indirect parameters draw during conditional rendering on hsw+

2018-11-15 Thread Illia Iorin
Both extensions GL_ARB_indirect_parameters and GL_NV_conditional_render use MI_PREDICATE for their work so when conditional rendering was enabled GL_ARB_indirect_parameters incorrectly handled already present predicate result and didn't restore it in the end. Instead special code path for this

[Mesa-dev] [PATCH 4/4] etnaviv: annotate variables only used in debug build

2018-11-15 Thread Lucas Stach
Some of the status variables in the compiler are only used in asserts and thus may be unused in release builds. Annotate them accordingly to avoid 'unused but set' warnings from the compiler. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_compiler.c | 8 1 file

[Mesa-dev] [PATCH 2/4] etnaviv: use surface format directly

2018-11-15 Thread Lucas Stach
There is no need to do the detour over the resource behind the surface to get the format. Use the surface format directly. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_blend.c | 2 +- src/gallium/drivers/etnaviv/etnaviv_context.c | 9 ++--- 2 files changed, 3

[Mesa-dev] [PATCH 1/4] etnaviv: use dummy RT buffer when rendering without color buffer

2018-11-15 Thread Lucas Stach
At least GC2000 seems to push some dirt from the PE color cache into the last bound render target when drawing depth only. Newer cores seem to behave properly and don't do this, but I have found no way to fix it on GC2000. Flushes and stalls don't seem to make any difference. In order to stop the

[Mesa-dev] [PATCH 3/4] etnaviv: enable full overwrite in a few more cases

2018-11-15 Thread Lucas Stach
Take into account the render target format when checking if the color mask affects all channels of the RT. This allows to enable full override in a few cases where a non-alpha format is used. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_blend.c | 7 +-- 1 file changed,

[Mesa-dev] [PATCH 1/3] radv: do not initialize DCC as cleared for MSAA textures

2018-11-15 Thread Samuel Pitoiset
This doesn't seem to work, instead always use the fully expanded mode for MSAA textures. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c

[Mesa-dev] [PATCH 3/3] radv: allow to use DCC for MSAA x4 and x8 with the debug option

2018-11-15 Thread Samuel Pitoiset
No CTS regressions on GFX8 now. Still some fails when resolving DCC/MSAA textures on GFX9. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_image.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index

[Mesa-dev] [PATCH 2/3] radv: disable fast color clears for DCC and MSAA textures

2018-11-15 Thread Samuel Pitoiset
This is currently broken. My plan is to re-enable it once I have figured why this breaks a few number of CTS. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_clear.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amd/vulkan/radv_meta_clear.c

[Mesa-dev] [PATCH 0/3] radv: some fixes for DCC/MSAA

2018-11-15 Thread Samuel Pitoiset
Hi, This little series fixes some CTS when DCC is enabled for MSAA textures. It will be easier for me to improve the thing if the current implementation doesn't introduce any CTS regressions. This is still disabled by default for now anyways. Please review, Thanks! Samuel Pitoiset (3): radv:

Re: [Mesa-dev] [PATCH] intel/compiler: Disassemble GEN6_SFID_DATAPORT_SAMPLER_CACHE as dp_sampler

2018-11-15 Thread Jason Ekstrand
Rb On November 15, 2018 00:42:45 Sagar Ghuge wrote: Both BRW_SFID_SAMPLER and GEN6_SFID_DATAPORT_SAMPLER_CACHE are getting disassembled as "sampler", which is misleading for assembler tool. Signed-off-by: Sagar Ghuge --- src/intel/compiler/brw_disasm.c | 2 +- 1 file changed, 1 insertion(+),

[Mesa-dev] [PATCH v5] virgl: native fence fd support

2018-11-15 Thread Robert Foss
Following the support for fences on the virtio driver add support for native fence on virgl. This was somewhat based on the freedeno one. Signed-off-by: Gustavo Padovan Signed-off-by: Robert Foss Reviewed-by: Emil Velikov --- Sorry about the spam, but I realized Emils r-b wasn't included in

[Mesa-dev] [ANNOUNCE] mesa 18.2.5

2018-11-15 Thread Juan A. Suarez Romero
Mesa 18.2.5 is now available. In this release we have: A patch for nine state tracker that fixes several crashes using nine's thread_submit feature. There are other patches to other state trackers. A couple of patches for Meson build system, as well as for autotools. In the drivers side, there

[Mesa-dev] [PATCH v6 8/8] mesa/main: Expose EXT_sRGB_write_control

2018-11-15 Thread Gert Wollny
From: Gert Wollny Use EXT_framebuffer_sRGB to expose EXT_sRGB_write_control on GLES. Remove the checks for desktion GL in the enable calls, since EXT_framebuffer_sRGB now also indicates support for switching the linear-sRGB color space conversion on GLES. This patch enables and makes pass

[Mesa-dev] [PATCH v6 3/8] mesa:main: Add flag for EXT_sRGB to gl_extensions

2018-11-15 Thread Gert Wollny
From: Gert Wollny EXT_sRGB is an (incomplete) GLES extension that provides support for sRGB framebuffer attachments, hence it can be used to check for this support as an alternative to EXT_framebuffer_sRGB that provides the same functionality but also sRGB write control support. However, since

[Mesa-dev] [PATCH v6 5/8] mesa/st: rework support for sRGB framebuffer attachements

2018-11-15 Thread Gert Wollny
From: Gert Wollny For GLES sRGB framebuffer attachemnt support is provided in two steps: (1) sRGB attachments like described in EXT_sRGB (and GLES 3.0) that enable linear to sRGB color space transformation automatically, and (2) the ability to switch formats of the render target surface between

[Mesa-dev] [PATCH v6 7/8] mesa/main/version: Lower the requirements for GLES 3.0

2018-11-15 Thread Gert Wollny
From: Gert Wollny GLES 3.0 does not actually require support for EXT_framebuffer_sRGB, it only needs support for sRGB attachments to framebuffers and framebuffer objects as defined in ARB_framebuffer_objects. v2: Clarify that ARB_framebuffer_objects is needed. Signed-off-by: Gert Wollny ---

[Mesa-dev] [PATCH v6 6/8] mesa/main: Use flag for EXT_sRGB instead of EXT_framebuffer_sRGB where possible

2018-11-15 Thread Gert Wollny
From: Gert Wollny All drivers that support EXT_framebuffer_sRGB also support EXT_sRGB, but in order to keep this commit minimal, and not to break any drivers both flags are checked. v2: - Use only EXT_sRGB (Ilia Mirkin) - Move adding the flag EXT_sRGB to gl_extensions to a separate patch

[Mesa-dev] [PATCH v6 1/8] Gallium: Add new CAPS to indicate whether a driver can switch SRGB write

2018-11-15 Thread Gert Wollny
From: Gert Wollny Add a new cap that indicates whether the drivers supports enabling/disabling the conversion from linear space to sRGB for a framebuffer attachment. In Driver terms that this CAP indicates whether the driver can switch between a linear and and a sRGB surface format for draw

[Mesa-dev] [PATCH v6 2/8] virgl: Set sRGB write control CAP based on host capabilities

2018-11-15 Thread Gert Wollny
From: Gert Wollny v2: - Use the renamed CAPS - add assertions to make sure that mesa doesn't try to switch destination surface formats when it is not supported. (Ilia Mirkin) Signed-off-by: Gert Wollny --- src/gallium/drivers/virgl/virgl_context.c | 10 ++

[Mesa-dev] [PATCH v6 4/8] i965: Set flag for EXT_sRGB

2018-11-15 Thread Gert Wollny
From: Gert Wollny Signed-off-by: Gert Wollny --- src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index d7e02efb54..ca369e39f2 100644 ---

[Mesa-dev] [PATCH v6 0/8] Add and enable extension EXT_sRGB_write_control

2018-11-15 Thread Gert Wollny
From: Gert Wollny Dear all, after the RFC and Ilias comments I reworked the series another time. Changes with respect to the RFC are - renaming the new CAP - reordering of the patches that no double checking of EXT_sRGB and EXT_framebuffer_sRGB is needed. thanks for reviewing,

[Mesa-dev] [PATCH v4] virgl: native fence fd support

2018-11-15 Thread Robert Foss
Following the support for fences on the virtio driver add support for native fence on virgl. This was somewhat based on the freedeno one. Signed-off-by: Gustavo Padovan Signed-off-by: Robert Foss --- This patch has been tested using Qemu & Virglrenderer. Linux virtgpu fences branch:

Re: [Mesa-dev] [PATCH 0/8] intel: Move shared/SSBO access lowering to NIR

2018-11-15 Thread Samuel Iglesias Gonsálvez
On 14/11/2018 22:38, Jason Ekstrand wrote: > I just sent one more, "nir/lower_io: Add shared to get_io_offset_src" > that's required for the pass to apply properly to shared vairables. > I have reviewed it too. > Do we have any testing of shared variables with anything other than 32 > bits? 

Re: [Mesa-dev] [PATCH 1/2] radv/winsys: remove the max IBs per submit limit for the fallback path

2018-11-15 Thread Bas Nieuwenhuizen
Nice, seems to halve CPU cost of submitting 100 command buffers in 1 submit with the simultaneous use flag set. Reviewed-by: Bas Nieuwenhuizen for the series. On Thu, Nov 15, 2018 at 11:27 AM Samuel Pitoiset wrote: > > The chained submission is the fastest path and it should now > be used more

Re: [Mesa-dev] [PATCH] nir/lower_io: Add shared to get_io_offset_src

2018-11-15 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On 14/11/2018 22:36, Jason Ekstrand wrote: > --- > src/compiler/nir/nir_lower_io.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c > index f3377eaec8f..64424307812 100644 > ---

Re: [Mesa-dev] [PATCH 8/8] intel/compiler: Lower SSBO and shared loads/stores in NIR

2018-11-15 Thread Samuel Iglesias Gonsálvez
On 14/11/2018 00:23, Jason Ekstrand wrote: > We have a bunch of code to do this in the back-end compiler but it's > fairly specific to typed surface messages and the way we emit them. > This breaks it out into NIR were it's easier to do things a bit more > generally. It also means we can easily

Re: [Mesa-dev] [ANNOUNCE] Mesa 18.2.5 release candidate

2018-11-15 Thread Juan A. Suarez Romero
On Tue, 2018-11-13 at 16:26 -0800, Matt Turner wrote: > On Mon, Nov 12, 2018 at 8:35 AM Juan A. Suarez Romero > wrote: > > Hello list, > > > > The candidate for the Mesa 18.2.5 is now available. Currently we have: > > - 25 queued > > - 0 nominated (outstanding) > > - and 2 rejected patch > >

[Mesa-dev] [PATCH 2/2] radv/winsys: remove the max IBs per submit limit for the sysmem path

2018-11-15 Thread Samuel Pitoiset
This path will be eventually improved later but as it's only used on SI (or with RADV_DEBUG=noibs), I'm not sure if that matters much. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 46 --- 1 file changed, 29 insertions(+), 17 deletions(-)

[Mesa-dev] [PATCH 1/2] radv/winsys: remove the max IBs per submit limit for the fallback path

2018-11-15 Thread Samuel Pitoiset
The chained submission is the fastest path and it should now be used more often than before. This removes some EOP events. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 103 ++ 1 file changed, 55 insertions(+), 48 deletions(-) diff --git

[Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-15 Thread Danylo Piliaiev
Handle all cases in calculation of layers count for isl_view taking into account texture view and image unit. st_convert_image was taken as a reference. When u->Layered is true the whole level is taken with respect to image view. In other case only one layer is taken. v3: (Józef Kucia and Ilia

[Mesa-dev] [PATCH] radv: don't force clearing the stencil aspect for LOAD_OP_DONT_CARE

2018-11-15 Thread Samuel Pitoiset
This has been initially added for a Sascha demo (ie. deferredshadows), but as far I can tell this seems to no longer be needed. No CTS changes on GFX9 and I didn't find a game that is affected. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 3 --- 1 file changed, 3

Re: [Mesa-dev] [PATCH 2/2] radv: enable primitive binning by default

2018-11-15 Thread Bas Nieuwenhuizen
On Thu, 15 Nov 2018, 10:11 Samuel Pitoiset After doing a bunch of benchmarks, primitive binning helps > some games like The Talos Principle (+5%) or Serious Sam 2017 > (+3%). For other titles, either it doesn't change anything or > it hurts very few (less than 1%). > > This only affects GFX9. > >

[Mesa-dev] [Bug 108742] Battlefield 4 in Wine Freezes when joining games since ~mesa-18.2.3

2018-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108742 --- Comment #1 from coolo...@gmail.com --- Seems to definitely be a mesa issue and not llvm, built mesa 18.2.0 with latest llvm and the issue does not occur. Will attempt to bisect -- You are receiving this mail because: You are the QA Contact

Re: [Mesa-dev] [PATCH 10/9] bin/get-pick-list.sh: handle reverts prior to the branchpoint

2018-11-15 Thread Juan A. Suarez Romero
On Wed, 2018-11-14 at 18:52 +, Emil Velikov wrote: > On Wed, 14 Nov 2018 at 18:51, Emil Velikov wrote: > > From: Emil Velikov > > > > Currently we detect when a breaking commit: > > - has landed in stable, and > > - is referenced by a untagged fix in master > > > > Yet we did not

Re: [Mesa-dev] [PATCH 2/9] bin/get-pick-list.sh: prefix output with "[stable] "

2018-11-15 Thread Juan A. Suarez Romero
On Thu, 2018-11-08 at 15:05 +, Emil Velikov wrote: > From: Emil Velikov > > With later commits we'll fold all the different scripts into one. > Add the explicit prefix, so that we know the origin of the nomination > > v2: > - pass the sha as argument to the function > - drop $tag = none

Re: [Mesa-dev] [PATCH 2/2] radv: force-enable primitive binning for The Talos Principle

2018-11-15 Thread Samuel Pitoiset
On 11/15/18 10:07 AM, Bas Nieuwenhuizen wrote: On Thu, Nov 15, 2018 at 9:06 AM Samuel Pitoiset wrote: On 11/15/18 12:16 AM, Bas Nieuwenhuizen wrote: On Wed, Nov 14, 2018 at 5:32 PM Samuel Pitoiset wrote: On 11/14/18 5:28 PM, Bas Nieuwenhuizen wrote: On Wed, Nov 14, 2018 at 5:26 PM

[Mesa-dev] [PATCH 1/2] radv: add a debug option for disabling primitive binning

2018-11-15 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_debug.h | 1 + src/amd/vulkan/radv_device.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index 9fe4c3b740..397d567961 100644 --- a/src/amd/vulkan/radv_debug.h +++

[Mesa-dev] [PATCH 2/2] radv: enable primitive binning by default

2018-11-15 Thread Samuel Pitoiset
After doing a bunch of benchmarks, primitive binning helps some games like The Talos Principle (+5%) or Serious Sam 2017 (+3%). For other titles, either it doesn't change anything or it hurts very few (less than 1%). This only affects GFX9. Signed-off-by: Samuel Pitoiset ---

Re: [Mesa-dev] [PATCH 2/2] radv: force-enable primitive binning for The Talos Principle

2018-11-15 Thread Bas Nieuwenhuizen
On Thu, Nov 15, 2018 at 9:06 AM Samuel Pitoiset wrote: > > > > On 11/15/18 12:16 AM, Bas Nieuwenhuizen wrote: > > On Wed, Nov 14, 2018 at 5:32 PM Samuel Pitoiset > > wrote: > >> > >> > >> > >> On 11/14/18 5:28 PM, Bas Nieuwenhuizen wrote: > >>> On Wed, Nov 14, 2018 at 5:26 PM Samuel Pitoiset >

Re: [Mesa-dev] [PATCH v2] i965/glsl: don't add unused aoa element to the program resource list

2018-11-15 Thread Tapani Pälli
Hi; On 11/13/18 4:28 AM, Timothy Arceri wrote: Sorry for not getting back sooner on this one. I'm leaning towards a NAK on this one. This is just under 300 new lines of code to work around a possibly over strict piglit test. While the test is not wrong an implementation is also not required

Re: [Mesa-dev] [PATCH 2/2] radv: force-enable primitive binning for The Talos Principle

2018-11-15 Thread Samuel Pitoiset
On 11/15/18 12:16 AM, Bas Nieuwenhuizen wrote: On Wed, Nov 14, 2018 at 5:32 PM Samuel Pitoiset wrote: On 11/14/18 5:28 PM, Bas Nieuwenhuizen wrote: On Wed, Nov 14, 2018 at 5:26 PM Samuel Pitoiset wrote: +5% in ultra settings for both 4k and 1080p. Signed-off-by: Samuel Pitoiset ---