[Mesa-dev] [PATCH] r600g/llvm: Add missing "%s" format string to fprintf.

2013-08-11 Thread Jon Severinsson
This fixes a compilation warning with -Wformat-security. CC: "9.2" --- src/gallium/drivers/radeon/radeon_llvm_emit.c |2 +- 1 fil ändrad, 1 tillägg(+), 1 borttagning(-) diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c b/src/gallium/drivers/radeon/radeon_llvm_emit.c index 1a4d4fdd

Re: [Mesa-dev] [PATCH 16/20] radeonsi: add FMASK texture binding slots and resource setup

2013-08-11 Thread Alex Deucher
On Sat, Aug 10, 2013 at 11:09 AM, Christian König wrote: > Am 10.08.2013 15:53, schrieb Marek Olšák: > >> The RCU approach sounds good, but you can never know if 16 is enough. >> We should release the buffer once it is full and allocate a new one. >> The cache bufmgr in the winsys will assure ther

[Mesa-dev] [Bug 54805] gl_ClipVertex support horribly broken with software TNL

2013-08-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54805 Chris Forbes changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |chr...@ijw.co.nz |org

[Mesa-dev] [Bug 54805] gl_ClipVertex support horribly broken with software TNL

2013-08-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54805 Chris Forbes changed: What|Removed |Added CC||chr...@ijw.co.nz -- You are receiving th

Re: [Mesa-dev] [PATCH] dri2: Remove the extra roundtrip during SwapBuffers

2013-08-11 Thread Chris Wilson
On Sun, Aug 11, 2013 at 08:42:45PM +0200, Eric Anholt wrote: > Chris Wilson writes: > > > Currently we call XSync() to run the event queue to catch the invalidate > > event before we wait for the reply from the DRI2SwapBuffers request. > > However, the XServer sends the DRI2InvalidateNotify event

Re: [Mesa-dev] [PATCH] dri2: Remove the extra roundtrip during SwapBuffers

2013-08-11 Thread Eric Anholt
Chris Wilson writes: > Currently we call XSync() to run the event queue to catch the invalidate > event before we wait for the reply from the DRI2SwapBuffers request. > However, the XServer sends the DRI2InvalidateNotify event before sending > the DRI2SwapBuffers reply and so the invalidate event

[Mesa-dev] [Bug 67962] undefined reference to `wayland_drm_buffer_get'

2013-08-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67962 --- Comment #3 from Armin K --- (In reply to comment #2) > I've sent a fix today > > http://lists.freedesktop.org/archives/mesa-dev/2013-August/043097.html Discard this, I've sent a v2 patch today which really fixes the build. -- You are rece

[Mesa-dev] [PATCH v2] gbm: fix linking

2013-08-11 Thread Armin K
Link to internal libwayland-drm library if Wayland EGL platform is enabled. The library needs to be built before gbm. Link to libdrm if gbm_dri is enabled, otherwise library will report undefined references to libdrm symbols when using libgbm without libdrm. Bugzilla: https://bugs.freedesktop.org

[Mesa-dev] [PATCH] dri2: Remove the extra roundtrip during SwapBuffers

2013-08-11 Thread Chris Wilson
Currently we call XSync() to run the event queue to catch the invalidate event before we wait for the reply from the DRI2SwapBuffers request. However, the XServer sends the DRI2InvalidateNotify event before sending the DRI2SwapBuffers reply and so the invalidate event is processed in the normal man

Re: [Mesa-dev] [Patch] Sharing flags should disable tiling

2013-08-11 Thread davyaxel
>This looks good to me, but commit messages should have a prefix >indicating which component is changed. In your case it's "gallium:" >and "intel:", respectively. > >Marek Ok, I've suppressed some trailing spaces and changed the commit message. >From f48fdb44d638ae850c7f3df36211b33788088927 Mon

Re: [Mesa-dev] [Patch] Sharing flags should disable tiling

2013-08-11 Thread Marek Olšák
This looks good to me, but commit messages should have a prefix indicating which component is changed. In your case it's "gallium:" and "intel:", respectively. Marek On Sun, Aug 11, 2013 at 11:32 AM, wrote: > Hello, > > To enable using prime on Wayland, we need to have a way to create shareable

Re: [Mesa-dev] [PATCH 16/20] radeonsi: add FMASK texture binding slots and resource setup

2013-08-11 Thread Daniel Vetter
On Sat, Aug 10, 2013 at 05:36:07PM +0200, Marek Olšák wrote: > On Sat, Aug 10, 2013 at 5:09 PM, Christian König > wrote: > > Am 10.08.2013 15:53, schrieb Marek Olšák: > > > >> The RCU approach sounds good, but you can never know if 16 is enough. > >> We should release the buffer once it is full an

[Mesa-dev] [Patch] Sharing flags should disable tiling

2013-08-11 Thread davyaxel
Hello, To enable using prime on Wayland, we need to have a way to create shareable textures. That's the purpose of __DRI_IMAGE_USE_SHARE and PIPE_BIND_SHARED, but these flags don't disable tiling. This patch change the behaviour of these flags so that they disable tiling. Disabling tiling is n

[Mesa-dev] [PATCH 10/10] nv50: add vp3/vp4 support for mpeg2/vc1

2013-08-11 Thread Ilia Mirkin
h264/mpeg4 remain disabled for pre-nvc0, there's some minor bug/difference which causes the decoding to hang after some frames. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_vp3_video.c | 39 ++- src/gallium/drivers/nv50/Makefile.sources | 6 +- src/gallium/drivers/

[Mesa-dev] [PATCH 09/10] nv50: separate video logic from noalloc

2013-08-11 Thread Ilia Mirkin
The upcoming vp3 logic will want the video layout, but allocated by the miptree. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nv50/nv50_miptree.c | 6 -- src/gallium/drivers/nv50/nv50_resource.h | 1 + src/gallium/drivers/nv50/nv84_video.c| 2 +- 3 files changed, 6 insertions(+),

[Mesa-dev] [PATCH 08/10] nvc0: move video param and format support functions to nouveau

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_vp3_video.c | 37 + src/gallium/drivers/nouveau/nouveau_vp3_video.h | 10 +++ src/gallium/drivers/nvc0/nvc0_context.h | 5 src/gallium/drivers/nvc0/nvc0_screen.c | 18 +++-

[Mesa-dev] [PATCH 07/10] nvc0: move firmware loading functions to nouveau

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_vp3_video.c | 101 src/gallium/drivers/nouveau/nouveau_vp3_video.h | 5 ++ src/gallium/drivers/nvc0/nvc0_video.c | 92 + 3 files changed, 108 insertions(+), 90 deletions(-)

[Mesa-dev] [PATCH 06/10] nvc0: move some of the simpler decoder functions into nouveau

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_vp3_video.c | 63 src/gallium/drivers/nouveau/nouveau_vp3_video.h | 3 ++ src/gallium/drivers/nvc0/nvc0_video.c | 65 ++--- 3 files changed, 69 insertions(+), 62 deletions(-)

[Mesa-dev] [PATCH 05/10] nvc0: move vp param filling logic into nouveau

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/Makefile.sources | 3 +- src/gallium/drivers/nouveau/nouveau_vp3_video.h| 6 + src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c | 485 + src/gallium/drivers/nvc0/nvc0_video.h | 7 - src/g

[Mesa-dev] [PATCH 04/10] nvc0: move bsp param-filling logic into nouveau

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/Makefile.sources | 3 +- src/gallium/drivers/nouveau/nouveau_vp3_video.h| 10 +- .../drivers/nouveau/nouveau_vp3_video_bsp.c| 310 + src/gallium/drivers/nvc0/nvc0_video_bsp.c | 277 +--

[Mesa-dev] [PATCH 03/10] nvc0: move nvc0_decoder into nouveau, rename to nouveau_vp3_decoder

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_vp3_video.h | 160 +++ src/gallium/drivers/nvc0/nvc0_video.c | 22 ++-- src/gallium/drivers/nvc0/nvc0_video.h | 165 +--- src/gallium/drivers/nvc0/nvc0_video_bsp.c

[Mesa-dev] [PATCH 02/10] nvc0: standardize on using #if for NVC0_DEBUG_FENCE

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nvc0/nvc0_video.c | 2 +- src/gallium/drivers/nvc0/nvc0_video.h | 6 +++--- src/gallium/drivers/nvc0/nvc0_video_bsp.c | 4 ++-- src/gallium/drivers/nvc0/nvc0_video_ppp.c | 2 +- src/gallium/drivers/nvc0/nvc0_video_vp.c | 2 +- 5 files ch

[Mesa-dev] [PATCH 01/10] nvc0: refactor video buffer management logic into nouveau_vp3

2013-08-11 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/Makefile.sources| 3 +- src/gallium/drivers/nouveau/nouveau_vp3_video.c | 165 src/gallium/drivers/nouveau/nouveau_vp3_video.h | 38 ++ src/gallium/drivers/nvc0/nvc0_video.c | 135 +---

[Mesa-dev] [PATCH 00/10] Add support for MPEG2 and VC-1 on VP3/VP4 for NV98-NVAF

2013-08-11 Thread Ilia Mirkin
As it turns out, with the proprietary firmware, the VP3 and VP4 interfaces are identical. Furthermore, this is all already implemented for nvc0. So these patches (a) move the easily sharable bits of the nvc0 implementation into the nouveau directory, and then (b) implement the other parts in nv50.