[Mesa-dev] [PATCH] [rfc] radv: optimise bo descriptor updates for non-local bos.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This might be a bit over optimising. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 9 +++--- src/amd/vulkan/radv_descriptor_set.c | 55 +++- src/amd/vulkan/radv_private.h| 1 + 3 files changed, 41 insertions(+)

[Mesa-dev] [PATCH] radv: pre-calculate user_data_0 registers and store in pipeline

2017-11-05 Thread Dave Airlie
From: Dave Airlie There's no point recalculating these the whole time on descriptor emission, just store them at pipeline creation. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 14 ++-- src/amd/vulkan/radv_pipeline.c | 49 ++--

Re: [Mesa-dev] [PATCH 2/2] glsl/linker: location aliasing requires types to have the same width

2017-11-05 Thread Iago Toral
On Fri, 2017-11-03 at 12:01 -0400, Ilia Mirkin wrote: > On Fri, Nov 3, 2017 at 6:56 AM, Iago Toral Quiroga > wrote: > > Regarding location aliasing requirements, the OpenGL spec says: > > > >   "Further, when location aliasing, the aliases sharing the > > location > >    must have the same underl

Re: [Mesa-dev] [PATCH] Android: update CleanSpec.mk

2017-11-05 Thread Tapani Pälli
On 11/06/2017 04:08 AM, Chih-Wei Huang wrote: 2017-11-03 19:02 GMT+08:00 Tapani Pälli : On 11/03/2017 12:30 PM, Chih-Wei Huang wrote: 2017-11-03 15:47 GMT+08:00 Tapani Pälli : Hi Chih-Wei; This looks good to me. Only thing that causes a bit of headache is ... what is the difference between P

Re: [Mesa-dev] [PATCH 1/9] gallium: add CAPs to support HW atomic counters. (v2)

2017-11-05 Thread Dave Airlie
On 4 November 2017 at 10:01, Marek Olšák wrote: > Not sure if the "HW" prefix everywhere makes sense since gallium > doesn't imply there is a hardware driver behind it, but I don't really > care much. Well it's more that the atomic's aren't normal ssbo atomics, and there is dedicated hardware for

Re: [Mesa-dev] [PATCH 2/9] gallium/tgsi: start adding hw atomics (v2)

2017-11-05 Thread Dave Airlie
>> +Hardware Atomic Register File >> +^ >> + >> +Hardware atomics are declared as a 2D array with an optional array id. >> + >> +The first member of the dimension is the buffer resource the atomic >> +is located in. >> +The second member is a range into the buffer resour

Re: [Mesa-dev] [PATCH 8/9] r600: add support for hw atomic counters. (v2)

2017-11-05 Thread Dave Airlie
radeon_emit(cs, PKT3(PKT3_NOP, 0, 0)); >> + radeon_emit(cs, reloc); >> + } >> + ++rctx->append_fence_id; >> + reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, >> + >> r600_resource(rctx->append_fence), >> +

[Mesa-dev] [PATCH] radv: keep a stage mask per pipeline. (v2)

2017-11-05 Thread Dave Airlie
From: Dave Airlie This should reduce some pointless loops. v2: fix missing check which causes crashes with compute shaders Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 53 +++- src/amd/vulkan/radv_pipeline.c | 2 ++ src/amd/vulkan/ra

[Mesa-dev] [PATCH] radv: keep a stage mask per pipeline.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This should reduce some pointless loops. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 51 ++-- src/amd/vulkan/radv_pipeline.c | 2 ++ src/amd/vulkan/radv_private.h| 1 + 3 files changed, 16 insertions(+), 38 del

[Mesa-dev] [PATCH 1/2] nv50: make blending work so that zero wins in a multiplication

2017-11-05 Thread Ilia Mirkin
This matches nvc0 behavior, tested with the fbo-float-nan piglit. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.

[Mesa-dev] [PATCH 2/2] r600g: use SIMPLE_FLOAT for blending to avoid NaNs in RTs

2017-11-05 Thread Ilia Mirkin
Radeonsi also sets this flag. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103544 Signed-off-by: Ilia Mirkin --- This needs testing with the fbo-float-nan piglit that was recently added. Just guessing that this is the right flag to set here. src/gallium/drivers/r600/evergreen_state.c

