Re: [Mesa-dev] [PATCH 9/9] tgsi: add ArrayID documentation

2013-03-18 Thread Christian König
Am 17.03.2013 20:59, schrieb Christoph Bumiller: On 17.03.2013 18:04, Christoph Bumiller wrote: On 17.03.2013 16:30, Christian König wrote: Am 15.03.2013 18:58, schrieb Christoph Bumiller: On 15.03.2013 13:08, Christian König wrote: Am 14.03.2013 15:53, schrieb Christoph Bumiller: On

[Mesa-dev] [PATCH 1/9] tgsi/ureg: cleanup local temporary emission v2

2013-03-18 Thread Christian König
From: Christian König Instead of emitting each temporary separately, emit them in a chunk. v2: keep separate function for emitting temps Signed-off-by: Christian König --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 30 +- 1 file changed, 13 insertions(+), 17

[Mesa-dev] [PATCH 2/9] tgsi/ureg: implement support for array temporaries

2013-03-18 Thread Christian König
From: Christian König Don't bother with free temporaries, just allocate them at the end and also emit them in their own declaration. Signed-off-by: Christian König --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 55 src/gallium/auxiliary/tgsi/tgsi_ureg.h |

[Mesa-dev] [PATCH 3/9] glsl_to_tgsi: use get_temp for all allocations

2013-03-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index

[Mesa-dev] [PATCH 4/9] glsl_to_tgsi: allocate arrays separately v2

2013-03-18 Thread Christian König
From: Christian König Instead of allocating everything as temporaries, use the new array allocation functions. v2: fix bug in simplify_cmp, declare arrays on demand Signed-off-by: Christian König --- src/mesa/main/mtypes.h |1 + src/mesa/state_tracker

[Mesa-dev] [PATCH 5/9] glsl_to_tgsi: remove indirect addressing limitations

2013-03-18 Thread Christian König
From: Christian König They shouldn't be necessary any more. Signed-off-by: Christian König --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 36 +++- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src

[Mesa-dev] [PATCH 6/9] tgsi: remove TGSI_FILE_(IMMEDIATE|TEMP)_ARRAY

2013-03-18 Thread Christian König
From: Christian König Nobody seems to be using it, and only nv50 had a partial implementation. Signed-off-by: Christian König --- src/gallium/auxiliary/tgsi/tgsi_build.c| 19 - src/gallium/auxiliary/tgsi/tgsi_dump.c | 38 -- src/gallium/auxiliary/tgsi

[Mesa-dev] [PATCH 7/9] tgsi: add ArrayID to declarations

2013-03-18 Thread Christian König
From: Christian König Remember which declarations are declared as "arrays" and so can be indirectly addressed. ArrayIDs start at 1, cause for compatibility reasons zero is treaded as no array present. Signed-off-by: Christian König --- src/gallium/auxiliary/tgsi/tgsi_dump.c

[Mesa-dev] [PATCH 8/9] tgsi: use separate structure for indirect address v2

2013-03-18 Thread Christian König
From: Christian König To further improve the optimization of source and destination indirect addressing we need the ability to store a reference to the declaration of the addressed operands. Since most of the fields in tgsi_src_register doesn't apply for an indirect addressing operand re

[Mesa-dev] [PATCH 9/9] tgsi: add ArrayID documentation v2

2013-03-18 Thread Christian König
From: Christian König v2: further improve the text with comments from Christoph Bumiller. Signed-off-by: Christian König --- src/gallium/docs/source/tgsi.rst | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source

Re: [Mesa-dev] [PATCH 8/9] tgsi: use separate structure for indirect address v2

2013-03-18 Thread Christian König
Am 18.03.2013 15:12, schrieb Roland Scheidegger: Am 18.03.2013 14:36, schrieb Christian König: From: Christian König To further improve the optimization of source and destination indirect addressing we need the ability to store a reference to the declaration of the addressed operands. Since

Re: [Mesa-dev] [PATCH] radeonsi: Emit pixel shader state even when only the vertex shader changed

2013-03-20 Thread Christian König
Am 20.03.2013 11:43, schrieb Michel Dänzer: From: Michel Dänzer Fixes random failures with piglit glsl-max-varyings. NOTE: This is a candidate for the 9.1 branch. Signed-off-by: Michel Dänzer Reviewed-by: Christian König --- src/gallium/drivers/radeonsi/si_state_draw.c | 5 + 1

[Mesa-dev] [PATCH 2/5] radeonsi: mark all loads as constant

2013-03-21 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 32 ++-- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 1/5] radeonsi: remove wqm intrinsic

2013-03-21 Thread Christian König
From: Christian König Now the backend handles that itself. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |9 - 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 3/5] radeonsi: mark most intrinsics as readnone/nounwind

2013-03-21 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c

[Mesa-dev] [PATCH 4/5] radeonsi: add preloading of all constants

2013-03-21 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 67 ++-- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 5/5] radeonsi: add preloading for all samplers

2013-03-21 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 57 +++- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

Re: [Mesa-dev] [PATCH 5/5] radeonsi: add preloading for all samplers

2013-03-21 Thread Christian König
Am 21.03.2013 15:10, schrieb Alex Deucher: On Thu, Mar 21, 2013 at 7:38 AM, Christian König wrote: From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 57 +++- 1 file changed, 45 insertions(+), 12 deletions

Re: [Mesa-dev] [PATCH 5/5] radeonsi: add preloading for all samplers

2013-03-21 Thread Christian König
Am 21.03.2013 15:06, schrieb Michel Dänzer: When I tried this earlier, something broke. Unfortunately, I can't seem to remember or dig up if it was a piglit test or e.g. one of the sampler demos in mesa/demos/src/glsl/. Did you test the latter with this change? Similar concern for patch 4, the r

Re: [Mesa-dev] [PATCH] R600: Use legacy (0 * anything = 0) MUL instructions for pow intrinsics

2013-03-21 Thread Christian König
/show_bug.cgi?id=62012 [radeonsi] Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58150 [r600g] NOTE: This is a candidate for the Mesa stable branch. Signed-off-by: Michel Dänzer Reviewed-by: Christian König --- lib/Target/R600/R600ISelLowering.cpp | 11 --- lib/Target/R600

Re: [Mesa-dev] [PATCH 5/5] radeonsi: add preloading for all samplers

2013-03-22 Thread Christian König
Am 21.03.2013 17:20, schrieb Alex Deucher: On Thu, Mar 21, 2013 at 12:09 PM, Christian König wrote: Am 21.03.2013 15:10, schrieb Alex Deucher: On Thu, Mar 21, 2013 at 7:38 AM, Christian König wrote: From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi

Re: [Mesa-dev] [PATCH 5/5] radeonsi: add preloading for all samplers

2013-03-22 Thread Christian König
Am 21.03.2013 17:17, schrieb Michel Dänzer: On Don, 2013-03-21 at 17:12 +0100, Christian König wrote: Am 21.03.2013 15:06, schrieb Michel Dänzer: When I tried this earlier, something broke. Unfortunately, I can't seem to remember or dig up if it was a piglit test or e.g. one of the sa

[Mesa-dev] [PATCH 2/2] glsl_to_tgsi: avoid creating arrays if driver doesn't support them

2013-03-25 Thread Christian König
From: Christian König Avoid creating arrays if we replace indirect addressing anyway. Signed-off-by: Christian König --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa

[Mesa-dev] [PATCH 1/2] glsl_to_tgsi: make simplify_cmp work with arrays

2013-03-25 Thread Christian König
From: Christian König Even when we have arrays it is possible for simplify_cmp to work on temps, just not on arrays. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=62696 Signed-off-by: Christian König --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp |2 +- 1 file changed, 1 insertion

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing

2013-03-25 Thread Christian König
Am 25.03.2013 17:01, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting cs offset after each states, this allow to pin point lockup inside command stream and narrow down the scope of lockup investigation. Signed-off-by: Jerome Glisse Could your r

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing

2013-03-25 Thread Christian König
Am 25.03.2013 17:50, schrieb Jerome Glisse: On Mon, Mar 25, 2013 at 12:38 PM, Christian König wrote: Am 25.03.2013 17:01, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting cs offset after each states, this allow to pin point lockup inside

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 25.03.2013 18:15, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting cs offset after each states, this allow to pin point lockup inside command stream and narrow down the scope of lockup investigation. v2: Use WRITE_DATA packet instead of WRITE_M

[Mesa-dev] [PATCH 2/6] radeonsi: remove wqm intrinsic

2013-03-26 Thread Christian König
From: Christian König Now the backend handles that itself. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |9 - 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 3/6] radeonsi: mark all loads as constant

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 32 ++-- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 4/6] radeonsi: mark most intrinsics as readnone/nounwind

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c

[Mesa-dev] [PATCH 1/6] radeon/llvm: remove uneeded inclusion

2013-03-26 Thread Christian König
From: Christian König The include isn't needed and the file has moved with LLVM master. Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_llvm_emit.cpp |1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp b/src/ga

[Mesa-dev] [PATCH 5/6] radeonsi: add preloading of all constants

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 67 ++-- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 6/6] radeonsi: add preloading for all samplers

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 57 +++- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi

Re: [Mesa-dev] [PATCH 1/6] radeon/llvm: remove uneeded inclusion

2013-03-26 Thread Christian König
Am 26.03.2013 12:53, schrieb Michel Dänzer: On Die, 2013-03-26 at 11:56 +0100, Christian König wrote: From: Christian König The include isn't needed and the file has moved with LLVM master. Signed-off-by: Christian König Reviewed-by: Michel Dänzer The rest of the series seems unch

[Mesa-dev] [PATCH 2/4] radeonsi: add instanceid support

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pipe.c |2 +- src/gallium/drivers/radeonsi/radeonsi_shader.c | 35 ++-- src/gallium/drivers/radeonsi/radeonsi_shader.h |6 +++- src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 1/4] radeon/llvm: move system value fetching to common code

2013-03-26 Thread Christian König
From: Christian König This should be used by both SI and R600. Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_llvm.c | 12 .../drivers/radeon/radeon_setup_tgsi_llvm.c| 12 2 files changed, 12 insertions(+), 12 deletions

[Mesa-dev] [PATCH 3/4] radeonsi: add start instance support

2013-03-26 Thread Christian König
From: Christian König This works different than on R600, we need to add the start instance manually. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 13 - src/gallium/drivers/radeonsi/radeonsi_shader.h | 12 +++- src/gallium/drivers

[Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 66 +++- src/gallium/drivers/radeonsi/radeonsi_shader.h | 23 + src/gallium/drivers/radeonsi/si_state.c| 32 +++- src/gallium/drivers

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 14:42, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 6:22 AM, Christian König wrote: Am 25.03.2013 18:15, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting cs offset after each states, this allow to pin point lockup inside

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
an. Marek On Tue, Mar 26, 2013 at 3:00 PM, Christian König wrote: Am 26.03.2013 14:42, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 6:22 AM, Christian König wrote: Am 25.03.2013 18:15, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-26 Thread Christian König
Am 26.03.2013 15:56, schrieb Michel Dänzer: On Die, 2013-03-26 at 14:51 +0100, Christian König wrote: From: Christian König Signed-off-by: Christian König [...] diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h b/src/gallium/drivers/radeonsi/radeonsi_shader.h index 9dae742

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 18:02, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 12:40 PM, Marek Olšák wrote: On Tue, Mar 26, 2013 at 3:59 PM, Christian König wrote: Am 26.03.2013 15:34, schrieb Marek Olšák: Speaking of si_pm4_state, I think it's a horrible mechanism for anything other than con

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 20:28, schrieb Marek Olšák: On Tue, Mar 26, 2013 at 6:44 PM, Christian König wrote: Am 26.03.2013 18:02, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 12:40 PM, Marek Olšák wrote: On Tue, Mar 26, 2013 at 3:59 PM, Christian König wrote: Am 26.03.2013 15:34, schrieb Marek

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-27 Thread Christian König
Am 27.03.2013 00:30, schrieb Dave Airlie: On 27 Mar 2013 08:45, "Dave Airlie" wrote: correctly). But Marek is quite right that this only counts for state objects and makes no sense for set_* and draw_* calls (and I'm currently thinking how to avoid that and can't come up with a proper solution)

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-27 Thread Christian König
Am 27.03.2013 01:43, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 6:45 PM, Dave Airlie wrote: correctly). But Marek is quite right that this only counts for state objects and makes no sense for set_* and draw_* calls (and I'm currently thinking how to avoid that and can't come up with a prope

[Mesa-dev] [PATCH] radeonsi: add instance divisor support v2

2013-03-27 Thread Christian König
From: Christian König v2: reduce key size, don't copy key around to much. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 67 +++- src/gallium/drivers/radeonsi/radeonsi_shader.h | 24 + src/gallium/drivers/radeonsi/si_st

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-27 Thread Christian König
Am 26.03.2013 18:03, schrieb Michel Dänzer: On Die, 2013-03-26 at 17:37 +0100, Christian König wrote: Am 26.03.2013 15:56, schrieb Michel Dänzer: On Die, 2013-03-26 at 14:51 +0100, Christian König wrote: From: Christian König Signed-off-by: Christian König [...] diff --git a/src/gallium

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-27 Thread Christian König
Am 27.03.2013 12:02, schrieb Christian König: Am 26.03.2013 18:03, schrieb Michel Dänzer: On Die, 2013-03-26 at 17:37 +0100, Christian König wrote: Am 26.03.2013 15:56, schrieb Michel Dänzer: On Die, 2013-03-26 at 14:51 +0100, Christian König wrote: From: Christian König Signed-off-by

Re: [Mesa-dev] [PATCH] radeonsi: Handle arbitrary 2-byte formats in resource_copy_region

2013-03-27 Thread Christian König
Am 27.03.2013 12:44, schrieb Michel Dänzer: From: Michel Dänzer Fixes mplayer -vo vdpau OSD. Reported-by: Igor Vagulin Signed-off-by: Michel Dänzer Reviewed-by: Christian König Tested-by: Christian König --- src/gallium/drivers/radeonsi/r600_blit.c | 6 ++ 1 file changed, 6

[Mesa-dev] [PATCH 3/4] radeonsi: add start instance support

2013-03-27 Thread Christian König
From: Christian König This works different than on R600, we need to add the start instance manually. Signed-off-by: Christian König Reviewed-by: Michel Dänzer Tested-by: Michel Dänzer --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 13 - src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 1/4] radeon/llvm: move system value fetching to common code

2013-03-27 Thread Christian König
From: Christian König This should be used by both SI and R600. Signed-off-by: Christian König Reviewed-by: Michel Dänzer Tested-by: Michel Dänzer --- src/gallium/drivers/r600/r600_llvm.c | 12 .../drivers/radeon/radeon_setup_tgsi_llvm.c| 12

[Mesa-dev] [PATCH 2/4] radeonsi: add instanceid support

2013-03-27 Thread Christian König
From: Christian König Signed-off-by: Christian König Reviewed-by: Michel Dänzer Tested-by: Michel Dänzer --- src/gallium/drivers/radeonsi/radeonsi_pipe.c |2 +- src/gallium/drivers/radeonsi/radeonsi_shader.c | 35 ++-- src/gallium/drivers/radeonsi

[Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support v3

2013-03-27 Thread Christian König
From: Christian König v2: reduce key size, don't copy key around to much. v3: remove key size reduction Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 67 +++- src/gallium/drivers/radeonsi/radeonsi_shader.h | 24 +

[Mesa-dev] [PATCH] radeonsi: remove sampler writemask

2013-03-27 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c

Re: [Mesa-dev] [PATCH] r600g: fix range handling for tgsi input/output declarations

2013-03-28 Thread Christian König
Am 27.03.2013 20:37, schrieb Vadim Girlin: Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_shader.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 29f

Re: [Mesa-dev] [PATCH] r600g: fix range handling for tgsi input/output declarations

2013-03-29 Thread Christian König
emantic indices should be handled for input/output arrays. Yeah, the uncertainly about semantic IDs was one of the reasons I didn't wanted to do Input/Output arrays in the initial array implementation. When those changes are the only one then v2 of the patch is: Reviewed-by

[Mesa-dev] [PATCH] radeonsi: remove sampler writemask v2

2013-04-02 Thread Christian König
From: Christian König v2: fix instrinsic name as well Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium

Re: [Mesa-dev] [PATCH] radeon/uvd: add UVD implementation

2013-04-03 Thread Christian König
Am 03.04.2013 02:17, schrieb Matt Turner: On Tue, Apr 2, 2013 at 4:19 PM, Christian König wrote: diff --git a/configure.ac b/configure.ac index 81d4a3f..93ec1d2 100644 --- a/configure.ac +++ b/configure.ac @@ -1814,6 +1814,7 @@ if test "x$with_gallium_drivers" != x; then

Re: [Mesa-dev] [PATCH] radeonsi: add more cases for copying unsupported formats to resource_copy_region

2013-04-03 Thread Christian König
oblem, maybe because I'm building with --enable-texture-float? Oh, yes same thing here. Reviewed-by: Michel Dänzer Reviewed-by: Christian König ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/lis

Re: [Mesa-dev] Adjust MIMG writemask to only the used components

2013-04-03 Thread Christian König
Am 03.04.2013 15:19, schrieb Michel Dänzer: On Mit, 2013-03-27 at 17:57 +0100, Christian König wrote: the attached patches dynamically adjust the writemask of MIMG instructions depending on the used components. Additional to that it also adjust the register class of MIMG instruction so that we

[Mesa-dev] [PATCH 1/2] radeon/winsys: add uvd ring support to winsys

2013-04-09 Thread Christian König
From: Christian König Separated from UVD patch for clarity. Signed-off-by: Christian König --- src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 11 +++ src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 17 + src/gallium/winsys/radeon/drm/radeon_winsys.h

[Mesa-dev] [PATCH] st/vdpau: fix subtitle related bug

2013-04-09 Thread Christian König
From: Christian König Drawing subtitles didn't increased the dirty area of the surface. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/output.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/output.c

[Mesa-dev] [PATCH] st/vdpau: fix subtitle related bug v2

2013-04-09 Thread Christian König
From: Christian König Drawing subtitles didn't increased the dirty area of the surface. v2: don't clear the surface Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/output.c |4 1 file changed, 4 insertions(+) diff --git a/src/gallium/state_trac

Re: [Mesa-dev] Adjust MIMG writemask to only the used components

2013-04-10 Thread Christian König
Am 03.04.2013 15:43, schrieb Michel Dänzer: On Mit, 2013-04-03 at 15:38 +0200, Christian König wrote: Am 03.04.2013 15:19, schrieb Michel Dänzer: On Mit, 2013-03-27 at 17:57 +0100, Christian König wrote: the attached patches dynamically adjust the writemask of MIMG instructions depending on

Re: [Mesa-dev] [PATCH v2] R600/SI: Add pattern for AMDGPUurecip

2013-04-10 Thread Christian König
Am 10.04.2013 11:46, schrieb Michel Dänzer: From: Michel Dänzer 21 more little piglits with radeonsi. Signed-off-by: Michel Dänzer You figured it out, great! But why the heck is multiplying with 0x4f80 fixing the result? Cheers, Christian. --- v2: Now with lit test. lib/Target/R6

Re: [Mesa-dev] [PATCH v2] R600/SI: Add pattern for AMDGPUurecip

2013-04-10 Thread Christian König
Am 10.04.2013 12:21, schrieb Michel Dänzer: On Mit, 2013-04-10 at 12:07 +0200, Christian König wrote: Am 10.04.2013 11:46, schrieb Michel Dänzer: From: Michel Dänzer 21 more little piglits with radeonsi. Signed-off-by: Michel Dänzer You figured it out, great! I figured out what? :) This

Re: [Mesa-dev] Regarding UVD implementation check-out from MESA

2013-04-10 Thread Christian König
Hello Ramesh, currently there is no mesa tree you can fetch, you would need to get the relevant patches from the maillinglist and apply them manually. But please be patient, I think I can push the relevant mesa patches to the master branch today. Cheers, Christian. Am 10.04.2013 06:55, sch

Re: [Mesa-dev] [PATCH v3] R600/SI: Add pattern for AMDGPUurecip

2013-04-11 Thread Christian König
Am 10.04.2013 18:50, schrieb Tom Stellard: On Wed, Apr 10, 2013 at 05:59:48PM +0200, Michel Dänzer wrote: [SNIP] We should start using the updated pattern syntax for all new patterns. This means replacing register classes with types for the input patterns and omitting the type in the output pat

[Mesa-dev] [PATCH 1/2] radeon/winsys: add uvd ring support to winsys v2

2013-04-11 Thread Christian König
From: Christian König Separated from UVD patch for clarity. v2: sync with next tree for 3.10 http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.10-wip Signed-off-by: Christian König --- src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 11 +++ src/gallium/winsys/radeon

[Mesa-dev] [PATCH 0/2] initial UVD support

2013-04-11 Thread Christian König
Hopefully the last round for this patchset. Since we now have a stable kernel interface I'm going to commit it this evening if nobody objects. Christian. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/lis

Re: [Mesa-dev] [PATCH 1/2] radeon/winsys: add uvd ring support to winsys v2

2013-04-11 Thread Christian König
Am 11.04.2013 15:54, schrieb Andreas Boll: 2013/4/11 Christian König From: Christian König Separated from UVD patch for clarity. v2: sync with next tree for 3.10 http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.10-wip Signed-off-by: Christian König --- src/gallium/winsys

[Mesa-dev] [PATCH] autoconf: enable detection of vdpau and xvmc by default

2013-04-12 Thread Christian König
From: Christian König Since we now have UVD support we should enable them by default. Signed-off-by: Christian König --- configure.ac |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 55ebb07..aa95406 100644 --- a/configure.ac +++ b

[Mesa-dev] [PATCH] r600/uvd: cleanup disabling tiling on pre EG asics

2013-04-12 Thread Christian König
From: Christian König Set transfer flag instead of fiddling with the tilling params directly. Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_uvd.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src

Re: [Mesa-dev] [PATCH] radeon/llvm: Use LLVM C API for compiling LLVM IR to ISA.

2013-04-17 Thread Christian König
Am 17.04.2013 01:13, schrieb Tom Stellard: From: Tom Stellard The LLVM C API is considered stable and should never change, so it is much more desirable to use than the LLVM C++ API, which is constantly in flux. Looks good on first glance, but I would separate the initialization and finding t

Re: [Mesa-dev] [PATCH] autoconf: enable detection of vdpau and xvmc by default

2013-04-18 Thread Christian König
Am 18.04.2013 03:07, schrieb Emil Velikov: On 18/04/13 01:55, Emil Velikov wrote: On 18/04/13 01:21, Paul Berry wrote: On 12 April 2013 01:26, Christian König wrote: From: Christian König Since we now have UVD support we should enable them by default. Signed-off-by: Christian König

Re: [Mesa-dev] [PATCH] configure.ac: Remove gallium-g3dvl flag.

2013-04-18 Thread Christian König
ood to see you're braver than me, the patch itself is: Reviewed-by: Christian König --- configure.ac | 17 + 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/configure.ac b/configure.ac index 70c598e..8266cb7 100644 --- a/configure.ac +++ b/configure

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-19 Thread Christian König
Hi Vadim, from your description it seems to be a post processing stage working on the bytecode of the shaders and additional to that is quite separated from the rest of the driver. If that's the case then I don't really see a reason why we shouldn't merge it, but at least at the beginning it

Re: [Mesa-dev] [PATCH] R600/SI: Implement spilling of SGPRs v4

2013-11-26 Thread Christian König
FER_LOAD_DWORD", SReg_128, SGPR_32 >; This change looks like it might want to go into a separate patch, apart from that the patch is: Reviewed-by: Christian König ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 7/8] st/vdpau: Destroy context when initialization fails

2013-12-13 Thread Christian König
Am 12.12.2013 23:47, schrieb Aaron Watry: Prevents a potential memory leak found when tracking down something else. Patch is : Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/vdpau

Re: [Mesa-dev] Naming everything in src/gallium/drivers/radeonsi si_*

2014-01-07 Thread Christian König
Don't worry to much about history keeping, anybody who really needs that should be capable of digging that up anyway. I would just squash together the changes "Apply si_ file naming scheme in src/gallium/drive…" and "Fix up file renaming: change file names in commen…". Also please change the s

Re: [Mesa-dev] [PATCH 2/6] gallium/vl: use u_upload_mgr to upload vertices for vl_compositor

2014-01-13 Thread Christian König
Am 13.01.2014 14:13, schrieb Marek Olšák: From: Marek Olšák This patch is: Reviewed-by: Christian König This is the recommended way for streaming vertices. Always use this if you need to upload vertices every frame. --- src/gallium/auxiliary/vl/vl_compositor.c | 51

[Mesa-dev] [PATCH] vdpau: flush the context before exporting the surface v2

2014-01-13 Thread Christian König
efore every upload. BTW, I'm not sure if this is the right place for flushing, but it does fix the bug. v2 (chk): move the flush to the right place. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/stat

Re: [Mesa-dev] [PATCH] vdpau: flush the context before exporting the surface v2

2014-01-13 Thread Christian König
MC devs on this. Christian. Am 13.01.2014 15:20, schrieb Marek Olšák: This patch doesn't fix the bug. :( Marek On Mon, Jan 13, 2014 at 2:55 PM, Christian König wrote: From: Marek Olšák Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73191 When VL uploads vertex b

Re: [Mesa-dev] Naming everything in src/gallium/drivers/radeonsi si_*

2014-01-14 Thread Christian König
Am 13.01.2014 22:00, schrieb Andreas Hartmetz: I don't have an fdo account or push rights. Can somebody else push it for me please? I've added the Reviewed-by: lines so the patches only need to be pushed now. You should consider registering an account if you are planning to do more work on mes

Re: [Mesa-dev] [PATCH] st/vdpau: check that the format/bindings are valid

2014-01-17 Thread Christian König
Am 17.01.2014 04:19, schrieb Ilia Mirkin: It's a bit unreasonable to rely on applications doing the queries and then obeying their results. Apart from a minor style comment (see below) the patch looks good to me, but isn't that a bit superfluous? I mean if the format isn't supported resource_

Re: [Mesa-dev] [V3 PATCH 0/8] mesa: Naming MESA_FORMATs to a specification

2014-01-17 Thread Christian König
I haven't followed the discussion so I can't judge weather or not this is a good idea. But as a general note on writing patches: Please limit the subject line to a sane length! Something between 60 and 80 chars should be ok. Thanks, Christian. Am 17.01.2014 07:37, schrieb Mark Mueller: This

Re: [Mesa-dev] [PATCH] st/vdpau: check that the format/bindings are valid

2014-01-17 Thread Christian König
Am 17.01.2014 09:37, schrieb Ilia Mirkin: On Fri, Jan 17, 2014 at 3:19 AM, Christian König wrote: Am 17.01.2014 04:19, schrieb Ilia Mirkin: It's a bit unreasonable to rely on applications doing the queries and then obeying their results. Apart from a minor style comment (see below

Re: [Mesa-dev] [PATCH 1/3] st/vdpau: don't return a device if the screen doesn't support NPOT

2014-01-18 Thread Christian König
Am 18.01.2014 05:58, schrieb Ilia Mirkin: NV3x cards don't support NPOT textures. Technically this restriction could be worked around, but since it also doesn't expose any video decoding hw, just turn it off entirely. Signed-off-by: Ilia Mirkin Cc: 10.0 Actually we had a similar problem for

Re: [Mesa-dev] [PATCH 1/3] st/vdpau: don't return a device if the screen doesn't support NPOT

2014-01-18 Thread Christian König
Am 18.01.2014 11:34, schrieb Ilia Mirkin: On Sat, Jan 18, 2014 at 5:27 AM, Christian König wrote: Am 18.01.2014 05:58, schrieb Ilia Mirkin: NV3x cards don't support NPOT textures. Technically this restriction could be worked around, but since it also doesn't expose any video d

Re: [Mesa-dev] [PATCH 3/3] st/vdpau: check surface params before creating resources

2014-01-18 Thread Christian König
au I was just about to complain. But it seems like this is the only remark I can find as well. Patches are: Reviewed-by: Christian König + res = pipe->screen->resource_create(pipe->screen, &res_tmpl); if (!res) { ret = VDP_STATUS_RESOURCES; diff --git a/src/

Re: [Mesa-dev] [PATCH] st/vdpau: s/surface/resource/ to fix compiler warning

2014-01-20 Thread Christian König
Not critical, but indeed wrong. Reviewed-by: Christian König Am 20.01.2014 16:51, schrieb Brian Paul: --- src/gallium/state_trackers/vdpau/output.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers

Re: [Mesa-dev] [PATCH] vdpau: flush the context before exporting the surface v2

2014-01-23 Thread Christian König
ssues currently have priority. Christian. Am 23.01.2014 01:38, schrieb Marek Olšák: Is there any news from the XBMC team? I think we should fix this sooner rather than later. Marek On Mon, Jan 13, 2014 at 3:29 PM, Christian König wrote: Yeah, probably because XBMC still (incorrectly) calls the ma

Re: [Mesa-dev] [PATCH 13/24] targets/omx: use GALLIUM_OMX_LINKER_FLAGS

2014-04-01 Thread Christian König
Am 27.03.2014 22:00, schrieb Emil Velikov: Cc: Christian König Signed-off-by: Emil Velikov Reviewed-by: Christian König --- src/gallium/Automake.inc | 6 ++ src/gallium/targets/r600/omx/Makefile.am | 10 +++--- src/gallium/targets/radeonsi/omx

Re: [Mesa-dev] [PATCH 17/24] targets/omx: define GALLIUM_TRACE when using the trace driver

2014-04-01 Thread Christian König
Am 27.03.2014 22:00, schrieb Emil Velikov: Otherwise the omx drivers are explicitly linked but never wrapped in order to use it. On the other hand I'm not sure if we really need the tracer linked in here, referencing it was just to make drm_target.c happy. Christian. Cc: Christian

Re: [Mesa-dev] [PATCH 17/24] targets/omx: define GALLIUM_TRACE when using the trace driver

2014-04-01 Thread Christian König
Am 28.03.2014 11:32, schrieb Emil Velikov: On 28/03/14 09:40, Christian König wrote: Am 27.03.2014 22:00, schrieb Emil Velikov: Otherwise the omx drivers are explicitly linked but never wrapped in order to use it. On the other hand I'm not sure if we really need the tracer linked in

Re: [Mesa-dev] [PATCH 12/24] targets/omx: introduce GALLIUM_OMX_LIB_DEPS

2014-04-01 Thread Christian König
Am 27.03.2014 22:00, schrieb Emil Velikov: Cc: Christian König Signed-off-by: Emil Velikov Reviewed-by: Christian König --- src/gallium/Automake.inc | 6 ++ src/gallium/targets/r600/omx/Makefile.am | 5 + src/gallium/targets/radeonsi/omx/Makefile.am | 5

Re: [Mesa-dev] [PATCH] Revert "radeon: just don't map VRAM buffers at all"

2014-04-02 Thread Christian König
Am 01.04.2014 15:47, schrieb Leo Liu: From: Leo Liu This reverts commit 96e8b916a7a39a9ba58e92d1ad77b5501de63ac7. The patch itself is ok, but we should probably add an explanation why we want to revert this. Christian. Signed-off-by: Leo Liu --- src/gallium/drivers/radeon/r600_textur

Re: [Mesa-dev] [PATCH] Revert "radeon: just don't map VRAM buffers at all"

2014-04-02 Thread Christian König
I've applied the original patch because the same thing for reading textures speeded up the decoding case with UVD quite significantly. For VCE it reduced the CPU load as well, but I didn't checked if the encoding time stayed the same (which isn't the case). I think the problem is that VCE need

Re: [Mesa-dev] [PATCH] Revert "radeon: just don't map VRAM buffers at all"

2014-04-02 Thread Christian König
_DIRECTLY", the regression can be fixed too. Going to resend patch for this approach. Leo -Original Message- From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On Behalf Of Christian König Sent: Wednesday, April 02, 2014 9:43 AM To: Marek Olšák; Alex Deucher Cc: mesa-dev@l

Re: [Mesa-dev] [PATCH] radeon/vce: cleanup cpb handling

2014-04-03 Thread Christian König
Am 03.04.2014 16:03, schrieb Leo Liu: From: Leo Liu Signed-off-by: Leo Liu --- src/gallium/drivers/radeon/radeon_vce.c| 22 +++--- src/gallium/drivers/radeon/radeon_vce.h| 3 +++ src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 6 -- 3 files changed,

<    1   2   3   4   5   6   7   8   9   10   >