[Mesa-dev] [PATCH 12/18] radeon/vce: make firmware check compatible with new firmware

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/radeon/radeon_vce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_vce.c

[Mesa-dev] [PATCH 14/18] radeon/video: add 4K support for decode/encode parameters

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com Acked-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/radeon/radeon_video.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[Mesa-dev] [PATCH 13/18] radeon/vce: adapt new firmware interface changes

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com v2: make this also compatible with original released firmware v3: rebase by Marek Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/radeon/radeon_vce.c| 1 +

[Mesa-dev] [PATCH 18/18] radeonsi: add new VI PCI IDs

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- include/pci_ids/radeonsi_pci_ids.h | 20 1 file changed, 20 insertions(+) diff --git a/include/pci_ids/radeonsi_pci_ids.h b/include/pci_ids/radeonsi_pci_ids.h index 571e863..ca81f76 100644 --- a/include/pci_ids/radeonsi_pci_ids.h

[Mesa-dev] [PATCH 11/18] gallium/radeon: add h264 performance HW decoder support

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com v2: -make tonga use new h264 performance HW decoder; -integrate it scaling buffer to msg_fb buffer Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/radeon/radeon_uvd.c | 63

[Mesa-dev] [PATCH 15/18] radeon/uvd: recalculate dbp buffer size

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/radeon/radeon_uvd.c | 81 - 1 file changed, 59 insertions(+), 22 deletions(-) diff --git

[Mesa-dev] [PATCH 17/18] radeon/vce: implement VCE two pipe support

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com v2: rebase by Marek Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/radeon/radeon_vce.c| 5 +

Re: [Mesa-dev] [PATCH] vc4: with primconvert, quads follow provoking vertex convention

2015-04-20 Thread Ilia Mirkin
On Mon, Apr 20, 2015 at 8:30 PM, Eric Anholt e...@anholt.net wrote: Ilia Mirkin imir...@alum.mit.edu writes: Signed-off-by: Ilia Mirkin imir...@alum.mit.edu But we don't have provoking vertex convention support in the first place, so we actually just need to introduce caps to not expose the

[Mesa-dev] [PATCH 2/5] gallium/radeon: print winsys info with R600_DEBUG=info

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/drivers/radeon/r600_pipe_common.c | 27 +++ src/gallium/drivers/radeon/r600_pipe_common.h | 1 + 2 files changed, 28 insertions(+) diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c

[Mesa-dev] [PATCH 4/5] radeonsi: remove deprecated and useless registers

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/drivers/radeonsi/si_state.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 4bb6f2b..f24cbbd 100644 ---

[Mesa-dev] [PATCH 1/5] winsys/radeon: make radeon_bo_vtbl static

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index e609d68..061c814 100644 ---

[Mesa-dev] [PATCH 3/5] radeonsi: remove useless includes

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/drivers/radeonsi/si_pipe.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 5dc657c..e68c30e 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++

[Mesa-dev] [PATCH 5/5] radeonsi: set an optimal value for DB_Z_INFO_ZRANGE_PRECISION

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com Required because of a VI hw bug. --- src/gallium/drivers/radeonsi/si_state.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index

[Mesa-dev] Initial amdgpu driver release

2015-04-20 Thread Alex Deucher
I'm pleased to announce the initial release of the new amdgpu driver. This is a partial replacement for the radeon driver for newer AMD asics. A number of components are still shared. Here is a comparison of the radeon and amdgpu stacks: 1. radeon stack kernel driver: radeon.ko libdrm:

Re: [Mesa-dev] Initial amdgpu driver release

2015-04-20 Thread Alex Deucher
On Mon, Apr 20, 2015 at 6:33 PM, Alex Deucher alexdeuc...@gmail.com wrote: I'm pleased to announce the initial release of the new amdgpu driver. This is a partial replacement for the radeon driver for newer AMD asics. A number of components are still shared. Here is a comparison of the