[Mesa-dev] [PATCH 1/2] radv: wrap cs_add_buffer in an inline.

2017-11-05 Thread Dave Airlie
From: Dave Airlie The next patch will try and avoid calling the indirect function. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 40 ++-- src/amd/vulkan/radv_descriptor_set.c | 6 +++--- src/amd/vulkan/radv_device.c | 14 ++--

[Mesa-dev] [PATCH 2/2] radv: move is_local up to the winsys level.

2017-11-05 Thread Dave Airlie
From: Dave Airlie We can avoid adding the buffer in the non-local case, this will avoid all the overhead of the indirect call. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_radeon_winsys.h | 4 src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c | 2 +- src/amd/vulkan/winsys/amdg

[Mesa-dev] [PATCH] radv: when loading regs no need to add buffer

2017-11-05 Thread Dave Airlie
From: Dave Airlie The function that calls us has just added the buffer to the list already, no need to try and add it again. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/ra

[Mesa-dev] [PATCH 2/2] radv: emit esgs ring size in one place.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This register is the same on all gpus so far, so emit it in one place and also for the pre-gfx9 gpus set the value in the pipeline creation. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 14 +++--- src/amd/vulkan/radv_pipeline.c | 1 + 2 files c

[Mesa-dev] [PATCH 1/2] radv: move calculating vs out info regs into pipeline.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This moves some calculations of register values into the pipeline construction, it saves looking at outinfo in the cmd buffer emit. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 29 - src/amd/vulkan/radv_pipeline.c | 21 ++

Re: [Mesa-dev] [PATCH 3/4] radv: add helper for setting a descriptor.

2017-11-05 Thread Bas Nieuwenhuizen
On Mon, Nov 6, 2017 at 12:44 AM, Dave Airlie wrote: > From: Dave Airlie > > This is just a simple refactor. > > Signed-off-by: Dave Airlie > --- > src/amd/vulkan/radv_cmd_buffer.c | 20 > src/amd/vulkan/radv_meta.c | 3 +-- > src/amd/vulkan/radv_private.h| 4 +++

Re: [Mesa-dev] [PATCH] radv: free attachments on end command buffer.

2017-11-05 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Mon, Nov 6, 2017 at 1:37 AM, Dave Airlie wrote: > From: Dave Airlie > > If we allocate attachments in the begin command buffer due to the > render pass continue bit, we were leaking them. > > Since renderpasses inside a cmd buffer malloc/free these properly, >

[Mesa-dev] [PATCH] radv: free attachments on end command buffer.

2017-11-05 Thread Dave Airlie
From: Dave Airlie If we allocate attachments in the begin command buffer due to the render pass continue bit, we were leaking them. Since renderpasses inside a cmd buffer malloc/free these properly, and set to NULL, we just need to call free at end. Fixes a memory leak with multithreading demo.

[Mesa-dev] [Bug 103586] OpenCL/Clover: AMD Turks: corrupt output buffer (depending on dimension order?)

2017-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103586 Bug ID: 103586 Summary: OpenCL/Clover: AMD Turks: corrupt output buffer (depending on dimension order?) Product: Mesa Version: 17.2 Hardware: Other OS: All

[Mesa-dev] [PATCH 3/4] radv: add helper for setting a descriptor.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This is just a simple refactor. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 20 src/amd/vulkan/radv_meta.c | 3 +-- src/amd/vulkan/radv_private.h| 4 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/s

[Mesa-dev] [PATCH 1/4] radv: reorder cmd_state to remove a hole.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This just removes a hole in the cmd_state and packs some bools together. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 51bdde

[Mesa-dev] [PATCH 4/4] radv: move descriptor sets out of cmd_state.

2017-11-05 Thread Dave Airlie
From: Dave Airlie Instead of storing all the pointers and zeroing them all out, just store a valid bitmask in the state. This also moves the CmdBindPipeline path down the cpu usage path for the multithreading demo as it no longer has to traverse MAX_SETS to find the active descriptor sets. Signe

[Mesa-dev] [PATCH 2/4] radv: move vertex binding out of cmd state.

2017-11-05 Thread Dave Airlie
From: Dave Airlie This isn't required to be cleared, since buffers are only linked by vertex elements, so if elements are clear then no buffers should be referenced. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 6 +++--- src/amd/vulkan/radv_private.h| 2 +- 2 files cha

[Mesa-dev] [PATCH] i965: disable NIR linking on HSW and below

2017-11-05 Thread Timothy Arceri
Fixes: 379b24a40d3d "i965: make use of nir linking" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103537 --- Jason's fixes referenced in the bug report help a little, however there are still issues with the vector backend and I don't have time to investigate right now so just disable it.

Re: [Mesa-dev] [PATCH] nir: handle get_buffer_size in nir_lower_atomics_to_ssbo

2017-11-05 Thread Kenneth Graunke
On Sunday, November 5, 2017 11:17:06 AM PST Rob Clark wrote: > Overlooked initially, be we need to remap the SSBO index for this as > well. > > Signed-off-by: Rob Clark > --- > src/compiler/nir/nir_lower_atomics_to_ssbo.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/compiler/nir

Re: [Mesa-dev] [PATCH] nir: handle get_buffer_size in nir_lower_atomics_to_ssbo

2017-11-05 Thread Jason Ekstrand
Rb On November 5, 2017 11:17:18 Rob Clark wrote: Overlooked initially, be we need to remap the SSBO index for this as well. Signed-off-by: Rob Clark --- src/compiler/nir/nir_lower_atomics_to_ssbo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_lower_atomics_to_ss

Re: [Mesa-dev] [PATCH] nv50,nvc0: enable using LOAD from constbuf

2017-11-05 Thread Ilia Mirkin
On Sun, Nov 5, 2017 at 1:13 PM, Tobias Klausmann wrote: > > On 11/5/17 4:48 PM, Ilia Mirkin wrote: >> This enables std430-style packing for UBOs which aren't otherwise marked >> as std140. >> >> There might be small register lifetime changes as a result of removed >> duplicate loads in some cases,

[Mesa-dev] [PATCH] nir: handle get_buffer_size in nir_lower_atomics_to_ssbo

2017-11-05 Thread Rob Clark
Overlooked initially, be we need to remap the SSBO index for this as well. Signed-off-by: Rob Clark --- src/compiler/nir/nir_lower_atomics_to_ssbo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_lower_atomics_to_ssbo.c b/src/compiler/nir/nir_lower_atomics_to_ssbo.c in

Re: [Mesa-dev] [PATCH] nv50,nvc0: enable using LOAD from constbuf

2017-11-05 Thread Tobias Klausmann
On 11/5/17 4:48 PM, Ilia Mirkin wrote: > This enables std430-style packing for UBOs which aren't otherwise marked > as std140. > > There might be small register lifetime changes as a result of removed > duplicate loads in some cases, but this seems worth it overall. A before/after shader-db run

Re: [Mesa-dev] [PATCH 19/19] etnaviv: GC7000: Split off current texture code

2017-11-05 Thread Wladimir J. van der Laan
On Sun, Nov 05, 2017 at 04:31:40PM +0100, Christian Gmeiner wrote: > > +#ifndef H_ETNAVIV_TEXTURE_PLAIN > > +#define H_ETNAVIV_TEXTURE_PLAIN > > + > > +#include > > + > > +#include "pipe/p_context.h" > > +#include "pipe/p_state.h" > > + > > +#include "hw/state_3d.xml.h" > > Is this include neede

[Mesa-dev] [PATCH] nv50,nvc0: enable using LOAD from constbuf

2017-11-05 Thread Ilia Mirkin
This enables std430-style packing for UBOs which aren't otherwise marked as std140. There might be small register lifetime changes as a result of removed duplicate loads in some cases, but this seems worth it overall. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_fr

Re: [Mesa-dev] [PATCH 16/19] etnaviv: GC7000: Factor out incompatible texture handling logic

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:17 GMT+01:00 Wladimir J. van der Laan : > This will be shared with the texture descriptor path. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_texture.c | 40 > +-- > src/gallium/driv

