[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 marek.ol...@amd.com 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,

[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

[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 kenn...@whitecape.org changed: What|Removed |Added Status|NEW |RESOLVED

[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 kenn...@whitecape.org changed: What|Removed |Added CC|

[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

[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 axel.d...@ens.fr --- 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

[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

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

2014-01-05 Thread Axel Davy
Signed-off-by: Axel Davy axel.d...@ens.fr --- 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 ---

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

2014-01-05 Thread Axel Davy
Signed-off-by: Axel Davy axel.d...@ens.fr --- 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

[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 axel.d...@ens.fr --- 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

[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 axel.d...@ens.fr --- configure.ac| 1 + src/egl/drivers/dri2/Makefile.am| 12 +++

[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

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 anuj.pho...@gmail.com writes: On Mon, Dec 23, 2013 at 4:08 PM, Eric Anholt e...@anholt.net 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

[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 e...@anholt.net --- 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

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é maxence.led...@gmail.com: From: Maxence Le Doré 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

[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 kenn...@whitecape.org --- 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] [PATCH] configure: Disable xvmc by default

2014-01-05 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com 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 @@

[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 thomas.stell...@amd.com --- 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

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

2014-01-05 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- .../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

[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 thomas.stell...@amd.com --- .../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

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

2014-01-05 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- .../r300/compiler/tests/omod_two_writers.test | 5 +++ .../tests/radeon_compiler_optimize_tests.c | 49 +++--- .../tests/radeon_compiler_regalloc_tests.c | 13 +-

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 t...@stellard.net wrote: From: Tom Stellard thomas.stell...@amd.com 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

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

2014-01-05 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- 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

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 t...@stellard.net wrote: From: Tom Stellard thomas.stell...@amd.com The xvmc unit tests are failing on r300g and r600g. FWIW it works fine on nv40-nv96. (Haven't checked the actual

[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 alexandre.f.dem...@gmail.com --- (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

[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 mic...@daenzer.net changed: What|Removed |Added Assignee|mesa-dev@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

[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 kenn...@whitecape.org changed: What|Removed |Added Status|NEW |ASSIGNED

[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 kenn...@whitecape.org --- 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 ---

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 mesa-sta...@lists.freedesktop.org --- src/gallium/drivers/radeonsi/radeonsi_pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c