Re: [Mesa-dev] [PATCH] vc4: with primconvert, quads follow provoking vertex convention

2015-04-20 Thread Eric Anholt
Ilia Mirkin imir...@alum.mit.edu writes: Signed-off-by: Ilia Mirkin imir...@alum.mit.edu But we don't have provoking vertex convention support in the first place, so we actually just need to introduce caps to not expose the extension. signature.asc Description: PGP signature

[Mesa-dev] [PATCH] clover: compile all sources with c++11

2015-04-20 Thread EdB
Later we can remove the compat code. --- src/gallium/state_trackers/clover/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am index 62c13fa..54b6fff 100644 ---

[Mesa-dev] [PATCH 2/6] st/vdpau: add h264 decoder level support

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/vdpau/decode.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/state_trackers/vdpau/decode.c

[Mesa-dev] [PATCH 4/6] vl: add level idc in sps

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/include/pipe/p_video_state.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_video_state.h

[Mesa-dev] [PATCH 6/6] st/va: add h264 decoder level support

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/va/context.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/state_trackers/va/context.c

[Mesa-dev] [PATCH 5/6] st/omx/dec: add h264 decoder level support

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com v2: use sps level idc as level to driver Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/omx/vid_dec_h264.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 0/6] Video state tracker patches for VI

2015-04-20 Thread Marek Olšák
These patches were created during UVD and VCE bring-up for VI. I'm sending them in case other people want to review them. Marek ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 3/6] st/omx/dec: separate create_video_codec to different codecs

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com v2: get frame size from port info Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/omx/vid_dec.c| 18 -- src/gallium/state_trackers/omx/vid_dec.h| 1 +

[Mesa-dev] [PATCH 1/6] gallium/util: get h264 level based on number of max references and resolution

2015-04-20 Thread Marek Olšák
From: Leo Liu leo@amd.com v2: add commments for limitation of max references numbers, and what the caculation is based Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/auxiliary/util/u_video.h | 36

[Mesa-dev] [PATCH 01/18] winsys/radeon: move radeon_winsys.h up one directory

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- .../auxiliary/target-helpers/inline_drm_helper.h | 6 +- src/gallium/drivers/r300/r300_chipset.c| 2 +- src/gallium/drivers/r300/r300_context.h| 1 - src/gallium/drivers/r300/r300_screen.h | 2 +-

[Mesa-dev] [PATCH 03/18] winsys/amdgpu: add a new winsys for the new kernel driver

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- configure.ac | 5 + src/gallium/Makefile.am | 1 + src/gallium/drivers/r300/Automake.inc | 6 +- src/gallium/drivers/r600/Automake.inc | 6 +-

[Mesa-dev] (no subject)

2015-04-20 Thread Marek Olšák
Hi, This is the new amdgpu winsys and Mesa support for GCN version 3 (VI) chips. The winsys requires libdrm_amdgpu: http://cgit.freedesktop.org/~agd5f/drm/log/?h=amdgpu The 3D support should be on the same level as Sea Islands (CIK). There is also UVD and VCE support. LLVM 3.6 is required,

[Mesa-dev] [PATCH 10/18] gallium/radeon: use VM for VCE

2015-04-20 Thread Marek Olšák
From: Christian König christian.koe...@amd.com v2: (leo) add checking for driver backend v3: (leo) change variable name from use_amdgpu to use_vm v4: rebase by Marek Signed-off-by: Christian König christian.koe...@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Alex Deucher

[Mesa-dev] [PATCH 07/18] radeonsi: add VI hardware support

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/drivers/radeon/r600_pipe_common.c | 6 src/gallium/drivers/radeon/r600_pipe_common.h | 1 + src/gallium/drivers/radeonsi/si_descriptors.c | 15 +++-- src/gallium/drivers/radeonsi/si_pipe.c | 5 ++-

[Mesa-dev] [PATCH 08/18] radeonsi: add a temporary workaround for a shader bug

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com This will be reverted after the corresponding LLVM fix is cherry-picked and released as part of LLVM 3.6. --- src/gallium/drivers/radeonsi/si_state_shaders.c | 47 - 1 file changed, 31 insertions(+), 16 deletions(-) diff --git

[Mesa-dev] [PATCH 09/18] gallium/radeon: use VM for UVD

2015-04-20 Thread Marek Olšák
From: Christian König christian.koe...@amd.com v2: (leo) add checking for driver backend v3: (leo) change variable name from use_amdgpu to use_vm v4: rebase by Marek Signed-off-by: Christian König christian.koe...@amd.com Signed-off-by: Leo Liu leo@amd.com Reviewed-by: Alex Deucher

[Mesa-dev] [PATCH 02/18] winsys/radeon: add a private interface for radeon_surface

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/drivers/r600/evergreen_state.c | 6 +- src/gallium/drivers/r600/r600_uvd.c| 2 +- src/gallium/drivers/radeon/r600_pipe_common.h | 2 +- src/gallium/drivers/radeon/r600_texture.c | 12 +-

[Mesa-dev] [PATCH 05/18] radeonsi: fix DRM version checks for amdgpu DRM 3.0.0

2015-04-20 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/drivers/radeon/r600_buffer_common.c | 6 -- src/gallium/drivers/radeon/r600_pipe_common.c | 4 +++- src/gallium/drivers/radeon/r600_texture.c | 8 +--- src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-

[Mesa-dev] [PATCH 00/18] AMDGPU winsys and VI hardware support

2015-04-20 Thread Marek Olšák
Hi, This is the new amdgpu winsys and Mesa support for GCN version 3 (VI) chips. The winsys requires libdrm_amdgpu: http://cgit.freedesktop.org/~agd5f/drm/log/?h=amdgpu The 3D support should be on the same level as Sea Islands (CIK). There is also UVD and VCE support. LLVM 3.6 is required,

Re: [Mesa-dev] [PATCH 2/3] glsl: add fallthrough comment on switch

2015-04-20 Thread Matt Turner
On Mon, Apr 20, 2015 at 10:27 PM, Tapani Pälli tapani.pa...@intel.com wrote: Signed-off-by: Tapani Pälli tapani.pa...@intel.com --- src/glsl/linker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index b6baa5d..08b4137 100644 ---

Re: [Mesa-dev] [PATCH v2 03/24] mesa/glsl: build list of program resources during linking

2015-04-20 Thread Matt Turner
On Wed, Apr 1, 2015 at 5:14 AM, Tapani Pälli tapani.pa...@intel.com wrote: Patch adds ProgramResourceList to gl_shader_program structure. List contains references to active program resources and is constructed during linking phase. This list will be used by follow-up patches to implement

Re: [Mesa-dev] [PATCH v2 03/24] mesa/glsl: build list of program resources during linking

2015-04-20 Thread Tapani
On 04/21/2015 04:49 AM, Matt Turner wrote: On Wed, Apr 1, 2015 at 5:14 AM, Tapani Pälli tapani.pa...@intel.com wrote: Patch adds ProgramResourceList to gl_shader_program structure. List contains references to active program resources and is constructed during linking phase. This list will be

Re: [Mesa-dev] [PATCH v2 06/24] mesa: glGetProgramResourceName

2015-04-20 Thread Matt Turner
On Wed, Apr 1, 2015 at 5:14 AM, Tapani Pälli tapani.pa...@intel.com wrote: Patch adds required helper functions to shaderapi.h and the actual implementation. Name generation copied from '_mesa_get_uniform_name' which can be removed later by refactoring functions to use resource list. The

Re: [Mesa-dev] [PATCH 1/5] winsys/radeon: make radeon_bo_vtbl static

2015-04-20 Thread Michel Dänzer
On 21.04.2015 06:59, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com This series is Reviewed-by: Michel Dänzer michel.daen...@amd.com -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer

[Mesa-dev] [PATCH 2/3] glsl: add fallthrough comment on switch

2015-04-20 Thread Tapani Pälli
Signed-off-by: Tapani Pälli tapani.pa...@intel.com --- src/glsl/linker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index b6baa5d..08b4137 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -2571,6 +2571,7 @@

[Mesa-dev] [PATCH 3/3] mesa: add missing break in switch statement

2015-04-20 Thread Tapani Pälli
Signed-off-by: Tapani Pälli tapani.pa...@intel.com --- src/mesa/main/shader_query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp index 1428058..336598d 100644 --- a/src/mesa/main/shader_query.cpp +++

[Mesa-dev] [PATCH 1/3] mesa: fix UBO queries for active uniforms

2015-04-20 Thread Tapani Pälli
Commit 34df5eb introduced regression to GetActiveUniformBlockiv when querying one of the following properties: GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES Implementation counted all uniforms in ubo directly while query should check first if the uniform in

Re: [Mesa-dev] [PATCH 2/2] clover: remove pre llvm 3.5.0 compatibility code

2015-04-20 Thread Tom Stellard
On Sun, Apr 19, 2015 at 10:50:19AM +0200, EdB wrote: --- Reviewed-by: Tom Stellard thomas.stell...@amd.com .../state_trackers/clover/llvm/invocation.cpp | 23 ++ 1 file changed, 2 insertions(+), 21 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 1/2] clover: make llvm = 3.5.0 and c++11 mandatory

2015-04-20 Thread Tom Stellard
On Sun, Apr 19, 2015 at 10:50:18AM +0200, EdB wrote: Clover not longer compile with llvm = 3.5.0 since e1d363b3 e1d363b3 implies c++11 and llvm 3.5.0 CXXFLAGS provided it No one seems to have noticed it. It's now official. Thanks for working on this. --- configure.ac

[Mesa-dev] [Bug 84805] DEF files missing for GLES1/GLES2

2015-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84805 --- Comment #6 from Charles Huber genpfa...@gmail.com --- Still working as of cb154bb22116910c462f7a83f4401bd01e15c34d -- You are receiving this mail because: You are the assignee for the bug. ___

[Mesa-dev] [Bug 84805] DEF files missing for GLES1/GLES2

2015-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84805 --- Comment #7 from José Fonseca jfons...@vmware.com --- (In reply to Charles Huber from comment #6) Still working as of cb154bb22116910c462f7a83f4401bd01e15c34d That's 10.4 branch. I think this has been broken apart in master:

[Mesa-dev] [PATCH v2 1/2] clover: make llvm = 3.5.0 and c++11 mandatory

2015-04-20 Thread EdB
Clover not longer compile with llvm = 3.5.0 since e1d363b3. e1d363b3 implies c++11 and llvm 3.5.0 CXXFLAGS provided it. No one seems to have noticed it, it's now official. --- configure.ac | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git

Re: [Mesa-dev] [PATCH v2 1/2] clover: make llvm = 3.5.0 and c++11 mandatory

2015-04-20 Thread Francisco Jerez
EdB edb+m...@sigluy.net writes: Clover not longer compile with llvm = 3.5.0 since e1d363b3. e1d363b3 implies c++11 and llvm 3.5.0 CXXFLAGS provided it. No one seems to have noticed it, it's now official. --- I haven't carefully reviewed the series, but I'm fine with dropping support for LLVM

Re: [Mesa-dev] [PATCH] gallivm: Fix build against LLVM 3.7 SVN r235265

2015-04-20 Thread Michel Dänzer
On 20.04.2015 12:51, Nick Sarnie wrote: LLVM removed JITEmitDebugInfo from TargetOptions since they weren't used v2: Be consistent with the LLVM version check (Aaron Watry) Pushed, thanks. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast