[Mesa-dev] [PATCH] radv/gfx10: set the pgm rsrc3/4 regs using index sh reg set

2019-07-15 Thread Dave Airlie
From: Dave Airlie This is ported from AMDVLK, it's probably not requires unless we want to use "real time queues", but it might be nice to just have in place. --- src/amd/common/sid.h | 1 + src/amd/vulkan/radv_cs.h | 18 +++ src/amd/vulkan/si_cmd_buffer.c | 42

[Mesa-dev] [Bug 108596] [RADV] Implement a HUD for monitoring GPU/CPU loads, FPS, temperature and more

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108596 Shmerl changed: What|Removed |Added CC||shtetl...@gmail.com -- You are receiving

Re: [Mesa-dev] [PATCH] radv/gfx10: don't set array pitch field on images

2019-07-15 Thread Bas Nieuwenhuizen
r-b On Tue, Jul 16, 2019 at 1:25 AM Dave Airlie wrote: > > From: Dave Airlie > > Setting this seems to be broken, amdvlk only sets it for quilted > textures which I'm not sure what those are. > > Fixes: dEQP-VK.glsl.texture_functions.query.texturesize*3d* > --- > src/amd/vulkan/radv_image.c |

[Mesa-dev] [PATCH] radv/gfx10: don't set array pitch field on images

2019-07-15 Thread Dave Airlie
From: Dave Airlie Setting this seems to be broken, amdvlk only sets it for quilted textures which I'm not sure what those are. Fixes: dEQP-VK.glsl.texture_functions.query.texturesize*3d* --- src/amd/vulkan/radv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mesa-dev] [Bug 111141] [REGRESSION] [BISECTED] [DXVK] 1-bit booleans and Elite Dangerous shader mis-optimization

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41 Bug ID: 41 Summary: [REGRESSION] [BISECTED] [DXVK] 1-bit booleans and Elite Dangerous shader mis-optimization Product: Mesa Version: 19.0 Hardware: All

Re: [Mesa-dev] [PATCH] radv: remove unused code in radv_export_param()

2019-07-15 Thread Bas Nieuwenhuizen
R-b On Mon, Jul 15, 2019, 8:49 AM Samuel Pitoiset wrote: > It was hack for geometry shaders. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_nir_to_llvm.c | 16 +--- > 1 file changed, 1 insertion(+), 15 deletions(-) > > diff --git a/src/amd/vulkan/radv_nir_to_llvm.c

Re: [Mesa-dev] [PATCH] radv/gfx10: add missing conversions for 16-bit exports

2019-07-15 Thread Bas Nieuwenhuizen
And R-b after suggestion On Mon, Jul 15, 2019, 11:22 PM Bas Nieuwenhuizen wrote: > > > On Mon, Jul 15, 2019, 10:45 AM Samuel Pitoiset > wrote: > >> This fixes >> dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_* >> >> Found with RADV_DEBUG=checkir >> >> Signed-off-by:

Re: [Mesa-dev] [PATCH] radv/gfx10: add missing conversions for 16-bit exports

2019-07-15 Thread Bas Nieuwenhuizen
On Mon, Jul 15, 2019, 10:45 AM Samuel Pitoiset wrote: > This fixes > dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_* > > Found with RADV_DEBUG=checkir > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_nir_to_llvm.c | 9 + > 1 file changed, 9

Re: [Mesa-dev] [PATCH] pipe-loader: use radeonsi for MM if amdgpu dri is used

2019-07-15 Thread Christian König
Am 15.07.19 um 16:15 schrieb Michel Dänzer: On 2019-07-15 4:11 p.m., Newton, Jeremy wrote: Sorry about that, I've only used git email maybe three times in my life :) Nothing to apologize for, everybody has to learn that kind of thing. :) To be honest even after more than a decade I still get

[Mesa-dev] [Bug 102122] [softpipe] piglit fdo10370 regression

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102122 Mark Janes changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 103748] [softpipe] pigilt arb_internalformat_query2-image-texture regression

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103748 Mark Janes changed: What|Removed |Added Keywords|regression | -- You are receiving this mail because:

Re: [Mesa-dev] [PATCH] radv/gfx10: enable OC_LDS_EN for NGG GS if the ES stage is TES

2019-07-15 Thread Bas Nieuwenhuizen
r-b On Mon, Jul 15, 2019 at 6:46 PM Samuel Pitoiset wrote: > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_shader.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c > index

