[Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-14 Thread Alexandre
own thread pool in CreateThreadPool in swr/rasterizer/core/api.cpp Is there a way to have a single “static” thread-pool shared across all contexts ? Thank you Alexandre ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https

Re: [Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-17 Thread Alexandre
On 16 May 2018, at 14:34, Cherniak, Bruce wrote: > >> >> On May 14, 2018, at 8:59 AM, Alexandre > <mailto:alexandre.gauthier-foic...@inria.fr>> wrote: >> >> Hello, >> >> Sorry for the inconvenience if this message is not appropriate for thi

Re: [Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-20 Thread Alexandre
hread-pool), see https://github.com/halide/Halide/issues/129 <https://github.com/halide/Halide/issues/129> - AMD HIP or NVIDIA Cuda (the latter can only run on Nvidia which we don’t want to be tied to) In the meantime, I will try to play around with the number of threads, while wa

[Mesa-dev] [PATCH] nvc0: create screen fence objects with coherent attribute

2015-06-19 Thread Alexandre Courbot
be affected by this patch. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index

[Mesa-dev] [PATCH v3 0/2] nouveau: support for custom VRAM domains

2015-06-19 Thread Alexandre Courbot
domain explicitly. Alexandre Courbot (2): nouveau: support for custom VRAM domains nvc0: use NV_VRAM_DOMAIN() macro src/gallium/drivers/nouveau/nouveau_buffer.c | 6 ++ src/gallium/drivers/nouveau/nouveau_screen.c | 10 ++ src/gallium/drivers/nouveau

[Mesa-dev] [PATCH v3 1/2] nouveau: support for custom VRAM domains

2015-06-19 Thread Alexandre Courbot
place of NOUVEAU_BO_VRAM to ensure correct behavior on VRAM-less chips. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_screen.c | 10 ++ src/gallium/drivers/nouveau/nouveau_screen.h | 4 2 files changed, 14 insertions(+) diff --git a/src/gallium/drivers

[Mesa-dev] [PATCH v3 2/2] nvc0: use NV_VRAM_DOMAIN() macro

2015-06-19 Thread Alexandre Courbot
Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative VRAM domains for chips that do not have dedicated video memory. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_buffer.c | 6 ++ src/gallium/drivers/nouveau/nv50/nv50_miptree.c

Re: [Mesa-dev] [PATCH v3 2/2] nvc0: use NV_VRAM_DOMAIN() macro

2015-06-19 Thread Alexandre Courbot
On Fri, Jun 19, 2015 at 10:55 PM, Ilia Mirkin wrote: > On Fri, Jun 19, 2015 at 6:02 AM, Alexandre Courbot > wrote: >> Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative >> VRAM domains for chips that do not have dedicated video memory. >> >> Si

Re: [Mesa-dev] [Nouveau] [PATCH v3 0/2] nouveau: support for custom VRAM domains

2015-06-19 Thread Alexandre Courbot
On Fri, Jun 19, 2015 at 9:38 PM, Ben Skeggs wrote: > On 19 June 2015 at 21:51, Martin Peres wrote: >> On 19/06/2015 13:02, Alexandre Courbot wrote: >>> >>> New revision of this patchset that prevents VRAM objects from being >>> allocated on VRAM-less systems l

[Mesa-dev] [PATCH v4 0/2] nouveau: support for custom VRAM domains

2015-06-21 Thread Alexandre Courbot
ed-by tags Alexandre Courbot (2): nouveau: support for custom VRAM domains nvc0: use NV_VRAM_DOMAIN() macro src/gallium/drivers/nouveau/nouveau_buffer.c | 6 +++--- src/gallium/drivers/nouveau/nouveau_screen.c | 10 ++ src/gallium/drivers/nouveau/nouveau_scr

[Mesa-dev] [PATCH v4 1/2] nouveau: support for custom VRAM domains

2015-06-21 Thread Alexandre Courbot
place of NOUVEAU_BO_VRAM to ensure correct behavior on VRAM-less chips. Signed-off-by: Alexandre Courbot Reviewed-by: Ilia Mirkin Reviewed-by: Martin Peres --- src/gallium/drivers/nouveau/nouveau_screen.c | 10 ++ src/gallium/drivers/nouveau/nouveau_screen.h | 4 2 files changed

[Mesa-dev] [PATCH v4 2/2] nvc0: use NV_VRAM_DOMAIN() macro

2015-06-21 Thread Alexandre Courbot
Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative VRAM domains for chips that do not have dedicated video memory. Signed-off-by: Alexandre Courbot Reviewed-by: Ilia Mirkin Reviewed-by: Martin Peres --- src/gallium/drivers/nouveau/nouveau_buffer.c | 6

[Mesa-dev] [PATCH v2] nvc0: create screen fence objects with coherent attribute

2015-06-30 Thread Alexandre Courbot
be affected by this patch. Also bump the required libdrm version to 2.4.62, which introduced this flag. Signed-off-by: Alexandre Courbot Reviewed-by: Martin Peres --- configure.ac | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 8 ++-- 2 files

Re: [Mesa-dev] [PATCH] nouveau: rename var name for nouveau_vieux to avoid conflict with nouveau

2015-07-01 Thread Alexandre Courbot
issue. Tested-by: Alexandre Courbot Confirmed that configure properly fails on libdrm < 2.4.62 if both the DRI and Gallium drivers are compiled. Signed-off-by: Ilia Mirkin --- configure.ac | 2 +- src/mesa/drivers/dri/nouveau/Makefile.am | 4 ++-- 2 files ch

[Mesa-dev] [PATCH] nvc0: tune PREFER_BLIT_BASED_TEXTURE_TRANSFER capability

2015-07-01 Thread Alexandre Courbot
Prefer blit-based texture transfers only if the chip has dedicated VRAM since it would translate to a copy into the same memory on shared-memory chips. Signed-off-by: Alexandre Courbot Reported-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ++- 1 file changed, 2

Re: [Mesa-dev] [RFC 2/2] gallium: add tegra support

2015-10-13 Thread Alexandre Courbot
On Mon, Oct 12, 2015 at 12:09 AM, Christian Gmeiner wrote: > This commit adds tegra support, which uses the renderonly driver > library. > > Signed-off-by: Christian Gmeiner > --- > configure.ac | 19 +++- > src/gallium/Makefile.am

Re: [Mesa-dev] [PATCH] r600g: Use R600_MAX_VIEWPORTS instead of 16

2015-02-24 Thread Alexandre Demers
You are right, I missed that one. I'll send a v2 to fix it. Alexandre Demers On 2015-02-25 01:36, Ilia Mirkin wrote: On Wed, Feb 25, 2015 at 1:34 AM, Alexandre Demers wrote: Lets define R600_MAX_VIEWPORTS instead of using 16 here and there in the code when looping through viewport

[Mesa-dev] State of Geometry shader instancing on radeonsi

2015-02-25 Thread Alexandre Demers
Hi everyone, I'd like to know if someone is working on Geometry shader instancing for radeonsi or if there is already a work in progress somewhere I would have missed. I might be interested in giving it a try and then on GL_ARB_viewport_array. Cheers. Alexandre D

Re: [Mesa-dev] State of Geometry shader instancing on radeonsi

2015-03-04 Thread Alexandre Demers
Then you can count me as working on ARB_viewport_array. Alexandre Demers On 2015-02-25 14:25, Marek Olšák wrote: Nobody is working on ARB_gpu_shader5 for radeonsi. Marek On Wed, Feb 25, 2015 at 6:41 PM, Ilia Mirkin wrote: On Wed, Feb 25, 2015 at 11:24 AM, Alexandre Demers wrote: Hi

[Mesa-dev] [PATCH] winsys/radeon: (trivial) rename variable for consistency

2016-10-04 Thread Alexandre Demers
Signed-off-by: Alexandre Demers --- src/gallium/drivers/radeon/radeon_uvd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index fb1491a..81fba95 100644 --- a/src/gallium/drivers

Re: [Mesa-dev] [PATCH 1/3] gallium: add renderonly library

2016-12-07 Thread Alexandre Courbot
On 11/30/2016 10:44 PM, Christian Gmeiner wrote: > This a very lightweight library to add basic support for > renderonly GPUs. It does all the magic regarding in/exporting > buffers etc. This library will likely break android support and > hopefully will get replaced with a better solution based on

Re: [Mesa-dev] [PATCH 1/3] gallium: add renderonly library

2016-12-09 Thread Alexandre Courbot
On 12/08/2016 04:16 PM, Alexandre Courbot wrote: > On 11/30/2016 10:44 PM, Christian Gmeiner wrote: >> This a very lightweight library to add basic support for >> renderonly GPUs. It does all the magic regarding in/exporting >> buffers etc. This library will likely brea

Re: [Mesa-dev] [PATCH 1/3] gallium: add renderonly library

2016-12-09 Thread Alexandre Courbot
Hi Daniel, On 12/09/2016 11:13 PM, Daniel Stone wrote: > Hi Alexandre, > > On 9 December 2016 at 13:20, Alexandre Courbot wrote: >> On 12/08/2016 04:16 PM, Alexandre Courbot wrote: >>> First, setting the tiling works indeed just fine if we are using an >>> ioct

Re: [Mesa-dev] [PATCH 1/3] gallium: add renderonly library

2016-12-09 Thread Alexandre Courbot
Hi Emil, On 12/09/2016 11:20 PM, Emil Velikov wrote: > On 9 December 2016 at 13:20, Alexandre Courbot wrote: >> On 12/08/2016 04:16 PM, Alexandre Courbot wrote: >>> On 11/30/2016 10:44 PM, Christian Gmeiner wrote: >>>> This a very lightweight library to add basic su

[Mesa-dev] Possible typo in commit 5ec140c1 - mapi: Massage code to allow clang to compile.

2016-07-21 Thread Alexandre Demers
Hi Matt, I saw your commit 5ec140c1 pass by and I think there is a typo in it. You use "HAVE_FUNC_ATTRIBUTE_VISIBIITY" thrice in the patch and I suspect there is a missing "L" to form "HAVE_FUNC_ATTRIBUTE_VISIBILITY" instead.

[Mesa-dev] docs/GL3.txt not up to date?

2013-10-18 Thread Alexandre Demers
dered completed by a dev if it is truly complete. I know, I can find it by other means, but why not just make sure we are updating the doc at the right moment? My two cents as a tester... -- Alexandre Demers ___ mesa-dev mailing list mes

Re: [Mesa-dev] docs/GL3.txt not up to date?

2013-10-18 Thread Alexandre Demers
On 10/18/2013 06:19 PM, Ian Romanick wrote: On 10/18/2013 11:31 AM, Alexandre Demers wrote: Hi, I was looking at the latest commits and some comments here and there. Is it me or is docs/GL3.txt not up to date? I don't know of you're up to date or not, but GL3.txt almost surely is no

[Mesa-dev] [PATCH] Updating forgotten GL feature completion for r600

2013-10-20 Thread Alexandre Demers
--- docs/GL3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index c269f19..a56e7fe 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -71,7 +71,7 @@ Base vertex offset(GL_ARB_draw_elements_base_vertex) DONE (i965, r300, r600, sw Frag shader coor

Re: [Mesa-dev] [PATCH] Updating forgotten GL feature completion for r600

2013-10-20 Thread Alexandre Demers
I don't have commit rights. I'd appreciate if someone could commit it for me. Also, I think it should be a candidat for 9.2 branch. Alexandre Demers On 10/20/2013 01:56 PM, Marek Olšák wrote: Reviewed-by: Marek Olšák Marek On Sun, Oct 20, 2013 at 7:48 PM, Alexandre Dem

[Mesa-dev] [PATCH] Fix --enable-XX-bit flags by moving LT_INIT where it should

2013-11-22 Thread Alexandre Demers
/LT_005fINIT.html Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50754 Signed-off-by: Alexandre Demers Tested-by: Tapani Palli --- configure.ac | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index fb16338..d41595d 100644 --- a

[Mesa-dev] [PATCH] configure.ac: (trivial) Fixing a typo

2014-06-30 Thread Alexandre Demers
Signed-off-by: Alexandre Demers --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index faf1485..98efa43 100644 --- a/configure.ac +++ b/configure.ac @@ -1603,7 +1603,7 @@ fi AC_ARG_WITH([egl-driver-dir], [AS_HELP_STRING

[Mesa-dev] [PATCH] configure.ac: fix omx default installation folder

2014-06-30 Thread Alexandre Demers
Making default OMX installation folder follows the same pattern as other state trackers / libs. Fixes bug 80615. Signed-off-by: Alexandre Demers --- configure.ac | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 98efa43..a684390

Re: [Mesa-dev] [PATCH 1/7] loader: Use dlsym to get our udev symbols instead of explicit linking.

2014-01-26 Thread Alexandre Demers
This patch fixes bug 71543 where libudev.so.0 and libudev.so.1 are in conflict. With this patch, I was able to launch Garry's Mod (which previously would crash before showing anything). So you can add Tested-by: Alexandre Demers -- Alexandre D

[Mesa-dev] [PATCH 0/2] nvc0: support for GK20A (Tegra K1)

2014-05-26 Thread Alexandre Courbot
buffers. Alexandre Courbot (2): nvc0: add GK20A 3D class nvc0: use SM35 ISA with GK20A src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h| 1 + src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 +- src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp | 13

[Mesa-dev] [PATCH 2/2] nvc0: use SM35 ISA with GK20A

2014-05-26 Thread Alexandre Courbot
GK20A is mostly compatible with GK104, but uses the SM35 ISA. Use the GK110 path when this chip is detected. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h| 1 + src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 +- src/gallium

[Mesa-dev] [PATCH 1/2] nvc0: add GK20A 3D class

2014-05-26 Thread Alexandre Courbot
GK20A is mostly compatible with GK104, but features a new 3D class. Add it to the relevant header and use it when GK20A is detected. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nv_object.xml.h| 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 9 - 2 files

Re: [Mesa-dev] [PATCH 1/2] nvc0: add GK20A 3D class

2014-05-26 Thread Alexandre Courbot
On 05/27/2014 02:29 PM, Ilia Mirkin wrote: On Tue, May 27, 2014 at 12:59 AM, Alexandre Courbot wrote: GK20A is mostly compatible with GK104, but features a new 3D class. Add it to the relevant header and use it when GK20A is detected. Signed-off-by: Alexandre Courbot --- src/gallium

Re: [Mesa-dev] [PATCH 2/2] nvc0: use SM35 ISA with GK20A

2014-05-26 Thread Alexandre Courbot
On 05/27/2014 02:26 PM, Ilia Mirkin wrote: On Tue, May 27, 2014 at 12:59 AM, Alexandre Courbot wrote: GK20A is mostly compatible with GK104, but uses the SM35 ISA. Use the GK110 path when this chip is detected. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/codegen

[Mesa-dev] [PATCH v2 0/2] nvc0: support for GK20A (Tegra K1)

2014-05-27 Thread Alexandre Courbot
buffers. Changes since v1: - Update TargetNVC0::getFileSize() to return the right number of GPR - Remove definition for unneeded NVISA_GK110_CHIPSET - Use consistent comparison scheme in nv50_ir_emit_nvc0.cpp Alexandre Courbot (2): nvc0: add GK20A 3D class nvc0: use SM35 ISA with GK20A src

[Mesa-dev] [PATCH v2 2/2] nvc0: use SM35 ISA with GK20A

2014-05-27 Thread Alexandre Courbot
GK20A is mostly compatible with GK104, but uses the SM35 ISA. Use the GK110 path when this chip is detected. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h | 2 +- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 +- .../drivers

[Mesa-dev] [PATCH v2 1/2] nvc0: add GK20A 3D class

2014-05-27 Thread Alexandre Courbot
GK20A is mostly compatible with GK104, but features a new 3D class. Add it to the relevant header and use it when GK20A is detected. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nv_object.xml.h| 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 9 - 2 files

Re: [Mesa-dev] [PATCH] winsys/radeon: fix a wrong NUM_TILE_PIPES value from the kernel

2016-02-09 Thread Alexandre Demers
scope for now. Also, about the patch itself, even if only some cards were reported to be problematic, why would we limit it to "ws->gen == DRV_SI"? Any cards reporting a wrong value should be treated the same way by mapping its value from 12 to 8, no? My late two cents here. Alexan

Re: [Mesa-dev] [PATCH] winsys/radeon: fix a wrong NUM_TILE_PIPES value from the kernel

2016-02-09 Thread Alexandre Demers
On Tue, 9 Feb 2016 at 12:47 Marek Olšák wrote: > On Tue, Feb 9, 2016 at 6:17 PM, Alexandre Demers > wrote: > >> +/* The kernel returns 12 for some cards for an unknown > >> reason. > >> + * I thought this

Re: [Mesa-dev] [PATCH] winsys/radeon: fix a wrong NUM_TILE_PIPES value from the kernel

2016-02-09 Thread Alexandre Demers
On Tue, 9 Feb 2016 at 15:17 Alex Deucher wrote: > On Tue, Feb 9, 2016 at 12:47 PM, Marek Olšák wrote: > > On Tue, Feb 9, 2016 at 6:17 PM, Alexandre Demers > > wrote: > >>> +/* The kernel returns 12 for some cards for an unknown > >>> reason. &

[Mesa-dev] [PATCH] Better explain why we are lowering the num_tile_pipes value for TAHITI

2016-02-09 Thread Alexandre Demers
Signed-off-by: Alexandre Demers --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 49c310c..aab81f9 100644

Re: [Mesa-dev] [PATCH] Better explain why we are lowering the num_tile_pipes value for TAHITI

2016-02-09 Thread Alexandre Demers
On Tue, 9 Feb 2016 at 22:38 Michel Dänzer wrote: > On 10.02.2016 10:11, Alexandre Demers wrote: > > Signed-off-by: Alexandre Demers > > --- > > src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) >

Re: [Mesa-dev] [PATCH] Better explain why we are lowering the num_tile_pipes value for TAHITI

2016-02-10 Thread Alexandre Demers
On 2016-02-10 05:14, Marek Olšák wrote: On Wed, Feb 10, 2016 at 2:11 AM, Alexandre Demers wrote: Signed-off-by: Alexandre Demers --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/radeon/drm

[Mesa-dev] [PATCH] Better explain why we are lowering the num_tile_pipes value for TAHITI (v2)

2016-02-10 Thread Alexandre Demers
v2: Clarify the relation between num_tiles_pipes and GB_TILE_MODE and the fix needed for Tahiti as suggested by Marek. Signed-off-by: Alexandre Demers --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium

[Mesa-dev] [PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0

2014-10-27 Thread Alexandre Courbot
This member is declared, allocated and destroyed, but doesn't seem to be used or referenced anywhere in the code. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 -- 2 files changed, 5 dele

[Mesa-dev] [PATCH 2/3] nvc0: use NV_VRAM_DOMAIN() macro

2014-10-27 Thread Alexandre Courbot
Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative VRAM domains for chips that do not use dedicated video memory. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_buffer.c | 6 ++ src/gallium/drivers/nouveau/nv50/nv50_miptree.c

[Mesa-dev] [PATCH 1/3] nouveau: support for custom VRAM domains

2014-10-27 Thread Alexandre Courbot
that allocates GPU objects is then expected to use the NV_VRAM_DOMAIN() macro in place of NOUVEAU_BO_VRAM to ensure correct behavior on VRAM-less chips. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_screen.c | 6 ++ src/gallium/drivers/nouveau/nouveau_screen.h | 4

[Mesa-dev] [PATCH 0/3] nouveau: support for custom VRAM domains

2014-10-27 Thread Alexandre Courbot
e non-existent VRAM memory. In that respect it seems to be the right thing to do, and all things taken is not very intrusive. Tested on GK20A with Wayland and several EGL clients running, and working fine. Alexandre Courbot (3): nouveau: support for custom VRAM domains nvc0: use NV_VRAM_DOMAIN()

[Mesa-dev] [PATCH 3/3] gk20a: use NOUVEAU_BO_GART as VRAM domain

2014-10-27 Thread Alexandre Courbot
GK20A does not have dedicated VRAM, therefore allocating in VRAM can be sub-optimal and sometimes even harmful. Set its VRAM domain to NOUVEAU_BO_GART so all objects are allocated in system memory. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 10

[Mesa-dev] [PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0

2014-10-27 Thread Alexandre Courbot
This member is declared, allocated and destroyed, but doesn't seem to be used or referenced anywhere in the code. Signed-off-by: Alexandre Courbot --- Resending after fixing typo in email address - apologies for the inconvenience. src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ---

Re: [Mesa-dev] [PATCH 3/3] gk20a: use NOUVEAU_BO_GART as VRAM domain

2014-11-05 Thread Alexandre Courbot
On 10/30/2014 12:29 AM, Ilia Mirkin wrote: On Mon, Oct 27, 2014 at 6:34 AM, Alexandre Courbot wrote: GK20A does not have dedicated VRAM, therefore allocating in VRAM can be sub-optimal and sometimes even harmful. Set its VRAM domain to NOUVEAU_BO_GART so all objects are allocated in system

Re: [Mesa-dev] [PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0

2014-11-11 Thread Alexandre Courbot
On 11/12/2014 03:07 PM, Ilia Mirkin wrote: LG. I had this same patch locally I think... I came up with it after I went looking at the various VRAM usage after you were asking questions about it. Good, I'm dropping this version then, and assume yours will get merged soon. Thanks! __

Re: [Mesa-dev] [PATCH] nvc0: remove unused nvc0_screen::mm_VRAM_fe0

2014-11-12 Thread Alexandre Courbot
Ping, how about this guy? On Mon, Oct 27, 2014 at 7:36 PM, Alexandre Courbot wrote: > This member is declared, allocated and destroyed, but doesn't seem to be > used or referenced anywhere in the code. > > Signed-off-by: Alexandre Courbot > --- > Resending after fixin

Re: [Mesa-dev] [PATCH 3/3] gk20a: use NOUVEAU_BO_GART as VRAM domain

2014-11-13 Thread Alexandre Courbot
On 10/30/2014 12:29 AM, Ilia Mirkin wrote: On Mon, Oct 27, 2014 at 6:34 AM, Alexandre Courbot wrote: GK20A does not have dedicated VRAM, therefore allocating in VRAM can be sub-optimal and sometimes even harmful. Set its VRAM domain to NOUVEAU_BO_GART so all objects are allocated in system

[Mesa-dev] [PATCH v2 3/3] gk20a: use NOUVEAU_BO_GART as VRAM domain

2014-11-18 Thread Alexandre Courbot
GK20A does not have dedicated VRAM, therefore allocating in VRAM can be sub-optimal and sometimes even harmful. Set its VRAM domain to NOUVEAU_BO_GART so all objects are allocated in system memory. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 15

[Mesa-dev] [PATCH v2 1/3] nouveau: support for custom VRAM domains

2014-11-18 Thread Alexandre Courbot
that allocates GPU objects is then expected to use the NV_VRAM_DOMAIN() macro in place of NOUVEAU_BO_VRAM to ensure correct behavior on VRAM-less chips. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_screen.c | 6 ++ src/gallium/drivers/nouveau/nouveau_screen.h | 4

[Mesa-dev] [PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro

2014-11-18 Thread Alexandre Courbot
Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative VRAM domains for chips that do not use dedicated video memory. Signed-off-by: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_buffer.c | 6 ++ src/gallium/drivers/nouveau/nv50/nv50_miptree.c

[Mesa-dev] [PATCH v2 0/3] nouveau: support for custom VRAM domains

2014-11-18 Thread Alexandre Courbot
set vidmem_bindings to 0. Alexandre Courbot (3): nouveau: support for custom VRAM domains nvc0: use NV_VRAM_DOMAIN() macro gk20a: use NOUVEAU_BO_GART as VRAM domain src/gallium/drivers/nouveau/nouveau_buffer.c | 6 ++--- src/gallium/drivers/nouveau/nouveau_screen.c | 6 +

Re: [Mesa-dev] [PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro

2014-11-18 Thread Alexandre Courbot
On 11/19/2014 02:49 PM, Ilia Mirkin wrote: On Wed, Nov 19, 2014 at 12:41 AM, Alexandre Courbot wrote: Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative VRAM domains for chips that do not use dedicated video memory. Signed-off-by: Alexandre Courbot --- src/gallium

[Mesa-dev] Performance regression on Tegra/GK20A since commit 363b53f00069

2014-11-18 Thread Alexandre Courbot
Hi guys, I am seeing a severe performance regression (lots frame drops when running EGL apps in Weston) on Tegra/GK20A since the following commit: commit 363b53f00069af718f64cf047f19ad5681a8bf6d Author: Marek Olšák Date: Sat Nov 1 14:31:09 2014 +0100 egl: remove egl_gallium from the lo

Re: [Mesa-dev] Performance regression on Tegra/GK20A since commit 363b53f00069

2014-11-18 Thread Alexandre Courbot
Some more information: CPU usage of the EGL app (glmark2 here) is much higher when this patch is applied, which I presume is what triggers the frame skips. On 11/19/2014 03:05 PM, Alexandre Courbot wrote: Hi guys, I am seeing a severe performance regression (lots frame drops when running EGL

Re: [Mesa-dev] Performance regression on Tegra/GK20A since commit 363b53f00069

2014-11-20 Thread Alexandre Courbot
Hi Pekka, On 11/19/2014 04:34 PM, Pekka Paalanen wrote: On Wed, 19 Nov 2014 15:32:38 +0900 Alexandre Courbot wrote: Some more information: CPU usage of the EGL app (glmark2 here) is much higher when this patch is applied, which I presume is what triggers the frame skips. On 11/19/2014 03:05

Re: [Mesa-dev] Performance regression on Tegra/GK20A since commit 363b53f00069

2014-11-25 Thread Alexandre Courbot
Hi Pekka, On 11/20/2014 08:41 PM, Pekka Paalanen wrote: On Thu, 20 Nov 2014 18:24:34 +0900 Alexandre Courbot wrote: Hi Pekka, On 11/19/2014 04:34 PM, Pekka Paalanen wrote: On Wed, 19 Nov 2014 15:32:38 +0900 Alexandre Courbot wrote: Some more information: CPU usage of the EGL app

Re: [Mesa-dev] [Nouveau] [RFC] tegra: Initial support

2014-11-27 Thread Alexandre Courbot
On 11/28/2014 01:39 AM, Thierry Reding wrote: Tegra K1 and later use a GPU that can be driven by the Nouveau driver. But the GPU is a pure render node and has no display engine, hence the scanout needs to happen on the Tegra display hardware. The GPU and the display engine each have a separate DR

Re: [Mesa-dev] [Nouveau] [RFC] tegra: Initial support

2014-11-28 Thread Alexandre Courbot
On Fri, Nov 28, 2014 at 5:48 PM, Thierry Reding wrote: > On Fri, Nov 28, 2014 at 02:14:24PM +0900, Alexandre Courbot wrote: >> On 11/28/2014 01:39 AM, Thierry Reding wrote: >> >Tegra K1 and later use a GPU that can be driven by the Nouveau driver. >> >But the GPU is a

[Mesa-dev] [PATCH] gallivm: (trivial) Fix typo in comment introduced by 70dc8a

2015-03-12 Thread Alexandre Demers
Fix typo in comment introduced by 70dc8a Signed-off-by: Alexandre Demers --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index

Re: [Mesa-dev] State of Geometry shader instancing on radeonsi

2015-03-26 Thread Alexandre Demers
a lot on that matter. Then again, I'll let you know if needed. Alexandre Demers On 2015-03-04 21:45, Alexandre Demers wrote: Then you can count me as working on ARB_viewport_array. Alexandre Demers On 2015-02-25 14:25, Marek Olšák wrote: Nobody is working on ARB_gpu_shader5 for radeonsi.

Re: [Mesa-dev] State of Geometry shader instancing on radeonsi

2015-03-26 Thread Alexandre Demers
e a bitmask saying which "slots" are dirty. (same >principle as resource slots) > >The "emit" functions should only set dirty viewports/scissors registers. > >Marek > > > >On Thu, Mar 26, 2015 at 10:18 PM, Alexandre Demers > wrote: >> Update on

Re: [Mesa-dev] [PATCH] r600g: Implement GL_ARB_sample_shading

2014-09-02 Thread Alexandre Demers
Hi Glenn, I've tried applying your patch on the latest mesa code and it could not be applied properly. Could you rebase your patch? I would be happy to test it on Cayman for you once done. Cheers. -- Alexandre Demers ___ mesa-dev mailing

Re: [Mesa-dev] [PATCH v2] r600g: Implement GL_ARB_sample_shading

2014-09-04 Thread Alexandre Demers
y first without the patch. -- Alexandre Demers ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2] r600g: Implement GL_ARB_sample_shading

2014-09-05 Thread Alexandre Demers
17474/1871617514/18755 spec 15903/1710615943/17145 glsl-1.50 3059/31063060/3106 execution 1628/16721629/1672 built-in-functions 1485/14871486/1487 gs-atan-vec2 passfail Add this to my results with Tesseract and it is definitively an improvement. Alexandre Demers On 05/09/14 1

Re: [Mesa-dev] [PATCH v2] r600g: Implement GL_ARB_sample_shading

2014-09-14 Thread Alexandre Demers
Sorry for the delay, I've been away for work and with not much free time lately. I'll have a look at it as soon as possible. Alexandre Demers On 10/09/14 06:16 AM, Glenn Kennard wrote: On Sat, 06 Sep 2014 04:00:01 +0200, Alexandre Demers wrote: Thanks Marek, you were right. So,

Re: [Mesa-dev] [PATCH v2] r600g: Implement GL_ARB_sample_shading

2014-09-16 Thread Alexandre Demers
splay/piglit/generated_tests/spec/glsl-1.50/execution/built-in-functions/gs-atan-vec4.shader_test -auto PIGLIT: {"result": "pass" } I assume the test ran correctly, but not in the context of the piglit run, am I right? Alexandre Demers On 15/09/14 01:15 AM, Alexandre Demers w

[Mesa-dev] osmesa: link with libunwind if enabled

2017-05-20 Thread Alexandre Demers
Fixes linking error in libOSmesa when using libunwind. Signed-off-by: Alexandre Demers --- src/gallium/targets/osmesa/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am index

[Mesa-dev] [Patch v2] osmesa: link with libunwind if enabled (v2)

2017-05-25 Thread Alexandre Demers
llium/auxiliary/util/u_debug_stack.c:120: undefined reference to `_ULx86_64_step' collect2: error: ld returned 1 exit status v2 : Fixes title and adds the original error it is fixing. Signed-off-by: Alexandre Demers --- src/gallium/targets/osmesa/Makefile.am | 3 ++- 1 file changed, 2 i

Re: [Mesa-dev] [Patch v2] osmesa: link with libunwind if enabled (v2)

2017-05-26 Thread Alexandre Demers
Yes, please do. Alexandre Demers On Fri, May 26, 2017, 10:17 Brian Paul wrote: > On 05/25/2017 09:09 PM, Alexandre Demers wrote: > > Fixes linking error in libOSmesa when using libunwind. > > > > CXXLDlibOSMesa.la > > src/gallium/auxiliary/.libs/libgallium.a(u_

Re: [Mesa-dev] [PATCH 3/3] imx: gallium driver for imx-drm scanout driver

2017-01-04 Thread Alexandre Courbot
On Mon, Dec 19, 2016 at 10:19 PM, Thierry Reding wrote: > On Mon, Dec 19, 2016 at 04:04:34PM +, Emil Velikov wrote: >> On Monday, 19 December 2016, Thierry Reding >> wrote: >> >> > On Wed, Nov 30, 2016 at 02:44:36PM +0100, Christian Gmeiner wrote: >> > [...] >> > > +static struct pipe_screen

Re: [Mesa-dev] [PATCH 0/5] nvc0: better instruction pipelining for Maxwell GPUs

2017-01-05 Thread Alexandre Courbot
fps at pstate 01 and from 29 to 33 fps at pstate 0d (probably due to some other non-shader related bottleneck on this board?), but I have not noticed any issue. Tested-by: Alexandre Courbot ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH v2 1/3] gallium: add renderonly library

2017-01-11 Thread Alexandre Courbot
e of renderonly object (suggested by Nicolai Hähnle) > - killed the midlayer (suggested by Thierry Reding) > - made the API more explicit regarding gpu and kms fd's > - added some docs Works fine with Tegra (see https://github.com/Gnurou/mesa/tree/renderonly for the code, still hacky).

[Mesa-dev] [PATCH] gallium: add Tegra renderonly support

2017-01-12 Thread Alexandre Courbot
From: Christian Gmeiner Based on the same model as the IMX driver, opens a Nouveau render device in order to transparently provide acceleration on Tegra. Signed-off-by: Christian Gmeiner [acour...@nvidia.com: port to latest branch, minor improvements] Signed-off-by: Alexandre Courbot

Re: [Mesa-dev] [PATCH] gallium: add Tegra renderonly support

2017-01-16 Thread Alexandre Courbot
On 01/13/2017 11:20 PM, Grazvydas Ignotas wrote: > just out of the interest, can this be used on Tegra X1 right now? > If so, what would I need to get it to work (kernel, firmware, something else)? > I'd be interested to run mesa on the Shield TV. I recommend using my Mesa branch (https://github.c

Re: [Mesa-dev] [PATCH] st/mesa: skip draw calls with pipe_draw_info::count == 0

2017-09-06 Thread Alexandre Demers
You can add my tested-by to the patch. -- Alexandre Demers ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] anongit.freedesktop.org not available?

2012-02-01 Thread Alexandre Demers
Hi, I've been trying all day to sync sources from anongit.freedesktop.org (dri and mesa) and it always ends up by a time out. Is there a problem with the server or the address? Cheers, -- Alexandre Demers ___ mesa-dev mailing list mes

Re: [Mesa-dev] llvm-config on a biarch machine

2011-08-27 Thread Alexandre Demers
ere Android and killing old drivers. Did you try putting the CFLAGS and LDFLAGS under configure.ac to see if they would work there? Maybe they could be defined in your "if" statements. I don't have LLVM 3 on my setup right now, but I may try it soon.

Re: [Mesa-dev] [PATCH] g3dvl: check for existence of header/libs

2011-07-14 Thread Alexandre Demers
May I suggest to fix that one also since there is a missing dependency on d3dx state tracker? https://bugs.freedesktop.org/show_bug.cgi?id=33938 Cheers, -- Alexandre Demers ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http

[Mesa-dev] about driconf and experimental flags

2012-02-09 Thread Alexandre Demers
before. Cheers, -- Alexandre Demers ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] State of gallium driver for i915/945

2010-09-29 Thread Alexandre Demers
Hi,I've been following the development of mesa and gallium for some time now. Each time a developer talks about the gallium i915/945 driver, it's always in an "almost done" state... However, even now, it doesn't support everything the dri driver does (glxinfo shows less extensions and so on fo

[Mesa-dev] Patch against glxinfo: one line per extension

2011-01-20 Thread Alexandre Demers
lot simpler to compare the results. I attached the patch. Cheers, -- Alexandre Demers diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c index e4ff3d5..d0903c0 100644 --- a/src/xdemos/glxinfo.c +++ b/src/xdemos/glxinfo.c @@ -114,7 +114,6 @@ print_extension_list(const char *ext) {

Re: [Mesa-dev] Patch against glxinfo: one line per extension

2011-01-20 Thread Alexandre Demers
On 11-01-20 03:52 PM, Brian Paul wrote: On 01/20/2011 12:35 PM, Alexandre Demers wrote: Hi, I'd like to propose a patch against glxinfo. Instead of separating the extensions by a comma, it creates a new line. It's visually easier to read through the extensions. Also, when doing a di

[Mesa-dev] r600g and S3TC

2011-04-07 Thread Alexandre Demers
y see garbage (automatic screenshots from the application are all black). If I don't use the flag, the extension is disabled and RendererFeatTest works as usual (still as some issues compared to another driver like i915 though like no background and crippled text). -- Alexan