[Mesa-dev] [PATCH] st/mesa: don't do linear->srgb conversion in decompress_with_blit

2012-06-14 Thread Marek Olšák
This fixes piglit/getteximage-formats on r600g. NOTE: This is a candidate for stable branches. --- src/mesa/state_tracker/st_cb_texture.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 9d1b7f6..67c3f95

[Mesa-dev] [PATCH] st/mesa: make unsupported renderbuffer formats always fail as FBO incomplete

2012-06-14 Thread Marek Olšák
instead of failing to allocate a renderbuffer. This also improves allocation of MSAA renderbuffers (untested). This also fixes piglit/get-renderbuffer-internalformat with non-renderable formats. --- src/mesa/state_tracker/st_cb_fbo.c | 63 +++- 1 file changed, 55

Re: [Mesa-dev] [PATCH] radeon: Remove unnecessary pipe_thread_destroy in radeon_drm_cs_destroy

2012-06-14 Thread Marek Olšák
Pushed, thanks. Marek On Tue, May 22, 2012 at 12:25 PM, Maarten Lankhorst wrote: > Fixes crash bug introduced with 210ddf0819b5 fd.o #49198 > pthread_detach after a pthread_join is unneeded. > > Signed-off-by: Maarten Lankhorst > > --- > diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.

Re: [Mesa-dev] [PATCH 1/2] st/vdpau: clear Cb&Cr with 0.5f

2012-06-14 Thread Andy Furniss
Christian König wrote: That makes the output black in case of decoding errors. This fixes the green lines I was seeing with sw decode after the last patch. It doesn't replace them with black. It does make the broken hw decode on rv350 more black than it was. _

[Mesa-dev] [Bug 50604] [compile error] ../../../../../src/mesa/libdricore/../main/api_arrayelt.c:45:27: fatal error: main/dispatch.h: No such file or directory

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50604 --- Comment #4 from Christopher James Halse Rogers 2012-06-14 16:35:26 PDT --- (In reply to comment #3) > The problem looks like include path brokenness. Generated source is put in the > build tree, but it's looked for in the source tree. Corre

Re: [Mesa-dev] [PATCH 1/3] r600g: set SMX_ACTION_ENA to fix streamout cache flushes on some chipsets

2012-06-14 Thread Alex Deucher
On Thu, Jun 14, 2012 at 6:09 PM, Marek Olšák wrote: > It helps on R7xx. For the series: Reviewed-by: Alex Deucher > --- >  src/gallium/drivers/r600/r600_hw_context.c |    3 ++- >  1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/r600/r600_hw_context.c > b/sr

Re: [Mesa-dev] [PATCH] winsys/radeon: enable IB submission to compute rings

2012-06-14 Thread Marek Olšák
Reviewed-by: Marek Olšák Sorry for the late reply. Marek On Mon, May 21, 2012 at 5:51 PM, Christian König wrote: > This allows to submit things to the compute only > rings on cayman+ > > Signed-off-by: Christian König > --- >  src/gallium/winsys/radeon/drm/radeon_drm_cs.c |   15 +++--

[Mesa-dev] [PATCH 1/3] r600g: set SMX_ACTION_ENA to fix streamout cache flushes on some chipsets

2012-06-14 Thread Marek Olšák
It helps on R7xx. --- src/gallium/drivers/r600/r600_hw_context.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index a022436..0fed95c 100644 --- a/src/gallium/drivers/r600/r600_hw_co

[Mesa-dev] [PATCH 3/3] r600g: fix lockups with streamout on r7xx

2012-06-14 Thread Marek Olšák
This requires the latest streamout kernel patches. Streamout is disabled by default on r7xx, so this patch is safe for regular users. --- src/gallium/drivers/r600/r600_hw_context.c | 14 ++ src/gallium/drivers/r600/r600d.h |1 + 2 files changed, 15 insertions(+) diff

[Mesa-dev] [PATCH 2/3] r600g: compute CS space for streamout correctly, add comments

2012-06-14 Thread Marek Olšák
SET_CONTEXT_REG was not counted in --- src/gallium/drivers/r600/r600_hw_context.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index 0fed95c..1b1c6f4 100644 --- a/src/gal

Re: [Mesa-dev] [PATCH 4/7] ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.

2012-06-14 Thread Kenneth Graunke
On 06/13/2012 05:14 PM, Paul Berry wrote: --- src/mesa/program/ir_to_mesa.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 2245400..217a264 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src

[Mesa-dev] [Bug 51092] src/mesa/main/fbobject.c:1897: reuse_framebuffer_texture_attachment: Assertion `src_att->Renderbuffer != ((void *)0)' failed.

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51092 --- Comment #1 from Brian Paul 2012-06-14 13:47:43 PDT --- The root cause of the failure is in piglit. I posted a fix for review. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail be

[Mesa-dev] [Bug 51092] New: src/mesa/main/fbobject.c:1897: reuse_framebuffer_texture_attachment: Assertion `src_att->Renderbuffer != ((void *)0)' failed.

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51092 Bug #: 51092 Summary: src/mesa/main/fbobject.c:1897: reuse_framebuffer_texture_attachment: Assertion `src_att->Renderbuffer != ((void *)0)' failed. Classification: Unclassified

[Mesa-dev] [Bug 50604] [compile error] ../../../../../src/mesa/libdricore/../main/api_arrayelt.c:45:27: fatal error: main/dispatch.h: No such file or directory

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50604 --- Comment #3 from Darren Salt 2012-06-14 12:00:36 PDT --- The problem looks like include path brokenness. Generated source is put in the build tree, but it's looked for in the source tree. I managed to get a build done by copying the followin

Re: [Mesa-dev] [PATCH 6/7] gallium: Add TGSI_OPCODE_F2U to gallivm backend.

2012-06-14 Thread Roland Scheidegger
Am 14.06.2012 18:55, schrieb Paul Berry: > On 14 June 2012 09:02, Roland Scheidegger > wrote: > > Am 14.06.2012 15:07, schrieb Paul Berry: > > On 14 June 2012 05:10, Jose Fonseca > >

Re: [Mesa-dev] gprof

2012-06-14 Thread Jose Fonseca
- Original Message - > On 06/12/2012 03:35 PM, Frank Henigman wrote: > > I see in the list archives that gprof support was pulled a few > > years ago. > > Anyone remember why? Is there any chance of working today? > > I tried compiling with -pg but haven't manage to get any profiling > >

[Mesa-dev] [Bug 51082] [softpipe] SIGSEGV main/api_loopback.c:1470

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51082 Vinson Lee changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] gprof

2012-06-14 Thread Brian Paul
On 06/12/2012 03:35 PM, Frank Henigman wrote: I see in the list archives that gprof support was pulled a few years ago. Anyone remember why? Is there any chance of working today? I tried compiling with -pg but haven't manage to get any profiling info yet. I doubt anyone has used gprof on Mesa

Re: [Mesa-dev] [PATCH 6/7] gallium: Add TGSI_OPCODE_F2U to gallivm backend.

2012-06-14 Thread Paul Berry
On 14 June 2012 09:02, Roland Scheidegger wrote: > Am 14.06.2012 15:07, schrieb Paul Berry: > > On 14 June 2012 05:10, Jose Fonseca > > wrote: > > > > lp_build_utrunc() doesn't exists yet. For now, please use > > lp_build_itrunc() and add a /* FIXME: implemen

[Mesa-dev] [Bug 51082] [softpipe] SIGSEGV main/api_loopback.c:1470

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51082 --- Comment #1 from Brian Paul 2012-06-14 09:16:36 PDT --- Can you do a 'make clean' in your Mesa tree and retry? Not seeing this issue here. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving t

[Mesa-dev] [PATCH 1/2] st/vdpau: clear Cb&Cr with 0.5f

2012-06-14 Thread Christian König
That makes the output black in case of decoding errors. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/surface.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surfa

[Mesa-dev] [PATCH 2/2] st/vdpau: use template size as default for source_rect.

2012-06-14 Thread Christian König
Fixes alignment problems with flash player. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/mixer.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/mixer.c b/src/gallium/state_trackers/vdpau/mixer.c index

Re: [Mesa-dev] [PATCH 6/7] gallium: Add TGSI_OPCODE_F2U to gallivm backend.

2012-06-14 Thread Roland Scheidegger
Am 14.06.2012 15:07, schrieb Paul Berry: > On 14 June 2012 05:10, Jose Fonseca > wrote: > > lp_build_utrunc() doesn't exists yet. For now, please use > lp_build_itrunc() and add a /* FIXME: implement and use > lp_build_utrunc() */ comment. It's not perfect

Re: [Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-14 Thread Daniel Vetter
On Mon, Jun 04, 2012 at 02:42:40PM -0700, Ben Widawsky wrote: > Setting myself up for a late night crying session once again. Most of the > people reading this probably know the history and reasons for the patches. If > not, you can search the intel-gfx mailing list to try to learn more. I won't >

[Mesa-dev] [Bug 51082] New: [softpipe] SIGSEGV main/api_loopback.c:1470

2012-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51082 Bug #: 51082 Summary: [softpipe] SIGSEGV main/api_loopback.c:1470 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

Re: [Mesa-dev] [PATCH 02/11 v3] mesa intel driver:

2012-06-14 Thread Brian Paul
On 06/14/2012 04:32 AM, Zhao Halley wrote: add YUYV format for dri image Minor nit: the first line of the patch comment should be something like: "intel: add YUYV format for dri images" > YUYV image doesn't use for texture ?? Can you rewrite/clarify that? --- src/mesa/drivers/dri/

Re: [Mesa-dev] [PATCH 1/7] glsl: Add unary operation ir_unop_f2u.

2012-06-14 Thread Brian Paul
On 06/13/2012 06:14 PM, Paul Berry wrote: Previoesly, we performed conversions from float->uint by a two step "Previously" Looks good otherwise. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/lis

Re: [Mesa-dev] [PATCH 6/7] gallium: Add TGSI_OPCODE_F2U to gallivm backend.

2012-06-14 Thread Paul Berry
On 14 June 2012 05:10, Jose Fonseca wrote: > lp_build_utrunc() doesn't exists yet. For now, please use > lp_build_itrunc() and add a /* FIXME: implement and use lp_build_utrunc() > */ comment. It's not perfect, but it's no worse what's there now. > > Jose > Ok, will do. Thank you. > > -

Re: [Mesa-dev] [PATCH 6/7] gallium: Add TGSI_OPCODE_F2U to gallivm backend.

2012-06-14 Thread Jose Fonseca
lp_build_utrunc() doesn't exists yet. For now, please use lp_build_itrunc() and add a /* FIXME: implement and use lp_build_utrunc() */ comment. It's not perfect, but it's no worse what's there now. Jose - Original Message - > --- > src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c |

Re: [Mesa-dev] [PATCH 5/7] gallium: Add support for ir_unop_f2u to tgsi backend.

2012-06-14 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > --- > src/mesa/state_tracker/st_glsl_to_tgsi.cpp |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp > b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp > index 347a22f..58

[Mesa-dev] [PATCH 11/11 v3] [piglit] add egl-create-drm-image test

2012-06-14 Thread Zhao Halley
--- tests/egl/CMakeLists.gl.txt |2 + tests/egl/egl-create-drm-image.c | 145 ++ 2 files changed, 147 insertions(+), 0 deletions(-) create mode 100755 tests/egl/egl-create-drm-image.c diff --git a/tests/egl/CMakeLists.gl.txt b/tests/egl/CMakeLists.gl

[Mesa-dev] [PATCH 10/11 v3] add YUYV support to eglCreateImageKHR and eglCreateDRMImageMESA

2012-06-14 Thread Zhao Halley
--- include/EGL/eglmesaext.h|3 +++ src/egl/drivers/dri2/egl_dri2.c |9 - 2 files changed, 11 insertions(+), 1 deletions(-) mode change 100644 => 100755 include/EGL/eglext.h mode change 100644 => 100755 include/EGL/eglmesaext.h diff --git a/include/EGL/eglext.h b/include

[Mesa-dev] [PATCH 09/11 v3] test: test case drm-test-client in src/egl/wayland/wayland-drm

2012-06-14 Thread Zhao Halley
- it shows how wayland-drm protocol works between server and client buffer are shared basing on dri image - XRGB and YUYV format are supported, it can render to overlay plane potentially --- configure.ac |3 +- src/egl/wayland/wayland-drm/Makefile.am

[Mesa-dev] [PATCH 08/11 v3] intel driver: add tiling support for intel_image_write() all drm image are supported for write

2012-06-14 Thread Zhao Halley
--- src/mesa/drivers/dri/intel/intel_screen.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 3b8f81e..63b6b24 100755 --- a/src/mesa/drivers/dri/intel/intel_screen

[Mesa-dev] [PATCH 07/11 v3] gbm: add handle2(drm buffer region name)

2012-06-14 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |6 +- src/gbm/main/gbm.c | 14 ++ src/gbm/main/gbm.h |3 +++ src/gbm/main/gbmint.h |1 + 4 files changed, 23 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/main/gbm.c mode chang

[Mesa-dev] [PATCH 06/11 v3] wayland-drm: add YUYV support

2012-06-14 Thread Zhao Halley
--- src/egl/wayland/wayland-drm/wayland-drm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/egl/wayland/wayland-drm/wayland-drm.c diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c old mode 100644 ne

[Mesa-dev] [PATCH 05/11 v3] gbm dri backend: add YUYV support

2012-06-14 Thread Zhao Halley
--- src/gbm/backends/dri/gbm_dri.c |9 + src/gbm/main/gbm.h |5 - 2 files changed, 13 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gbm/backends/dri/gbm_dri.c mode change 100644 => 100755 src/gbm/main/gbm.h diff --git a/src/gbm/backends/dri/gbm_d

[Mesa-dev] [PATCH 04/11 v3] gallium egl wayland: add YUYV support

2012-06-14 Thread Zhao Halley
--- .../state_trackers/egl/wayland/native_drm.c|3 +++ .../state_trackers/egl/wayland/native_wayland.h|3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) mode change 100644 => 100755 src/gallium/state_trackers/egl/wayland/native_drm.c mode change 100644 => 100755 src/g

[Mesa-dev] [PATCH 03/11 v3] egl wayland: add YUYV support

2012-06-14 Thread Zhao Halley
--- src/egl/drivers/dri2/egl_dri2.c | 17 ++--- src/egl/drivers/dri2/platform_wayland.c |8 +++- 2 files changed, 21 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/egl/drivers/dri2/egl_dri2.c mode change 100644 => 100755 src/egl/drivers/dri2/platform

[Mesa-dev] [PATCH 02/11 v3] mesa intel driver:

2012-06-14 Thread Zhao Halley
add YUYV format for dri image YUYV image doesn't use for texture --- src/mesa/drivers/dri/intel/intel_screen.c| 10 ++ src/mesa/drivers/dri/intel/intel_tex_image.c |6 ++ 2 files changed, 16 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/mesa/drivers/dri/in

[Mesa-dev] [PATCH 01/11 v3] GL: add YUYV to dri image format

2012-06-14 Thread Zhao Halley
--- include/GL/internal/dri_interface.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100644 => 100755 include/GL/internal/dri_interface.h diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h old mode 100644 new mode 100755 index e37917

[Mesa-dev] [PATCH 00/11 v3] Add YUYV format support of dri image

2012-06-14 Thread Zhao Halley
Intel SNB/IVB platform supports rendering YUYV buffer to overlay plane, however YUYV is missing support from mesa/dri-image yet. so I go ahead to add it; basing on it, libva can send YUYV buffer directly to wayland/weston, then weston output it to overlay plane. v2 update: - set internal_for