[Mesa-dev] [Bug 110663] threads_posix.h:96: undefined reference to `pthread_once'

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110663 Vinson Lee changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Mesa-dev] [PATCH] radv/gfx10: enable OC_LDS_EN for NGG GS if the ES stage is TES

2019-07-15 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_shader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index f6b0297d4a3..1e9399de193 100644 --- a/src/amd/vulkan/radv_shader.c +++

[Mesa-dev] [Bug 109615] >=19.0.0 fails u_format_test on ppc64

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109615 erhar...@mailbox.org changed: What|Removed |Added Summary|19.0.0_rc4 fails|>=19.0.0 fails

Re: [Mesa-dev] [PATCH] pipe-loader: use radeonsi for MM if amdgpu dri is used

2019-07-15 Thread Eric Engestrom
On 2019-07-15 at 16:01, Jeremy Newton wrote: > Thanks Marek and Michel, see the updated patch below: > > The amdgpu dri is used for the closed source AMD driver. Since this driver > does not implement multimedia, we fall back to radeonsi in mesa to do > multimedia. This corrects the Gallium

Re: [Mesa-dev] [PATCH] pipe-loader: use radeonsi for MM if amdgpu dri is used

2019-07-15 Thread Michel Dänzer
On 2019-07-15 4:11 p.m., Newton, Jeremy wrote: > Sorry about that, I've only used git email maybe three times in my life :) Nothing to apologize for, everybody has to learn that kind of thing. :) -- Earthling Michel Dänzer | https://www.amd.com Libre software

Re: [Mesa-dev] [PATCH] pipe-loader: use radeonsi for MM if amdgpu dri is used

2019-07-15 Thread Jeremy Newton
Sorry about that, I've only used git email maybe three times in my life :) On Mon, Jul 15, 2019 at 10:00 AM Jeremy Newton wrote: > Thanks Marek and Michel, see the updated patch below: > > The amdgpu dri is used for the closed source AMD driver. Since this driver > does not implement

Re: [Mesa-dev] [PATCH] pipe-loader: use radeonsi for MM if amdgpu dri is used

2019-07-15 Thread Michel Dänzer
On 2019-07-15 3:58 p.m., Jeremy Newton wrote: > Thanks Marek and Michel, see the updated patch below: FYI, this kind of commentary should be after the --- line, or it will be included as part of the Git commit log by tools like "git am". > The amdgpu dri is used for the closed source AMD

[Mesa-dev] [PATCH] pipe-loader: use radeonsi for MM if amdgpu dri is used

2019-07-15 Thread Jeremy Newton
Thanks Marek and Michel, see the updated patch below: The amdgpu dri is used for the closed source AMD driver. Since this driver does not implement multimedia, we fall back to radeonsi in mesa to do multimedia. This corrects the Gallium driver name for when it is set to amdgpu. This will allow

Re: [Mesa-dev] [PATCH v5 4/5] st/dri2: Implement DRI2bufferDamageExtension

2019-07-15 Thread Boris Brezillon
On Mon, 15 Jul 2019 09:23:43 +0200 Boris Brezillon wrote: > Hello Marek, > > On Tue, 2 Jul 2019 20:09:23 +0200 > Boris Brezillon wrote: > > > On Tue, 2 Jul 2019 13:21:31 -0400 > > Marek Olšák wrote: > > > > > On Tue., Jul. 2, 2019, 09:50 Boris Brezillon, > > > wrote: > > > > > > >

[Mesa-dev] [PATCH v6 5/5] panfrost: Add support for KHR_partial_update()

2019-07-15 Thread Boris Brezillon
Implement ->set_damage_region() region to support partial updates. This is a dummy implementation in that it does not try to merge damage rects. It also does not deal with distinct regions and instead pick the largest quad as the only damage rect and generate up to 4 reload rects out of it (the

[Mesa-dev] [PATCH v6 4/5] st/dri2: Implement DRI2bufferDamageExtension

2019-07-15 Thread Boris Brezillon
From: Daniel Stone Add a pipe_screen->set_damage_region() hook to propagate set-damage-region requests to the driver, it's then up to the driver to decide what to do with this piece of information. If the hook is left unassigned, the buffer-damage extension is considered unsupported.

[Mesa-dev] [PATCH v6 2/5] dri_interface: add DRI2_BufferDamage interface

2019-07-15 Thread Boris Brezillon
From: Daniel Stone Add a new DRI2_BufferDamage interface to support the EGL_KHR_partial_update extension, informing the driver of an overriding scissor region for a particular drawable. Based on a commit originally authored by: Harish Krupo renamed extension, retargeted at DRI drawable instead

[Mesa-dev] [PATCH v6 1/5] egl/android: Delete set_damage_region from egl dri vtbl

2019-07-15 Thread Boris Brezillon
From: Harish Krupo The intension of the KHR_partial_update was not to send the damage back to the platform but to send the damage to the driver to ensure that the following rendering could be restricted to those regions. This patch removes the set_damage_region from the egl_dri vtbl and all the

[Mesa-dev] [PATCH v6 3/5] egl/dri: Use __DRI2_BUFFER_DAMAGE extension for KHR_partial_update

2019-07-15 Thread Boris Brezillon
From: Harish Krupo Use the DRI2 interface callback to pass the damage rects to the driver. Signed-off-by: Harish Krupo Signed-off-by: Boris Brezillon Acked-by: Alyssa Rosenzweig Reviewed-by: Qiang Yu Tested-by: Qiang Yu --- Changes in v6: * None Changes in v5: * Add Alyssa's a-b * Update

[Mesa-dev] [PATCH v6 0/5] EGL_KHR_partial_update support

2019-07-15 Thread Boris Brezillon
This is an attempt at resurrecting Daniel's MR [1] which was already resurrecting Harish's EGL_KHR_partial_update series [2]. This version implements Marek's suggestion to pass the set_damage_region() directly to the gallium driver and let it decide how to handle the request. Some drivers might

[Mesa-dev] [Bug 111126] Build problem: meson build can not find wayland-scanner

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26 Denis changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Denis --- Hi.

[Mesa-dev] [AppVeyor] mesa staging/19.1 #11876 completed

2019-07-15 Thread AppVeyor
Build mesa 11876 completed Commit 17dc693590 by Eric Anholt on 5/13/2019 11:58 PM: freedreno: Fix assertion failures in context setup in shader-db mode.\n\nCherry-picks a0d4d7febff56ec7f4a4396f7b893319958f97d3 upstream\n\nThe TTN path needs access to the

[Mesa-dev] [AppVeyor] mesa staging/19.1 #11875 failed

2019-07-15 Thread AppVeyor
Build mesa 11875 failed Commit 17dc693590 by Eric Anholt on 5/13/2019 11:58 PM: freedreno: Fix assertion failures in context setup in shader-db mode.\n\nCherry-picks a0d4d7febff56ec7f4a4396f7b893319958f97d3 upstream\n\nThe TTN path needs access to the screen

[Mesa-dev] [Bug 111123] Display issues AMD RAVEN Ryzen 5 3400G APU

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23 Michel Dänzer changed: What|Removed |Added Version|git |unspecified

[Mesa-dev] [Bug 111126] Build problem: meson build can not find wayland-scanner

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26 Andre Klapper changed: What|Removed |Added Blocks|32 | -- You are receiving this mail

[Mesa-dev] [Bug 111130] Panfrost: add current status to docs/features.txt

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30 Andre Klapper changed: What|Removed |Added Blocks|33 | -- You are receiving this mail

[Mesa-dev] [PATCH] radv/gfx10: add missing conversions for 16-bit exports

2019-07-15 Thread Samuel Pitoiset
This fixes dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_* Found with RADV_DEBUG=checkir Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_nir_to_llvm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/amd/vulkan/radv_nir_to_llvm.c

Re: [Mesa-dev] [PATCH v5 4/5] st/dri2: Implement DRI2bufferDamageExtension

2019-07-15 Thread Boris Brezillon
Hello Marek, On Tue, 2 Jul 2019 20:09:23 +0200 Boris Brezillon wrote: > On Tue, 2 Jul 2019 13:21:31 -0400 > Marek Olšák wrote: > > > On Tue., Jul. 2, 2019, 09:50 Boris Brezillon, > > wrote: > > > > > From: Daniel Stone > > > > > > Add a pipe_screen->set_damage_region() hook to propagate

[Mesa-dev] [PATCH] radv: remove unused code in radv_export_param()

2019-07-15 Thread Samuel Pitoiset
It was hack for geometry shaders. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_nir_to_llvm.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 00c7df8574b..a5eb8404108

[Mesa-dev] [Bug 111130] Panfrost: add current status to docs/features.txt

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30 Vaishali changed: What|Removed |Added Blocks||33 Referenced Bugs:

[Mesa-dev] [Bug 111133] Panfrost: add current status to docs/features.txt

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33 Bug ID: 33 Summary: Panfrost: add current status to docs/features.txt Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW

[Mesa-dev] [Bug 111132] Build problem: meson build can not find wayland-scanner

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32 Bug ID: 32 Summary: Build problem: meson build can not find wayland-scanner Product: DRI Version: unspecified Hardware: Other OS: All

[Mesa-dev] [Bug 111126] Build problem: meson build can not find wayland-scanner

2019-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26 Vaishali changed: What|Removed |Added Blocks||32 Referenced Bugs: