Re: [Mesa-dev] [PATCH] gallium: trace: Add missing fence related wrappers

2019-04-09 Thread Guido Günther
Hi, On Fri, Mar 29, 2019 at 05:48:31PM +0100, Guido Günther wrote: > Without that kmscube with GALLIUM_TRACE would segfault like: > > #0 0x in () > #1 0x8f311760 in dri2_create_fence_fd (_ctx=0xe266b8b0, fd=10) > at ../src/gallium/sta

[Mesa-dev] [PATCH] gallium/u_dump: util_dump_sampler_view: Dump u.tex.first_level

2019-04-03 Thread Guido Günther
Dump u.tex.first_level instead of dumping u.tex.last_level twice. Signed-off-by: Guido Günther --- src/gallium/auxiliary/util/u_dump_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c

Re: [Mesa-dev] [PATCH] gallium: ddebug: Add missing fence related wrappers

2019-04-03 Thread Guido Günther
Hi, On Wed, Apr 03, 2019 at 12:43:05PM +0200, Lucas Stach wrote: > Hi Guido, > > Am Montag, den 01.04.2019, 14:19 +0200 schrieb Guido Günther: > > Without that `GALLIUM_DDEBUG=always kmscube -A` would segfault like > > > >   #0  0x in  () &

[Mesa-dev] [PATCH v2] gallium: ddebug: Add missing fence related wrappers

2019-04-03 Thread Guido Günther
0xbd401000 in () Signed-off-by: Guido Günther --- Changes from v1: - Drop duplicate dd_context_flush() as noticed by Lucas Stach --- .../auxiliary/driver_ddebug/dd_context.c | 27 +++ .../auxiliary/driver_ddebug/dd_screen.c | 10 +++ 2 files changed, 37 insertions(+) diff

Re: [Mesa-dev] [PATCH 2/2] etnaviv: flush all pending contexts when accessing a resource with the CPU

2019-04-02 Thread Guido Günther
s { > + set_foreach(rsc->pending_ctx, entry) { > +struct etna_context *pend_ctx = (struct etna_context > *)entry->key; > +struct pipe_context *pend_pctx = _ctx->base; > + > +pend_pctx->flush(pend_pctx, NULL, 0); > +

[Mesa-dev] [PATCH] docs: Fix 19.0.x version numbers

2019-04-01 Thread Guido Günther
The list has 19.0.2 twice. Signed-off-by: Guido Günther --- docs/release-calendar.html | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/release-calendar.html b/docs/release-calendar.html index 0b0bb138b12..35965f68de8 100644 --- a/docs/release-calendar.html +++ b

[Mesa-dev] [PATCH] gallium: ddebug: Add missing fence related wrappers

2019-04-01 Thread Guido Günther
0xbd401000 in () Signed-off-by: Guido Günther --- This is similar in spirit to the patches for GALLIUM_TRACE send out earlier. .../auxiliary/driver_ddebug/dd_context.c | 40 +++ .../auxiliary/driver_ddebug/dd_screen.c | 10 + 2 files changed, 50 insertions(+) diff --git

[Mesa-dev] [PATCH] gallium: trace: Add missing fence related wrappers

2019-03-29 Thread Guido Günther
0x90776be4 in eglCreateSyncKHR (dpy=0xe26691f0, type=12612, int_list=0xf662e828) at ../src/egl/main/eglapi.c:1848 Signed-off-by: Guido Günther --- .../auxiliary/driver_trace/tr_context.c | 44 +++ .../auxiliary/driver_trace/tr_screen.c| 24 ++ 2

Re: [Mesa-dev] [PATCH 1/2] etnaviv: don't flush own context when updating resource use

2019-03-29 Thread Guido Günther
in our context. > + * In both cases the new status accurately reflects the resource use > + * after the flush. > + */ > + rsc->status = 0; >} > - rsc->status = 0; > } > > rsc->status |= status; Rev

Re: [Mesa-dev] [PATCH v5] etnaviv: fix resource usage tracking across different pipe_context's

2019-02-01 Thread Guido Günther
ev@lists.freedesktop.org > Cc: etna...@lists.freedesktop.org Tested-By: Guido Günther I'm not bold enough to add a Reviewed-By: Guido Günther Cheers, -- Guido > --- > Changes from v1 -> v2: > - to remove the resource from the used_resources set when it is destroyed &g

Re: [Mesa-dev] [PATCH v4] etnaviv: fix resource usage tracking across different pipe_context's

2019-01-28 Thread Guido Günther
Hi, On Wed, Jan 16, 2019 at 12:14:43PM +0100, Lucas Stach wrote: > Am Samstag, den 12.01.2019, 22:22 +0100 schrieb Marek Vasut: > > > From: Christian Gmeiner > > > > A pipe_resource can be shared by all the pipe_context's hanging off the > > same pipe_screen. > > > > > Signed-off-by: Christian

Re: [Mesa-dev] [PATCH v4] etnaviv: fix resource usage tracking across different pipe_context's

2019-01-28 Thread Guido Günther
Hi, just style nits: On Sat, Jan 12, 2019 at 10:22:20PM +0100, Marek Vasut wrote: > From: Christian Gmeiner > > A pipe_resource can be shared by all the pipe_context's hanging off the > same pipe_screen. > > Signed-off-by: Christian Gmeiner > Signed-off-by: Marek Vasut > To:

[Mesa-dev] [PATCH] etnaviv_screen: Fix typo in cflush_all description

2019-01-07 Thread Guido Günther
Signed-off-by: Guido Günther --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index fb51aa5f4e8..fd320232528 100644 --- a/src/gallium

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

2018-10-09 Thread 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: target=2, > format=PIPE_FORMAT_B8G8R8X8_UNORM, 1080x1920x1, array_si

[Mesa-dev] [PATCH] etnaviv: Use write combine instead of unached mappings for shader bo

2018-10-01 Thread Guido Günther
The later are sensitive to unalligned accesses on arm64[1] and we don't need an uncached mapping here. [1]: https://lists.freedesktop.org/archives/etnaviv/2018-September/001956.html Signed-off-by: Guido Günther --- src/gallium/drivers/etnaviv/etnaviv_shader.c | 2 +- 1 file changed, 1

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

2018-09-17 Thread Guido Günther
by baff59ebf07a114f95ad66d1f54e4b1f409eebee Signed-off-by: Guido Günther --- .../drivers/etnaviv/etnaviv_resource.c| 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_resource.c b/src/gallium/drivers/etnaviv/etnaviv_resource.c index

Re: [Mesa-dev] [PATCH 0/2] Introduce and use cap for MaxVertexAttribRelativeOffset.

2018-09-10 Thread Guido Günther
Hi, On Thu, Sep 06, 2018 at 04:31:12PM +0200, mathias.froehl...@gmx.net wrote: > From: Mathias Fröhlich > > Hi all, > > The following two patches introduce a gallium capability > to feed gl_constants::MaxVertexAttribRelativeOffset. > Then adapt etnyviv to return what it can really handle. >

Re: [Mesa-dev] [PATCH 2/2] etnaviv: Reduce max offset to available hardware bits.

2018-09-10 Thread Guido Günther
Hi, On Thu, Sep 06, 2018 at 04:31:14PM +0200, mathias.froehl...@gmx.net wrote: > From: Mathias Fröhlich > > Signed-off-by: Mathias Fröhlich I know it's pushed already but for the record (Just came back form vacation): Tested-By: Guido Gúnther > --- >

Re: [Mesa-dev] Etnaviv on mesa master vs. Array._DrawVAO

2018-09-01 Thread Guido Günther
Hi, On Sat, Sep 01, 2018 at 09:07:46AM +0200, Mathias Fröhlich wrote: > Hi, > > On Friday, 31 August 2018 12:40:01 CEST Guido Günther wrote: > > Hi, > > I'm looking into forward porting laanwj's patches for GC7000 support to > > current mesa master. Luckily most of

[Mesa-dev] Etnaviv on mesa master vs. Array._DrawVAO

2018-08-31 Thread Guido Günther
Hi, I'm looking into forward porting laanwj's patches for GC7000 support to current mesa master. Luckily most of it already got merged last November with mostly only the texture descriptor support missing( https://github.com/laanwj/mesa/commit/b71802207432543745dff471c68fbc40495b4858) Putting

Re: [Mesa-dev] [PATCH 1/2] meson: Be a bit more helpful when arch or OS is unknown

2018-08-27 Thread Guido Günther
Hi, On Mon, Aug 27, 2018 at 09:23:44AM -0700, Dylan Baker wrote: > Quoting Guido Günther (2018-08-26 13:23:59) > > V2: Add one missing @0@ > > > > Signed-off-by: Guido Günther > > --- > > meson.build | 21 ++--- > > 1 file changed, 14 inse

[Mesa-dev] [PATCH 1/2] meson: Be a bit more helpful when arch or OS is unknown

2018-08-26 Thread Guido Günther
V2: Add one missing @0@ Signed-off-by: Guido Günther --- meson.build | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 1b3dfa221c9..c3a7e8cdd74 100644 --- a/meson.build +++ b/meson.build @@ -102,13 +102,15

[Mesa-dev] [PATCH 2/2] meson: Don't enable any vulkan drivers on arm, aarch64

2018-08-26 Thread Guido Günther
There's no Vulkan support for arm atm. Signed-off-by: Guido Günther --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index c3a7e8cdd74..7f6f128e0b2 100644 --- a/meson.build +++ b/meson.build @@ -179,6 +179,8 @@ if _vulkan_drivers.contains('auto

Re: [Mesa-dev] [PATCH 1/2] meson: Be a bit more helpful when arch or OS is unknown

2018-08-26 Thread Guido Günther
Hi, On Sat, Aug 25, 2018 at 05:18:33PM +1000, Stuart Young wrote: >On Fri, 24 Aug 2018 at 22:23, Guido Günther <[1]a...@sigxcpu.org> wrote: > > @@ -230,7 +236,8 @@ if _platforms.contains('auto') >    elif ['haiku'].contains(host_machine.system()) >    

Re: [Mesa-dev] [PATCH 2/2] meson: Enable readeon vulkan driver on arm, aarch64

2018-08-26 Thread Guido Günther
Hi, On Sun, Aug 26, 2018 at 10:15:38AM -0700, Dylan Baker wrote: > Quoting Guido Günther (2018-08-24 05:22:06) > > This is similar to what the Debian package does so it looks like a sane > > default. > > > > Signed-off-by: Guido Günther > > --- > > me

[Mesa-dev] [PATCH 2/2] meson: Enable readeon vulkan driver on arm, aarch64

2018-08-24 Thread Guido Günther
This is similar to what the Debian package does so it looks like a sane default. Signed-off-by: Guido Günther --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index ccc0ed6a0ea..bf8f0770915 100644 --- a/meson.build +++ b/meson.build @@ -179,6

[Mesa-dev] [PATCH 1/2] meson: Be a bit more helpful when arch or OS is unknown

2018-08-24 Thread Guido Günther
Signed-off-by: Guido Günther --- meson.build | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 1b3dfa221c9..ccc0ed6a0ea 100644 --- a/meson.build +++ b/meson.build @@ -102,13 +102,15 @@ if _drivers.contains('auto') elif