[Mesa-dev] [Bug 73297] New: Xorg crashes with kernel 3.13-rc7

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73297 Priority: medium Bug ID: 73297 Assignee: mesa-dev@lists.freedesktop.org Summary: Xorg crashes with kernel 3.13-rc7 Severity: normal Classification: Unclassified OS: All

[Mesa-dev] [PATCH] radeonsi: calculate NUM_BANKS for DB correctly on CIK

2014-01-05 Thread Marek Olšák
From: Marek Olšák NUM_BANKS is not constant on CIK. --- src/gallium/drivers/radeonsi/si_state.c | 23 +++ src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 5 + src/gallium/winsys/radeon/drm/radeon_winsys.h | 3 +++ 3 files changed, 27 insertions(+), 4 d

[Mesa-dev] [Bug 73298] New: libcggl segfaults with mesa 10.1

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73298 Priority: medium Bug ID: 73298 Assignee: mesa-dev@lists.freedesktop.org Summary: libcggl segfaults with mesa 10.1 Severity: normal Classification: Unclassified OS: Linux (All

[Mesa-dev] [Bug 73298] libcggl segfaults with mesa 10.1

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73298 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 73136] [BISECTED] commit "mesa: Dynamically allocate the storage for program local parameters." crashes Awesomenauts

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73136 Kenneth Graunke changed: What|Removed |Added CC||anton.su...@gmail.com --- Comment #1 f

[Mesa-dev] [PATCH 0/6] Wayland Prime Support (v2+RFC)

2014-01-05 Thread Axel Davy
These patches can be divided in three parts: . Implement DRI_PRIME support for Wayland (patch 1) It is the v2 of the series here: http://lists.freedesktop.org/archives/mesa-dev/2013-November/047946.html . Use drirc for choosing the gpu to use without using the DRI_PRIME env var. (patch 2 and 3)

[Mesa-dev] [PATCH 2/6][RFC] drirc: Add string support

2014-01-05 Thread Axel Davy
This may require changes to the driconf gui. Signed-off-by: Axel Davy --- src/mesa/drivers/dri/common/xmlconfig.c | 24 src/mesa/drivers/dri/common/xmlconfig.h | 7 ++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/xmlcon

[Mesa-dev] [PATCH 1/6] EGL/Wayland: DRI_PRIME support

2014-01-05 Thread Axel Davy
Implements DRI_PRIME support. This is a cleaned version of the previous patch, with additional checks. Also add a check to dri2_create_image_wayland_wl_buffer to fail if we forbid to use tiling (which now means we use another gpu than the compositor). We can't check the buffer is untiled (which is

[Mesa-dev] [PATCH 4/6][RFC] DRIimage: add blitImage to the specification

2014-01-05 Thread Axel Davy
Signed-off-by: Axel Davy --- include/GL/internal/dri_interface.h | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 81f7e60..19f3c93 100644 --- a/include/GL/internal/dri_interfa

[Mesa-dev] [PATCH 5/6][RFC] Gallium/dri2: implement blitImage

2014-01-05 Thread Axel Davy
Signed-off-by: Axel Davy --- src/gallium/state_trackers/dri/drm/dri2.c | 49 +-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 2a5b7b4..89d9040 100644 --- a/sr

[Mesa-dev] [PATCH 6/6][RFC] EGL/Wayland: Use the DRIImage blit function (when available) for Prime

2014-01-05 Thread Axel Davy
Signed-off-by: Axel Davy --- src/egl/drivers/dri2/egl_dri2.h | 2 + src/egl/drivers/dri2/platform_wayland.c | 98 ++--- 2 files changed, 79 insertions(+), 21 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 5f4

[Mesa-dev] [PATCH 3/6][RFC] EGL/Wayland drirc: Use drirc to complement DRI_PRIME

2014-01-05 Thread Axel Davy
add to drirc a parameter "wanted_device_id_path_tag", and check its value to choose which gpu to use, if DRI_PRIME isn't set. Signed-off-by: Axel Davy --- configure.ac| 1 + src/egl/drivers/dri2/Makefile.am| 12 +++ src/egl/drivers/dri

[Mesa-dev] [PATCH] [PATCH 1/6] EGL/Wayland: DRI_PRIME support v2

2014-01-05 Thread Axel Davy
v2: integrate a fix to previous version (is_render_node_capable), which was hidden in patch 6. Since patch 6 is for comments, and not for merging, I won't post a new patch 6 without the fix that is now here. Implements DRI_PRIME support. This is a cleaned version of the previous patch, with additi

Re: [Mesa-dev] [PATCH 2/7] i965: Don't call the blitter on addresses it can't handle.

2014-01-05 Thread Eric Anholt
Anuj Phogat writes: > On Mon, Dec 23, 2013 at 4:08 PM, Eric Anholt wrote: >> Noticed by tex3d-maxsize on my next commit to check that our addresses >> don't overflow. >> --- >> src/mesa/drivers/dri/i965/intel_blit.c| 20 >> src/mesa/drivers/dri/i965/intel_mipmap_tre

[Mesa-dev] [Bug 73136] [BISECTED] commit "mesa: Dynamically allocate the storage for program local parameters." crashes Awesomenauts

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73136 --- Comment #2 from Eric Anholt --- Huh, wonder what happened. Got a backtrace? I'm at LCA currently and won't be working on Mesa bugs for a few days, at least. -- You are receiving this mail because: You are the assignee for the bug. ___

Re: [Mesa-dev] [PATCH 1/9] gallivm: add a lp_build_intrinsic_map_trinary() function

2014-01-05 Thread Christoph Brill
Am 05.01.2014 00:42 schrieb "Maxence Le Doré" : > > From: Maxence Le Doré It appears that something in your bit setup might be wrong. Normally you should have your mail address in between <> and not your name. You might want run something like 'git config user.email "maxence.led...@gmail.com"'.

[Mesa-dev] [Bug 73136] [BISECTED] commit "mesa: Dynamically allocate the storage for program local parameters." crashes Awesomenauts

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73136 --- Comment #3 from Kenneth Graunke --- Eric, There's one in the bug I marked as a duplicate. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-

[Mesa-dev] [PATCH] configure: Disable xvmc by default

2014-01-05 Thread Tom Stellard
From: Tom Stellard The xvmc unit tests are failing on r300g and r600g. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f75325d..d41455b 100644 --- a/configure.ac +++ b/configure.ac @@ -583,7 +583,7 @@ AC_ARG_ENABLE([xvmc],

[Mesa-dev] [PATCH 1/5] r300g/compiler: Add an option to specify a FILE* when printing a program

2014-01-05 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/r300/compiler/radeon_program.h | 2 ++ src/gallium/drivers/r300/compiler/radeon_program_print.c | 13 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r300/compiler/radeon_program.h b/src/gallium/

[Mesa-dev] [PATCH 2/5] r300g/compiler/tests: Remove an unused variable

2014-01-05 Thread Tom Stellard
From: Tom Stellard --- .../drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c b/src/gallium/drivers/r300/compiler/tests/radeon_compiler_

[Mesa-dev] [PATCH 4/5] r300g/compiler/tests: Enable reading expected output from the .test files

2014-01-05 Thread Tom Stellard
From: Tom Stellard --- .../drivers/r300/compiler/tests/README.test| 26 .../drivers/r300/compiler/tests/rc_test_helpers.c | 77 -- .../drivers/r300/compiler/tests/rc_test_helpers.h | 7 ++ 3 files changed, 105 insertions(+), 5 deletions(-) create mode 100

[Mesa-dev] [PATCH 5/5] r300g/compiler/tests: Add expected output to .test files

2014-01-05 Thread Tom Stellard
From: Tom Stellard --- .../r300/compiler/tests/omod_two_writers.test | 5 +++ .../tests/radeon_compiler_optimize_tests.c | 49 +++--- .../tests/radeon_compiler_regalloc_tests.c | 13 +- .../compiler/tests/regalloc_tex_1d_swizzle.test| 1 + 4 files c

Re: [Mesa-dev] [PATCH] configure: Disable xvmc by default

2014-01-05 Thread Ilia Mirkin
On Sun, Jan 5, 2014 at 9:49 PM, Tom Stellard wrote: > From: Tom Stellard > > The xvmc unit tests are failing on r300g and r600g. FWIW it works fine on nv40-nv96. (Haven't checked the actual unit-tests, but the functionality is fine.) > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+

[Mesa-dev] [PATCH 3/5] r300g/compiler/tests: Fix parsing of immediates

2014-01-05 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c b/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c index b4e30d8..725be4c 1

Re: [Mesa-dev] [PATCH] configure: Disable xvmc by default

2014-01-05 Thread Tom Stellard
On Sun, Jan 05, 2014 at 09:49:53PM -0500, Ilia Mirkin wrote: > On Sun, Jan 5, 2014 at 9:49 PM, Tom Stellard wrote: > > From: Tom Stellard > > > > The xvmc unit tests are failing on r300g and r600g. > > FWIW it works fine on nv40-nv96. (Haven't checked the actual > unit-tests, but the functionali

[Mesa-dev] [Bug 73136] [BISECTED] commit "mesa: Dynamically allocate the storage for program local parameters." crashes Awesomenauts

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73136 --- Comment #4 from Alexandre Demers --- (In reply to comment #2) > Huh, wonder what happened. Got a backtrace? > > I'm at LCA currently and won't be working on Mesa bugs for a few days, at > least. With R600_LLVM=1, I got the following backtr

[Mesa-dev] [Bug 73297] Xorg crashes with kernel 3.13-rc7

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73297 Michel Dänzer changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

[Mesa-dev] [PATCH] mesa: Use get_local_param_pointer in glProgramLocalParameters4fvEXT().

2014-01-05 Thread Kenneth Graunke
Using the get_local_param_pointer helper ensures that the LocalParams arrays have actually been allocated before attempting to use them. glProgramLocalParameters4fvEXT needs to do a bit of extra checking, but it can be simplified since the helper has already validated the target. Fixes crashes in

[Mesa-dev] [Bug 73136] [BISECTED] commit "mesa: Dynamically allocate the storage for program local parameters." crashes Awesomenauts

2014-01-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73136 Kenneth Graunke changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|mesa-dev@l

[Mesa-dev] [PATCH] glsl: Optimize pow(1.0, X) --> 1.0.

2014-01-05 Thread Kenneth Graunke
Surprisingly, this helps one vertex shader in 3DMMES. Signed-off-by: Kenneth Graunke --- src/glsl/opt_algebraic.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/glsl/opt_algebraic.cpp b/src/glsl/opt_algebraic.cpp index 05a5899..5e885f7 100644 --- a/src/glsl/opt_algebraic.cpp +++

Re: [Mesa-dev] [PATCH 1/4] radeonsi: Free gfx command stream when destroying context

2014-01-05 Thread Michel Dänzer
On Don, 2014-01-02 at 12:38 -0600, Aaron Watry wrote: > CC: "10.0" > --- > src/gallium/drivers/radeonsi/radeonsi_pipe.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c > b/src/gallium/drivers/radeonsi/radeonsi_pipe.c > index 0fec6d5..3ed10