Re: [Mesa-dev] [PATCH 19/19] etnaviv: GC7000: Split off current texture code

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:17 GMT+01:00 Wladimir J. van der Laan : > Prepare for two texture handling paths, the descriptor-based > path will be added in a future commit. These are structured > so that the texture implementation handles its own state > emission. > > Signed-off-by: Wladimir J. van der Laan Rev

Re: [Mesa-dev] [PATCH 18/19] etnaviv: GC7000: Move etna_coalesce to emit header file

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:17 GMT+01:00 Wladimir J. van der Laan : > Want to be able to emit state from the texture implementation. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_emit.c | 83 > -- > src/gal

Re: [Mesa-dev] [PATCH 17/19] etnaviv: GC7000: Move active_samplers_bits to texture

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:17 GMT+01:00 Wladimir J. van der Laan : > This needs to be shared between texture_plain and texture_desc. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_emit.c| 12 > src/gallium/drivers/etna

Re: [Mesa-dev] [PATCH 10/19] etnaviv: GC7000: No RS align when using BLT

2017-11-05 Thread Christian Gmeiner
Reviewed-by: Christian Gmeiner 2017-11-05 16:23 GMT+01:00 Christian Gmeiner : > 2017-11-05 13:38 GMT+01:00 Wladimir : + if (!ctx->specs.use_blt) { + /* This (ab)uses the RS as a plain buffer memset(). + * Currently uses a fixed row size of 64 bytes. Some

Re: [Mesa-dev] [PATCH 10/19] etnaviv: GC7000: No RS align when using BLT

2017-11-05 Thread Christian Gmeiner
2017-11-05 13:38 GMT+01:00 Wladimir : >>> + if (!ctx->specs.use_blt) { >>> + /* This (ab)uses the RS as a plain buffer memset(). >>> + * Currently uses a fixed row size of 64 bytes. Some benchmarking >>> with >>> + * different sizes may be in order. */ >>> +

Re: [Mesa-dev] [PATCH 15/19] etnaviv: GC7000: Track dirty sampler views

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:17 GMT+01:00 Wladimir J. van der Laan : > Need this to efficiently emit texture descriptor invalidations. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_context.c | 1 + > src/gallium/drivers/etnaviv/etnaviv_

Re: [Mesa-dev] [PATCH 14/19] etnaviv: GC7000: Make point sprites work on HALTI5

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:17 GMT+01:00 Wladimir J. van der Laan : > Track varying component offset of the point size output, as well as > provide the offset of the point coord input. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_comp

Re: [Mesa-dev] [PATCH 13/19] etnaviv: GC7000: State changes for HALTI3..5

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > Update state objects to add new state, and emit function to emit new > state. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_emit.c | 247 > +++--

Re: [Mesa-dev] [PATCH 12/19] etnaviv: GC7000: Update screen specs for HALTI5

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > - This core must load shaders from memory (AFAIK) > - Yet another new location for UNIFORMS > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_screen.c | 19 +

Re: [Mesa-dev] [PATCH 11/19] etnaviv: GC7000: Update context reset for ..HALTI5

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > Update context reset for HALTI3..HALTI5, sorting states for the HALTI > version that has them. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_context.c | 37 > ++

[Mesa-dev] [Bug 103579] Vertex shader causes compiler to crash in SPIRV-to-NIR

2017-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103579 Bug ID: 103579 Summary: Vertex shader causes compiler to crash in SPIRV-to-NIR Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: n

Re: [Mesa-dev] [PATCH 10/19] etnaviv: GC7000: No RS align when using BLT

2017-11-05 Thread Wladimir
>> + if (!ctx->specs.use_blt) { >> + /* This (ab)uses the RS as a plain buffer memset(). >> + * Currently uses a fixed row size of 64 bytes. Some benchmarking >> with >> + * different sizes may be in order. */ >> + struct etna_bo *ts_bo = etna_resource(surf->

Re: [Mesa-dev] [PATCH 10/19] etnaviv: GC7000: No RS align when using BLT

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > RS align is not necessary and might even be harmful when using the BLT > engine for blitting. > > Signed-off-by: Wladimir J. van der Laan > --- > src/gallium/drivers/etnaviv/etnaviv_resource.c | 15 + > src/gallium/drivers/etnaviv/et

Re: [Mesa-dev] [PATCH 08/19] etnaviv: GC7000: Split off RS blit functions

2017-11-05 Thread Wladimir
On Sun, Nov 5, 2017 at 1:09 PM, Christian Gmeiner wrote: > 2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : >> Prepare for BLT-based blitting path by moving RS-based >> blitting to its own implementation file. >> >> Signed-off-by: Wladimir J. van der Laan >> --- >> src/gallium/drivers/etnav

Re: [Mesa-dev] [PATCH 09/19] etnaviv: GC7000: BLT engine blitting support

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > Add an implemenation of key clear_blit functions using the BLT engine > that replaced the RS on GC7000. > > Signed-off-by: Wladimir J. van der Laan > --- > src/gallium/drivers/etnaviv/Makefile.sources | 1 + src/gallium/drivers/etnav

Re: [Mesa-dev] [PATCH 08/19] etnaviv: GC7000: Split off RS blit functions

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > Prepare for BLT-based blitting path by moving RS-based > blitting to its own implementation file. > > Signed-off-by: Wladimir J. van der Laan > --- > src/gallium/drivers/etnaviv/Makefile.sources | 1 + src/gallium/drivers/etnaviv/mes

Re: [Mesa-dev] [PATCH 07/19] etnaviv: GC7000: Add etnaviv_blt

2017-11-05 Thread Christian Gmeiner
2017-11-05 13:02 GMT+01:00 Christian Gmeiner : > 2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : >> Add a low-level library for using the BLT engine from the etnaviv >> driver. >> > > As I have no HW to test it I am just looking at the code and write > down what I think :) > > There are some

Re: [Mesa-dev] [PATCH 07/19] etnaviv: GC7000: Add etnaviv_blt

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > Add a low-level library for using the BLT engine from the etnaviv > driver. > As I have no HW to test it I am just looking at the code and write down what I think :) There are some code style issues: https://www.mesa3d.org/codingstyle.html

Re: [Mesa-dev] [PATCH 06/19] etnaviv: GC7000: Support BLT as recipient for etna_stall

2017-11-05 Thread Christian Gmeiner
2017-11-05 12:54 GMT+01:00 Wladimir : > On Sun, Nov 5, 2017 at 12:47 PM, Christian Gmeiner > wrote: >> 2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : >>> When the BLT is involved as source or target, add an extra BLT >>> enable/disable sequence around the sync sequence. >>> >> >> Does this

Re: [Mesa-dev] [PATCH 06/19] etnaviv: GC7000: Support BLT as recipient for etna_stall

2017-11-05 Thread Wladimir
On Sun, Nov 5, 2017 at 12:47 PM, Christian Gmeiner wrote: > 2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : >> When the BLT is involved as source or target, add an extra BLT >> enable/disable sequence around the sync sequence. >> > > Does this mean we are doing lazy blit operations? Or why i

Re: [Mesa-dev] [PATCH 06/19] etnaviv: GC7000: Support BLT as recipient for etna_stall

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > When the BLT is involved as source or target, add an extra BLT > enable/disable sequence around the sync sequence. > Does this mean we are doing lazy blit operations? Or why is this needed at all? > Signed-off-by: Wladimir J. van der Laan >

Re: [Mesa-dev] [PATCH 04/19] etnaviv: Emit SCALE for vertex attributes

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > This is used by HALTI2+ (GC3000+) when drawing with DRAW_INSTANCED. > > It is also necessary when switching between integer and floating point > vertex element formats. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmein

Re: [Mesa-dev] [PATCH 03/19] etnaviv: Put HALTI level in specs

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > The HALTI level is an indication of the gross architecture of the GPU. > It determines for significant part what feature level the GPU has, what > state (especially frontend state) is there, and where it is located. > > Signed-off-by: Wladimir

Re: [Mesa-dev] [PATCH 02/19] etnaviv: Const-correctness etnaviv_emit.h

2017-11-05 Thread Christian Gmeiner
2017-10-30 17:16 GMT+01:00 Wladimir J. van der Laan : > The relocation structure is never changed by submitting it. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_emit.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion