From: Randy Xu
This was causing crashes in Vulkan and GLES stress testing.
Currently, both libEGL and the DRI module call dup when the function
is called. Remove the former since it's ultimately a driver decision
how to manage the file descriptor.
v2: remove dup from the EGL layer (Emil Velikov
Oops sorry, forget about this one. This does not work ok :/ Need to take
a closer look why.
On 06/16/2017 10:21 AM, Tapani Pälli wrote:
From: Randy Xu
This was causing crashes in Vulkan and GLES stress testing.
Currently, both libEGL and the DRI module call dup when the function
is called. R
On Thu, 2017-06-15 at 13:15 +0200, Samuel Iglesias Gonsálvez wrote:
> Hello,
>
> As mentioned in the patch series that implemented Ivybridge support
> ARB_gpu_shader_fp64 [0], the only missing feature in that series was
> register spilling of 64-bit data and, because of that, about ~39 fp64
> pigl
Commit 00620782c9 (i965: use nir_shader_gather_info() over
do_set_program_inouts()) changed how we compute the outputs written.
In the previous version it was using the IR declared outputs, while in
the new one it uses NIR to parse the instructions that write outputs.
Thus, if the shader has decl
https://bugs.freedesktop.org/show_bug.cgi?id=101464
Bug ID: 101464
Summary: PrimitiveRestartNV inside a render list causes a crash
Product: Mesa
Version: 17.0
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
S
We were exposing 4096, but we can do up to 8192 in Gen4-6 and up to
16384 in gen7+. OpenGL 4.1+ requires at least 16384.
---
src/mesa/drivers/dri/i965/brw_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i
On Fri, Jun 16, 2017 at 1:53 AM, Eric Engestrom wrote:
> My refactor missed the fact that `native_platform` is static.
> Add the proper guard around the detection code, as it might not be
> necessary, and only print the debug message when a detection was
> actually performed.
>
> Bugzilla: https:/
This patch adds new classes and tests to implement a tracker for the
life time of temporary registers for the register renaming stage of
glsl_to_tgsi. The tracker aims at estimating the shortest possible
life time for each register. The code base requires c++11, the flag is
propagated from the LLVM
Dear all,
with the help of Nicolai's comments I rewrote the proposed patch set to improve
the register renaming.
The patch is related to bugs where shader compilation fails with
"- translation from TGSI failed!"
Among these is https://bugs.freedesktop.org/show_bug.cgi?id=65448 which I can
This patch replaces the old register livetime estimation with the
new approach.
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.
To prepare the implementation of a temp register lifetime tracker
some of the classes and functions are moved into seperate header/
implementation files to make them accessible from other files.
Specifically these are:
class st_src_reg;
class st_dst_reg;
class glsl_to_tgsi_instruction;
The current implementation assumed that these were replaced in GLSL >= 4.10
by gl_Max{Vertex,Fragment}UniformVectors, however this is not true: both
built-ins should be produced from GLSL 4.10 onwards.
This was raised by new CTS tests that are in development.
---
src/compiler/glsl/builtin_variabl
On Jun 16, 2017 6:08 AM, "Michel Dänzer" wrote:
On 15/06/17 08:56 PM, Marek Olšák wrote:
> From: Marek Olšák
[...]
> /* For non-black borders... */
> - if (msamp->BorderColor.ui[0] ||
> - msamp->BorderColor.ui[1] ||
> - msamp->BorderColor.ui[2] ||
> - msamp->BorderColor
On Friday, 2017-06-16 12:10:55 +0300, Grazvydas Ignotas wrote:
> On Fri, Jun 16, 2017 at 1:53 AM, Eric Engestrom wrote:
> > My refactor missed the fact that `native_platform` is static.
> > Add the proper guard around the detection code, as it might not be
> > necessary, and only print the debug m
https://bugs.freedesktop.org/show_bug.cgi?id=101252
Emil Velikov changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
Hi,
Feral's games still enable primitive restart for all draw calls.
FYI, I will push this patch on Monday if there is no other feedback.
Some other points:
- This is not the first occurrence of private app lists in drivers.
r300 also has an app list in r300_chipset.c.
- The list of Feral's games
On 15 June 2017 at 14:03, Aaron Watry wrote:
> Hey all,
>
> We haven't landed the fixes to break the r600g dependency on AMDGPU yet.
> I'm headed out of town for a long weekend and don't feel like risking the
> push before being gone for five days.
>
> I've got a v3 of Emil's patch 4/5 that remove
On 25 April 2017 at 15:32, Emil Velikov wrote:
> On 25 April 2017 at 15:06, Christian König wrote:
>> Am 25.04.2017 um 15:17 schrieb Ilia Mirkin:
>>>
>>> [SNIP]
>>> Is there a patch I should test?
>>
>>
>> Patch is attached, but only compile tested.
>>
>> Basically if OpenGL/VDPAU interop worked
On Fri, Jun 16, 2017 at 7:51 AM, Emil Velikov wrote:
> On 25 April 2017 at 15:32, Emil Velikov wrote:
>> On 25 April 2017 at 15:06, Christian König wrote:
>>> Am 25.04.2017 um 15:17 schrieb Ilia Mirkin:
[SNIP]
Is there a patch I should test?
>>>
>>>
>>> Patch is attached, but only
On 16 June 2017 at 13:00, Ilia Mirkin wrote:
> On Fri, Jun 16, 2017 at 7:51 AM, Emil Velikov
> wrote:
>> On 25 April 2017 at 15:32, Emil Velikov wrote:
>>> On 25 April 2017 at 15:06, Christian König wrote:
Am 25.04.2017 um 15:17 schrieb Ilia Mirkin:
>
> [SNIP]
> Is there a pat
On Jun 16, 2017 8:09 AM, "Emil Velikov" wrote:
On 16 June 2017 at 13:00, Ilia Mirkin wrote:
> On Fri, Jun 16, 2017 at 7:51 AM, Emil Velikov
wrote:
>> On 25 April 2017 at 15:32, Emil Velikov wrote:
>>> On 25 April 2017 at 15:06, Christian König
wrote:
Am 25.04.2017 um 15:17 schrieb Ilia M
On 16 June 2017 at 13:11, Ilia Mirkin wrote:
> On Jun 16, 2017 8:09 AM, "Emil Velikov" wrote:
>
> On 16 June 2017 at 13:00, Ilia Mirkin wrote:
>> On Fri, Jun 16, 2017 at 7:51 AM, Emil Velikov
>> wrote:
>>> On 25 April 2017 at 15:32, Emil Velikov wrote:
On 25 April 2017 at 15:06, Christian
On Fri, Jun 16, 2017 at 8:15 AM, Emil Velikov wrote:
> On 16 June 2017 at 13:11, Ilia Mirkin wrote:
>> On Jun 16, 2017 8:09 AM, "Emil Velikov" wrote:
>>
>> On 16 June 2017 at 13:00, Ilia Mirkin wrote:
>>> On Fri, Jun 16, 2017 at 7:51 AM, Emil Velikov
>>> wrote:
On 25 April 2017 at 15:32,
From: Marek Olšák
---
src/amd/common/ac_debug.c | 46 ++
src/amd/common/sid.h | 1 +
2 files changed, 47 insertions(+)
diff --git a/src/amd/common/ac_debug.c b/src/amd/common/ac_debug.c
index a8f81bf..79473ec 100644
--- a/src/amd/common/ac_debug
From: Marek Olšák
The parses skips the line if it contains parentheses.
---
src/amd/common/sid.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h
index c69f4f6..a8c78c1 100644
--- a/src/amd/common/sid.h
+++ b/src/amd/common/sid.h
@@
Hi,
>From what I'm aware this is the progress on the fixes:
TotalWarhammer and HitmanPro should now have a fix in shipping.
MadMax, DeusExMD and DirtRally have the fix in a patch making it's way
through our internal testing.
We would still very much prefer to not have a special case for our game
On 15 June 2017 at 21:47, Robert Foss wrote:
> From: Tomeu Vizoso
>
> Signed-off-by: Robert Foss
> ---
> src/gallium/drivers/etnaviv/etnaviv_compiler.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c
> b/src/gallium/drivers/etnaviv/etna
From: Marek Olšák
instead of using a monotonic suballocator
---
src/gallium/drivers/radeonsi/si_pipe.c | 6 ++
src/gallium/drivers/radeonsi/si_pipe.h | 2 ++
src/gallium/drivers/radeonsi/si_state_draw.c | 16
3 files changed, 16 insertions(+), 8 deletions(-)
d
Hi,
This series:
- reworks CB (MSAA-only) and DB flushes
- removes L2 flushes for CP packets and indirect buffers for GFX9
- enables the constant engine for GFX9 (yay!)
- removes all flushes and waits from the end of IBs (relying on
the kernel fence to do that)
The rework of CB and DB flushes i
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_blit.c | 35 +-
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index f0abfdc..0993ebd 100644
--- a/src/gallium/d
From: Marek Olšák
Use the mechanism of si_decompress_textures, but instead of doing
the actual decompression, just flag the DB cache flush there.
This removes a lot of unnecessary DB cache flushes.
---
src/gallium/drivers/radeonsi/si_blit.c| 36 +--
src/gallium/d
From: Marek Olšák
The kernel sort of does the same thing with fences.
---
src/gallium/drivers/radeonsi/si_hw_context.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c
b/src/gallium/drivers/radeonsi/si_hw_context.c
index
From: Marek Olšák
I think this kernel commit fixes it:
drm/amdgpu:use FRAME_CNTL for new GFX ucode
---
src/gallium/drivers/radeonsi/si_pipe.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pip
From: Marek Olšák
---
src/gallium/drivers/radeon/r600_pipe_common.h | 3 ++-
src/gallium/drivers/radeon/r600_query.c | 17 -
src/gallium/drivers/radeon/r600_query.h | 3 ++-
src/gallium/drivers/radeonsi/si_state_draw.c | 7 ---
4 files changed, 20 insertions(+
From: Marek Olšák
The main flush before texturing is done after the FMASK decompress pass.
CB after MSAA rendering is not flushed in set_framebuffer_state and also
not in memory_barrier if the current color buffer is MSAA. We fully rely
on the FMASK decompress pass for the flushing.
Some CB dec
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_hw_context.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c
b/src/gallium/drivers/radeonsi/si_hw_context.c
index 5d930a6..b420c9f 100644
--- a/src/gallium/drivers/radeonsi/si_hw_context.c
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_compute.c| 5 +++--
src/gallium/drivers/radeonsi/si_pipe.c | 6 --
src/gallium/drivers/radeonsi/si_state.c | 4 +++-
src/gallium/drivers/radeonsi/si_state_draw.c | 19 +++
4 files changed, 21 insertions(+
On 16 June 2017 at 04:38, Chih-Wei Huang wrote:
> 2017-06-16 4:47 GMT+08:00 Robert Foss :
>> From: Rob Herring
>>
>> Signed-off-by: Rob Herring
>> ---
>> src/gallium/auxiliary/os/os_process.c | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/gallium/auxiliary/
On 15 June 2017 at 21:47, Robert Foss wrote:
> From: Rob Herring
>
> Signed-off-by: Rob Herring
> ---
> src/gbm/backends/dri/gbm_dri.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
> index 19be440d48..58b
On 15 June 2017 at 21:47, Robert Foss wrote:
> From: Rob Herring
>
> This is required by freedreno at least for GLES3 support.
>
> See docs/patents.txt for information about turning this on for s/w
> renderers.
>
I'm inclined to agree with Tapani. We're not lawyers and with the
patent expiring in
Hi Rob,
There's a handful of small nitpicks, but nothing serious.
On 15 June 2017 at 21:47, Robert Foss wrote:
> From: Rob Herring
>
> Add etnaviv to Android makefiles.
>
> Signed-off-by: Rob Herring
> ---
> Android.mk| 5 +--
> src/gallium/Android.mk
2017-06-16 14:54 GMT+02:00 Emil Velikov :
> On 15 June 2017 at 21:47, Robert Foss wrote:
>> From: Tomeu Vizoso
>>
>> Signed-off-by: Robert Foss
>> ---
>> src/gallium/drivers/etnaviv/etnaviv_compiler.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/src/gallium/drivers/etnaviv/etna
On Fri, Jun 16, 2017 at 9:18 AM, Emil Velikov wrote:
> On 15 June 2017 at 21:47, Robert Foss wrote:
>> From: Rob Herring
>>
>> This is required by freedreno at least for GLES3 support.
>>
>> See docs/patents.txt for information about turning this on for s/w
>> renderers.
>>
> I'm inclined to agr
Hi,
On 15 June 2017 at 21:47, Robert Foss wrote:
> From: Rob Herring
> diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
> index 19be440d48..58b62ac361 100644
> --- a/src/gbm/backends/dri/gbm_dri.c
> +++ b/src/gbm/backends/dri/gbm_dri.c
> @@ -1067,7 +1067,7 @@ create_d
On 16 June 2017 at 14:25, Rob Clark wrote:
> On Fri, Jun 16, 2017 at 9:18 AM, Emil Velikov
> wrote:
>> On 15 June 2017 at 21:47, Robert Foss wrote:
>>> From: Rob Herring
>>>
>>> This is required by freedreno at least for GLES3 support.
>>>
>>> See docs/patents.txt for information about turning
Hi Rob,
I missed something in the pl111+vc4 case, which is also applicable here.
If one selects the DC w/o the GPU the build will fail. To resolve that
one option is to simply pull the GPU static libs as dependencies for
the DC ones. Some example/specifics below.
On 15 June 2017 at 21:47, Robert
On Fri, Jun 16, 2017 at 8:24 AM, Emil Velikov wrote:
> Hi Rob,
>
> There's a handful of small nitpicks, but nothing serious.
>
> On 15 June 2017 at 21:47, Robert Foss wrote:
>> From: Rob Herring
>>
>> Add etnaviv to Android makefiles.
>>
>> Signed-off-by: Rob Herring
>> ---
>> @@ -46,7 +47,7
Hi Gert,
Welcome to Mesa, and apologies for chiming in so late.
Please don't use STL within core mesa code. While some places do use
it, those are quite isolated and have specific role.
For example:
- st/clover - heavily templated, pure C++
- drivers/swr - as above
- drivers/nouveau/codegen -
On Fri, Jun 16, 2017 at 9:49 AM, Emil Velikov wrote:
> On 16 June 2017 at 14:25, Rob Clark wrote:
>> On Fri, Jun 16, 2017 at 9:18 AM, Emil Velikov
>> wrote:
>>> On 15 June 2017 at 21:47, Robert Foss wrote:
From: Rob Herring
This is required by freedreno at least for GLES3 suppo
https://bugs.freedesktop.org/show_bug.cgi?id=101467
Bug ID: 101467
Summary: swr driver leaks memory (texture management)
Product: Mesa
Version: 17.1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Hi gents,
On 8 June 2017 at 19:44, Daniel Stone wrote:
> - VK_MESAX_external_memory_dma_buf
> - VK_MESAX_external_image_dma_buf
Perhaps not so crazy idea:
Considering a handful of the people involved (Collabora, Google,
Intel) are Khronos members, it should be possible to have the
extension
On 16 June 2017 at 15:30, Rob Clark wrote:
> On Fri, Jun 16, 2017 at 9:49 AM, Emil Velikov
> wrote:
>> On 16 June 2017 at 14:25, Rob Clark wrote:
>>> On Fri, Jun 16, 2017 at 9:18 AM, Emil Velikov
>>> wrote:
On 15 June 2017 at 21:47, Robert Foss wrote:
> From: Rob Herring
>
On Fri, Jun 16, 2017 at 6:18 AM, Emil Velikov wrote:
> On 15 June 2017 at 21:47, Robert Foss wrote:
>> From: Rob Herring
>>
>> This is required by freedreno at least for GLES3 support.
>>
>> See docs/patents.txt for information about turning this on for s/w
>> renderers.
>>
> I'm inclined to agr
On 16 June 2017 at 15:45, Matt Turner wrote:
> On Fri, Jun 16, 2017 at 6:18 AM, Emil Velikov
> wrote:
>> On 15 June 2017 at 21:47, Robert Foss wrote:
>>> From: Rob Herring
>>>
>>> This is required by freedreno at least for GLES3 support.
>>>
>>> See docs/patents.txt for information about turni
On Fri, Jun 16, 2017 at 8:30 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> The parses skips the line if it contains parentheses.
Series is:
Reviewed-by: Alex Deucher
> ---
> src/amd/common/sid.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/common/sid.h b/s
X11 and GL compositor performance on VC4 has been terrible because of our
SHARED-usage buffers all being forced to linear. This swaps SHARED &&
!LINEAR buffers over to being tiled.
This is an expected win for all GL compositors during rendering (a full
copy of each shared texture per draw call),
Needing to get our uapi header from libdrm has only complicated things.
Follow intel's lead and drop our requirement for it.
Generated from 056f4f02abb7e9e4a0cf0cda0211586df5e43842 of drm-misc-next
---
Sending this patch to the list due to touching configure.ac.
configure.ac
Also make it available from gen7 only to gen7+.
Signed-off-by: Lionel Landwerlin
---
src/mesa/drivers/dri/i965/brw_context.h | 11
src/mesa/drivers/dri/i965/brw_performance_query.c | 33 ---
src/mesa/drivers/dri/i965/genX_state_upload.c | 18 +++
We did support single value operand equations, but not single variable
operand ones. In particular we were failing on "$Sampler0Bottleneck".
Signed-off-by: Lionel Landwerlin
---
src/mesa/drivers/dri/i965/brw_oa.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/dr
Due to an underlying hardware race condition, we have no guarantee
that all the reports coming from the OA buffer related to the workload
we're trying to measure have landed to memory by the time all the work
submitted has completed. That means we need to keep on reading the OA
stream until we read
This will be used by to normalize OA counters.
Signed-off-by: Lionel Landwerlin
---
src/intel/common/gen_device_info.c | 24 ++--
src/intel/common/gen_device_info.h | 6 ++
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/src/intel/common/gen_device_info.c
Hi,
Here is a v2 following some comments by Ken. Some patches already have
a rb-by/ack-by.
Here is the list that needs looking at : 1, 2, 3, 4, 5 & 8.
The list will probably filter some of the big patches, you can find
the branch there :
https://github.com/djdeath/mesa/commits/wip/djdeath/oa-ne
The perf infrastructure needs to identify specific platforms, not just
generations.
Signed-off-by: Lionel Landwerlin
---
src/intel/common/gen_device_info.c | 26 --
src/intel/common/gen_device_info.h | 4
2 files changed, 24 insertions(+), 6 deletions(-)
diff --git
Signed-off-by: Lionel Landwerlin
Reviewed-by: Kenneth Graunke
---
src/mesa/drivers/dri/i965/brw_performance_query.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c
b/src/mesa/drivers/dri/i965/brw_performance_query
From: Robert Bragg
Enables access to OA unit metrics on Gen8+ via INTEL_performance_query.
v2: make use of new parameters coming from gen_device_info (Lionel)
Signed-off-by: Robert Bragg
Signed-off-by: Lionel Landwerlin
---
src/mesa/drivers/dri/i965/Makefile.am | 8 +-
src/mesa
From: Robert Bragg
From experimentation in IGT, we found that the OA unit might label
some report as "idle" (using an invalid context ID), right after a
report for a given context. Deltas generated by those reports actually
belong to the previous context, even though they're not labelled as
such.
From: Robert Bragg
In preparation for adding XML OA metric set descriptions for Gen 8 and 9
which will result in auto generated code that depends on a number of new
system variables ($EuSubslicesTotalCount, $EuThreadsCount and
$SliceMask) this adds corresponding members to brw->perf.sys_vars.
Si
Rather than storing the period as a double that looses some precision.
Also fixes the Gen9LP timestamp frequency which is no 19200123 but
1920 as pointed by Ville :
https://lists.freedesktop.org/archives/intel-gfx/2017-April/125126.html
Finally add the Cannonlake timestamp frequency.
Signed
On Thu, Jun 15, 2017 at 4:12 PM, Jason Ekstrand wrote:
> 7-11 are
>
> Reviewed-by: Jason Ekstrand
>
Thanks.
> Have you tried reverting my patch and running the CTS?
>
No, I'll do it soon.
> On Tue, Jun 13, 2017 at 11:28 AM, Anuj Phogat wrote:
>>
>> This patch just enables building Vulkan libs f
Signed-off-by: Alex Deucher
Cc: 17.0 17.1
---
include/pci_ids/radeonsi_pci_ids.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/pci_ids/radeonsi_pci_ids.h
b/include/pci_ids/radeonsi_pci_ids.h
index 50f638f..9453c1c 100644
--- a/include/pci_ids/radeonsi_pci_ids.h
+++ b/include/pci_i
Hello Emil,
Am Freitag, den 16.06.2017, 15:21 +0100 schrieb Emil Velikov:
>
> Please don't use STL within core mesa code.
May I ask why? I always try to not re-implement already available
functionality and since mesa already uses C++ it seems kind of natural
to use the STL because it provides a
On Thu, Jun 15, 2017 at 06:23:24PM -0700, Jason Ekstrand wrote:
> On Thu, Jun 15, 2017 at 5:18 PM, Nanley Chery wrote:
>
> > On Tue, Jun 13, 2017 at 05:50:00PM +0300, Topi Pohjolainen wrote:
> > > Signed-off-by: Topi Pohjolainen
> > > ---
> > > src/mesa/drivers/dri/i965/intel_blit.h | 13 ++
On Fri, Jun 16, 2017 at 07:58:02AM +0300, Pohjolainen, Topi wrote:
> On Thu, Jun 15, 2017 at 05:18:22PM -0700, Nanley Chery wrote:
> > On Tue, Jun 13, 2017 at 05:50:00PM +0300, Topi Pohjolainen wrote:
> > > Signed-off-by: Topi Pohjolainen
> > > ---
> > > src/mesa/drivers/dri/i965/intel_blit.h | 1
Please ignore this patch. There are some regressions with
depth_resolve piglit tests.
Marek
On Fri, Jun 16, 2017 at 2:58 PM, Marek Olšák wrote:
> From: Marek Olšák
>
> ---
> src/gallium/drivers/radeonsi/si_hw_context.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/dri
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_debug.c | 76 ++---
1 file changed, 41 insertions(+), 35 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_debug.c
b/src/gallium/drivers/radeonsi/si_debug.c
index 25c3882..35bfec7 100644
--- a/src/gallium
On Thu, Jun 15, 2017 at 10:01:53PM +0300, Pohjolainen, Topi wrote:
> On Thu, Jun 15, 2017 at 11:39:44AM -0700, Jason Ekstrand wrote:
> > On Tue, Jun 13, 2017 at 7:50 AM, Topi Pohjolainen <
> > topi.pohjolai...@gmail.com> wrote:
> >
> > > Signed-off-by: Topi Pohjolainen
> > > ---
> > > src/mesa/d
Now create_wl_buffer is generic enough, we can use it for the
EGL_WL_create_wayland_buffer_from_image extension.
Signed-off-by: Daniel Stone
---
src/egl/drivers/dri2/platform_wayland.c | 71 +
1 file changed, 11 insertions(+), 60 deletions(-)
diff --git a/src/egl
u_vector.h doesn't actually use anything from u_math, but it does mean
everyone has to pull in src/gallium/auxiliary/util includes.
Just remove it, adding a include to u_vector.c to cover
memcpy.
Signed-off-by: Daniel Stone
---
src/util/u_vector.c | 2 ++
src/util/u_vector.h | 1 -
2 files cha
Hi,
This series adds support for multi-planar buffers, as well as buffers
with modifiers, in the Wayland EGL client platform.
Rather than extending wl_drm, we use the generic zwp_linux_dambuf_v1
protocol, which is implemented in Weston. This makes it a bit easier to,
amongst other things, write co
When available, use the zwp_linux_dambuf_v1 interface to create buffers,
which allows multiple planes and buffer modifiers to be used.
Signed-off-by: Daniel Stone
---
configure.ac| 5 +-
src/egl/Makefile.am | 22 +++-
src/egl/drivers/dri2/.gitig
Wayland buffers coming from wl_drm use the WL_DRM_FORMAT_* enums, which
are identical to GBM_FORMAT_*. Similarly, FD imports do not need to
convert between GBM and DRI FourCC, since they are (almost) completely
compatible.
Signed-off-by: Daniel Stone
---
src/gbm/backends/dri/gbm_dri.c | 62 +
Convert tabs to spaces, fix misalignments.
Signed-off-by: Daniel Stone
---
src/egl/drivers/dri2/platform_wayland.c | 38 +
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dri2/platform_wayl
Remove surface-specific code from create_wl_buffer, so it's now just a
generic translation from DRIimage to wl_buffer.
Signed-off-by: Daniel Stone
---
src/egl/drivers/dri2/platform_wayland.c | 66 +
1 file changed, 34 insertions(+), 32 deletions(-)
diff --git a/s
Signed-off-by: Daniel Stone
---
src/egl/drivers/dri2/platform_wayland.c | 32 ++--
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dri2/platform_wayland.c
index 7a85cb1073..b7197d0a75 100644
---
Use a slightly more explicit version cap for binding wl_drm, so we can
add other interfaces with different versioning schemes later.
Signed-off-by: Daniel Stone
---
src/egl/drivers/dri2/platform_wayland.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/egl/drivers/dri2
This was only used in create_dumb() to blacklist planar formats.
However, the start of the function already whitelists ARGB (cursor)
and XRGB (scanout), and nothing else. So this entire function can be
removed.
Signed-off-by: Daniel Stone
---
src/gbm/backends/dri/gbm_dri.c | 32 +
Luckily no-one really used the is_format_supported() call, because it
only supported three formats.
Also, since buffers with alpha can be displayed on planes, stop banning
them from use.
Signed-off-by: Daniel Stone
---
src/gbm/backends/dri/gbm_dri.c | 40
Rather than duplicated (yet asymmetric) open-coded tables, pull them out
to a common structure.
Signed-off-by: Daniel Stone
---
src/gbm/Makefile.am| 1 +
src/gbm/backends/dri/gbm_dri.c | 105 ++---
2 files changed, 46 insertions(+), 60 deletions(
On Tue, Jun 13, 2017 at 05:50:08PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 16
> 1 file changed, 16 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> b/src/mesa/drivers
Johnson Lin writes:
> ---
> src/compiler/nir/nir.h | 1 +
> src/compiler/nir/nir_lower_tex.c | 16
> 2 files changed, 17 insertions(+)
>
> diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
> index ab7ba14303b7..1b4e47058d4d 100644
> --- a/src/compiler/nir/n
On Friday, 2017-06-16 18:14:30 +0100, Daniel Stone wrote:
> This was only used in create_dumb() to blacklist planar formats.
> However, the start of the function already whitelists ARGB (cursor)
> and XRGB (scanout), and nothing else. So this entire function can be
> removed.
>
> Signed-of
On Friday, 2017-06-16 18:14:28 +0100, Daniel Stone wrote:
> Rather than duplicated (yet asymmetric) open-coded tables, pull them out
> to a common structure.
>
> Signed-off-by: Daniel Stone
> ---
> src/gbm/Makefile.am| 1 +
> src/gbm/backends/dri/gbm_dri.c | 105
>
On Tue, Jun 13, 2017 at 05:50:09PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 76
> +++
> 1 file changed, 76 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> b/sr
From: Emil Velikov
Cc: Mark Janes
Signed-off-by: Emil Velikov
---
src/amd/common/ac_gpu_info.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h
index a72ab58f9a3..69e9d2828f5 100644
--- a/src/amd/common/ac_gpu_info.h
+++ b/src/amd/
Reviewed-by: Bruce Cherniak
> On Jun 15, 2017, at 1:37 PM, Tim Rowley wrote:
>
> Highlights include: jit cache (disabled currently), work in progress
> to shrink the vertex structure used in the frontend, and refactoring
> to speed recompiles if simdintrin.h is changed.
>
> Tim Rowley (16):
>
On Thu 15 Jun 2017, Rob Herring wrote:
> On Tue, Jun 13, 2017 at 1:55 PM, Chad Versace
> wrote:
> > On Fri 09 Jun 2017, Tapani Pälli wrote:
> >>
> >>
> >> On 06/08/2017 09:27 PM, Chad Versace wrote:
> >> > On Thu 08 Jun 2017, Tomasz Figa wrote:
> >> > > On Thu, Jun 8, 2017 at 4:08 PM, Tapani Päll
On Fri 16 Jun 2017, Emil Velikov wrote:
> Hi gents,
>
> On 8 June 2017 at 19:44, Daniel Stone wrote:
>
> > - VK_MESAX_external_memory_dma_buf
> > - VK_MESAX_external_image_dma_buf
> Perhaps not so crazy idea:
>
> Considering a handful of the people involved (Collabora, Google,
> Intel) are
Reviewed-by: Tim Rowley
mailto:timothy.o.row...@intel.com>>
On Jun 15, 2017, at 11:24 AM, Bruce Cherniak
mailto:bruce.chern...@intel.com>> wrote:
The swr driver uses vertex_buffer->stride to determine the number
of elements in a VBO. A recent change to the state-tracker made it
possible for VBO
On Fri, Jun 16, 2017 at 11:11 AM, Nanley Chery
wrote:
> On Tue, Jun 13, 2017 at 05:50:09PM +0300, Topi Pohjolainen wrote:
> > Signed-off-by: Topi Pohjolainen
> > ---
> > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 76
> +++
> > 1 file changed, 76 insertions(+)
> >
>
https://bugs.freedesktop.org/show_bug.cgi?id=101471
Bug ID: 101471
Summary: Mesa fails to build: unknown typename bool
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
1 - 100 of 214 matches
Mail list logo