; On Sun, Oct 11, 2015 at 05:09:21PM +0200, Christian Gmeiner wrote:
>> This commit adds a generic renderonly driver library, which fullfille
>> the requirements for tegra and etnaviv. As a result it is possible to
>> run unmodified egl software directly (without any compositor) o
Hi Emil,
2015-10-16 1:33 GMT+02:00 Emil Velikov <emil.l.veli...@gmail.com>:
> Hi Christian,
>
> Mostly minor suggestions I'm afraid. Things just look too good for
> anything serious.
>
:)
> On 11 October 2015 at 16:09, Christian Gmeiner
> <christian.gmei...@gmail.c
2015-10-14 5:58 GMT+02:00 Michel Dänzer <mic...@daenzer.net>:
> On 13.10.2015 12:44, Alexandre Courbot wrote:
>> On Mon, Oct 12, 2015 at 12:09 AM, Christian Gmeiner
>> <christian.gmei...@gmail.com> wrote:
>>>
>>> diff --git a/src/gallium/winsys/te
2015-10-14 14:51 GMT+02:00 Erik Faye-Lund <kusmab...@gmail.com>:
> On Sun, Oct 11, 2015 at 5:09 PM, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> @@ -2181,6 +2188,13 @@ if test -n "$with_gallium_drivers"; then
>> done
>>
Hi
2015-10-13 5:44 GMT+02:00 Alexandre Courbot <gnu...@gmail.com>:
> On Mon, Oct 12, 2015 at 12:09 AM, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> This commit adds tegra support, which uses the renderonly driver
>> library.
>>
>> Signed
n deeper knowledge
about the problem.
>
> On 11 October 2015 at 16:09, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> This commit adds a generic renderonly driver library, which fullfille
>> the requirements for tegra and etnaviv. As a result it is possib
This commit adds tegra support, which uses the renderonly driver
library.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
configure.ac | 19 +++-
src/gallium/Makefile.am| 6 +++
.../auxiliary/target-h
.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
configure.ac | 1 +
src/gallium/drivers/renderonly/Makefile.am | 11 +
src/gallium/drivers/renderonly/Makefile.sources| 4 +
.../drivers/renderonly/renderonly_con
The patch set is available directly via git:
https://github.com/austriancoder/mesa.git branch renderonly-rfc-1
[0] http://lists.freedesktop.org/archives/mesa-dev/2014-November/071521.html
Christian Gmeiner (2):
gallium: add renderonly driver
gallium: add tegra support
co
From: "Wladimir J. van der Laan"
Make it possible to limit the number of vertex buffers as there exist
GPUs with less then 32 supported vertex buffers.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/auxiliary/util/u_vbuf.c | 45
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/docs/source/screen.rst | 1 +
src/gallium/drivers/freedreno/freedreno_screen.c | 2 ++
src/gallium/drivers/i915/i915_screen.c | 2 ++
src/gallium/drivers/ilo/ilo_screen.c | 2 +
From: "Wladimir J. van der Laan"
CONST, VERTEX and INSTANCE attributes into one vertex buffer if
necessary due to hardware constraints.
Signed-off-by: Wladimir J. van der Laan
---
src/gallium/auxiliary/util/u_vbuf.c | 28
1 file
buffers based on the model.
- GC600: 1
- GC1000: 4
- GC2000: 8
The patches are written by Wladimir about 3 years ago and I did a rebase
and some code cosmectics only.
Christian Gmeiner (1):
gallium: add PIPE_CAP_MAX_VERTEX_BUFFERS
Wladimir J. van der Laan (2):
u_vbuf: add logic to use
Hi Nicolai,
2016-06-13 11:48 GMT+02:00 Nicolai Hähnle <nhaeh...@gmail.com>:
> On 11.06.2016 21:21, Christian Gmeiner wrote:
>>
>> From: "Wladimir J. van der Laan" <laa...@gmail.com>
>>
>> Make it possible to limit the number of vertex buffers a
Hi Nicolai
2016-06-13 11:59 GMT+02:00 Nicolai Hähnle <nhaeh...@gmail.com>:
> On 11.06.2016 21:21, Christian Gmeiner wrote:
>>
>> From: "Wladimir J. van der Laan" <laa...@gmail.com>
>>
>> CONST, VERTEX and INSTANCE attributes into one vertex b
Hi Marek,
2016-06-13 14:48 GMT+02:00 Marek Olšák <mar...@gmail.com>:
> On Sat, Jun 11, 2016 at 9:21 PM, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> From: "Wladimir J. van der Laan" <laa...@gmail.com>
>>
>> Make it possible
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/mesa/state_tracker/st_extensions.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 383983b..122bc88 100644
---
Thanks for the reviews.. I only need someone to push this patch :)
2016-06-20 16:46 GMT+02:00 Marek Olšák <mar...@gmail.com>:
> Reviewed-by: Marek Olšák <marek.ol...@amd.com>
>
> Marek
>
> On Mon, Jun 20, 2016 at 9:44 AM, Christian Gmeiner
> <christian.gmei..
Driver loading for imx-drm gallium driver fails, as the current
implementation expects __driDriverGetExtensions_NAME_drm. In order
to get the driver successfully loaded to we need to transform
__driDriverGetExtensions_imx-drm to __driDriverGetExtensions_imx_drm.
Signed-off-by: Christian Gmeiner
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/freedreno/ir3/disasm-a3xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
index 1
ame approach, whereas with
> the wrapper driver ... who volunteers to write the Radeon+Intel
> combination driver?
Not me :)
>
>>> I think the only disagreement is how to implement the API internally.
>>> Lucas is heading in a more generic direction, whereas the
>&
t; already.
Great!
>
> Christian, if you don't already, I'd recommend running piglit.. I
> think it should have caught the FLR/LIT interaction.
>
I have only tested the lowering with 2-3 example tgsi shaders and yeah I did
not run piglit before sending those two patches - shame on me
rm_lowering(const struct
> tgsi_lowering_config *config,
>newlen += DP2A_GROW * OPCS(DP2A);
>numtmp = MAX2(numtmp, DOTP_TMP);
> }
> + if (OPCS(FLR)) {
> + newlen += FLR_GROW * OPCS(FLR);
> + numtmp = MAX2(numtmp, FLR_TMP);
> + }
> + if (OPCS(CEIL)) {
> + newlen += CEIL_GROW * OPCS(CEIL);
> + numtmp = MAX2(numtmp, CEIL_TMP);
> + }
> if (ctx.saturate || config->lower_TXP) {
>int n = 0;
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_lowering.h
> b/src/gallium/auxiliary/tgsi/tgsi_lowering.h
> index 52c204f..a96d85d 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_lowering.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_lowering.h
> @@ -68,6 +68,8 @@ struct tgsi_lowering_config
> unsigned lower_DPH:1;
> unsigned lower_DP2:1;
> unsigned lower_DP2A:1;
> + unsigned lower_FLR:1;
> + unsigned lower_CEIL:1;
>
> /* bitmask of (1 << TGSI_TEXTURE_type): */
> unsigned lower_TXP;
> --
> 2.5.5
>
The series is
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/auxiliary/tgsi/tgsi_lowering.c | 54 ++
src/gallium/auxiliary/tgsi/tgsi_lowering.h | 1 +
2 files changed, 55 insertions(+)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_lowering.c
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/auxiliary/tgsi/tgsi_lowering.c | 54 ++
src/gallium/auxiliary/tgsi/tgsi_lowering.h | 1 +
2 files changed, 55 insertions(+)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_lowering.c
Hi Lucas,
2017-02-08 12:36 GMT+01:00 Lucas Stach <l.st...@pengutronix.de>:
> Am Mittwoch, den 08.02.2017, 12:10 +0100 schrieb Christian Gmeiner:
>> Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
>> ---
>> src/gallium/drivers/etnaviv/etnaviv_c
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_context.c | 13 +
src/gallium/drivers/etnaviv/etnaviv_context.h | 2 ++
2 files changed, 15 insertions(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_context.c
b/src/g
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 2 ++
src/gallium/drivers/etnaviv/etnaviv_debug.h| 1 +
src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 +
src/gallium/drivers/etnaviv/etnaviv_shader.c
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 6 ++
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c
b/src/gallium/d
to multi-tiled or super-tiled resources). Have a look where
etna_copy_resource(..) gets used.
So this idea sound even better to me.
> Wladimir
>
> On Feb 3, 2017 11:00, "Christian Gmeiner" <christian.gmei...@gmail.com>
> wrote:
>>
>> Hi,
>>
>>
2017-01-30 15:47 GMT+01:00 Rhys Kidd <rhysk...@gmail.com>:
>
> On Sun, Jan 22, 2017 at 1:49 PM Rhys Kidd <rhysk...@gmail.com> wrote:
>>
>> On 20 January 2017 at 17:06, Christian Gmeiner
>> <christian.gmei...@gmail.com> wrote:
>>>
>>>
;= 0 is always true [-Wtautological-compare]
for (unsigned sp = c->frame_sp; sp >= 0; sp--)
~~ ^ ~
v2: Simply use the same datatype as c->frame_sp is using.
Reported-by: Rhys Kidd <rhysk...@gmail.com>
Signed-off-by: Christian Gmeiner <chris
lt; to_write)
~~ ^ ~
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/compiler/glsl/blob.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/blob.c b/src/compiler/glsl/blob.c
index dd4341b..ef17255 100644
--- a/src/compiler/gls
e for GC3000 (and some GC2000) features.
>
Missing Signed-off-by line - will add it for you - git commit -s may
be your friend!
Also the pach looks wired somehow.. I have reworded the commit a little bit.
Acked-by: Christian Gmeiner <christian.gmei...@gmail.com>
> diff --git a/src/gallium/
FE" stall before updating the shader code
> or constants is hit (which is conditional on vs_offset > 0x4000). This
> is necessary on GC3000 too, it increases stability.
Missing Signed-off-by line - will add it for you - git commit -s may
be your friend!
Reviewed-by: Christ
LL;
We will leak the allocated etna_context with that change - we really
want to call pctx->destroy(pctx) to free
all resources. If you are okay with my patch add your Reviewed-by and
I will push it later the day.
>
> pctx = >base;
> pctx->priv = ctx;
> --
>
Caught by Coverity, reported to me by imirkin.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_texture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_texture.c
b/src/gallium/drivers/e
In case ctx->stream == NULL the fail label gets executed where
pctx gets dereferenced - too bad pctx is NULL in that case.
Caught by Coverity, reported to me by imirkin.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_cont
by imirkin.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_screen.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c
b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index 8
derr, "Warning: zero pixel pipes (update kernel?)\n");
> val = 1;
> --
> Cheers,
> Eric
>
That change looks good ti me. I think I will take your patch and
rework my 'remove number of pixel pipes validation'
patch based on your ch
ed earlier.
>
> Not that that is part of this patch, but that seems to be the goal.
>
Yeah.. thats the final goal.
> If not for that there's no real use for a counter anyway: just have whatever
> parses the output do the counting based on what is printed first.
>
For t
Hi Lucas
2017-02-09 10:26 GMT+01:00 Lucas Stach <l.st...@pengutronix.de>:
> Am Mittwoch, den 08.02.2017, 20:47 +0100 schrieb Christian Gmeiner:
>> Hi Lucas,
>>
>> 2017-02-08 12:36 GMT+01:00 Lucas Stach <l.st...@pengutronix.de>:
>> > Am Mittwoch, den
Hi Eric
2017-02-09 11:59 GMT+01:00 Eric Engestrom <eric.engest...@imgtec.com>:
> On Thursday, 2017-02-09 08:19:39 +0100, Christian Gmeiner wrote:
>> In case ctx->stream == NULL the fail label gets executed where
>> pctx gets dereferenced - too bad pctx is NULL in
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>
2016-12-06 17:17 GMT+01:00 Philipp Zabel <p.za...@pengutronix.de>:
> Imported resources already have contents that we want to be copied to
> texture resources derived from them. Set initial seqno of imported
>
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>
2016-12-06 17:17 GMT+01:00 Philipp Zabel <p.za...@pengutronix.de>:
> Implement the resource_changed pipe callback to invalidate internal
> resources derived from imported buffers. This is needed to update the
> te
--
Christian Gmeiner, MSc
https://soundcloud.com/christian-gmeiner
2016-10-04 12:26 GMT+02:00 Emil Velikov <emil.l.veli...@gmail.com>:
> On 4 October 2016 at 02:05, Rob Clark <robdcl...@gmail.com> wrote:
>> On Thu, Sep 29, 2016 at 10:56 AM, Emil Velikov <emil.l.veli
This makes it possible to 'use' the imx-drm driver. Remeber that it
is not possible to have sysmbol names in C/C++ with a '-' in it.
Changes since v1:
- none
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/loader/loader.c | 6 ++
1 file changed, 6 insertions(+)
Changes since v1:
- removed not needed includes
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/egl/drivers/dri2/egl_dri2.c | 7 +++
src/gbm/backends/dri/gbm_dri.c | 7 ++-
src/glx/dri_common.c| 5 ++---
3 files changed, 7 insertions(+), 12 del
Changes since v1:
- renamed function to loader_get_extensions_name
- moved function into loader
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/loader/loader.c | 14 ++
src/loader/loader.h | 2 ++
2 files changed, 16 insertions(+)
diff --git a/src/
2016-11-04 12:59 GMT+01:00 Eric Engestrom <eric.engest...@imgtec.com>:
> On Thursday, 2016-11-03 15:25:22 +0100, Christian Gmeiner wrote:
>> This makes it possible to 'use' the imx-drm driver. Remeber that it
>> is not possible to have sysmbol names in C/C++ with a '-' in
--
Christian Gmeiner, MSc
https://soundcloud.com/christian-gmeiner
2016-11-10 19:25 GMT+01:00 Emil Velikov <emil.l.veli...@gmail.com>:
> On 9 November 2016 at 14:50, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> Changes since v1:
>>
2016-11-10 19:23 GMT+01:00 Emil Velikov <emil.l.veli...@gmail.com>:
> On 9 November 2016 at 14:50, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> Changes since v1:
>> - renamed function to loader_get_extensions_name
>> - moved function into l
the driver
>>> should be perfectly useable as a rendering-only thing (for piglitting or
>>> whatever). Uabi is supposed to be merged only when the userspace side is
>>> ready, so really admit that it _is_ ready and just land it in mesa. Out of
>>> tree drivers are nonse
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/egl/drivers/dri2/egl_dri2.c | 5 +++--
src/gbm/backends/dri/gbm_dri.c | 5 +++--
src/glx/dri_common.c| 5 ++---
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.c
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
include/GL/internal/dri_interface.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index d0b1bc6..36ba65e 100644
--- a/incl
This makes it possible to 'use' the imx-drm driver. Remeber that it
is not possible to have sysmbol names in C/C++ with a '-' in it.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
include/GL/internal/dri_interface.h | 7 +++
1 file changed, 7 insertions(+)
diff
Hi Emil,
2016-11-03 17:02 GMT+01:00 Emil Velikov <emil.l.veli...@gmail.com>:
> On 3 November 2016 at 14:25, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
>> ---
>>
| 5 +++--
> src/mesa/state_tracker/st_atom_texture.c | 4
> 9 files changed, 89 insertions(+), 2 deletions(-)
>
> --
> 2.10.2
>
greets
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Hi Emil,
thanks for your review!
2017-01-09 21:00 GMT+01:00 Emil Velikov <emil.l.veli...@gmail.com>:
> Hi Christian,
>
> There's a few nitpicks. Note that neither is a blocker so feel free to
> send patches in the week(s) to come.
>
> On 23 December 2016 at
2016 at 22:04, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> Changes from V1 -> V2:
>> - updated Copyright
>> - added $(top_srcdir)/src/gallium/winsys to include path (suggested by Emil)
>> - adapted driver to new renderonly API
>>
Hi Emil,
2017-01-10 14:28 GMT+01:00 Emil Velikov <emil.l.veli...@gmail.com>:
> Hi Christian,
>
> On 23 December 2016 at 22:04, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> As the original patchstack is now about 300 patches, I have choosen to
ers=svga,swrast,vc4,virgl,r300,r600
> +--with-gallium-drivers=svga,swrast,vc4,virgl,r300,r600,etnaviv,imx
> --disable-llvm-shared-libs
> ;
>make && make check;
> --
> 2.9.3
>
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.co
Hi Nicolai,
2016-12-01 13:00 GMT+01:00 Nicolai Hähnle <nhaeh...@gmail.com>:
> Congratulations on a huge amount of work! Obviously I can't say much about
> the driver itself. Some things that I noticed for the renderonly library.
>
> On 30.11.2016 14:44, Christian Gmeiner wrote:
noticed for the renderonly library.
>>
>> On 30.11.2016 14:44, Christian Gmeiner wrote:
>>>
>>> This a very lightweight library to add basic support for
>>> renderonly GPUs. It does all the magic regarding in/exporting
>>> buffers etc. This li
se let me know if you have any work we want to land before the
> next branchpoint.
>
I am interested in landing etnaviv.
thanks
--
Christian Gmeiner, MSc
https://soundcloud.com/christian-gmeiner
___
mesa-dev mailing list
mesa-dev@lists.freedeskto
: I hope I got all Signed-off's right - if not I am quite sorry and
will fix it in v2 or before pushing.
PPS: As not everybody is happy about the renderonly library and as I
am the only author I did not used the fictive author for the other
two patches.
Christian Gmeiner (2):
gallium: add
Hi all,
this time I send the patchset to the correct ml.
Had no coffee when sending it out for the first time :)
greets
--
Christian Gmeiner, MSc
https://soundcloud.com/christian-gmeiner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https
This a very lightweight library to add basic support for
renderonly GPUs. It does all the magic regarding in/exporting
buffers etc. This library will likely break android support and
hopefully will get replaced with a better solution based on gbm2.
Signed-off-by: Christian Gmeiner <christian.g
The imx (stub) driver is needed to get hardware acceleration from
etnaviv on a platform using imx-drm kms driver. This adds support
for wayland and native kms egl apps.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
configure.ac
Gentle ping for RB for the whole series.
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
2016-12-23 23:04 GMT+01:00 Christian Gmeiner <christian.gmei...@gmail.com>:
> As the original patchstack is now about 300 patche
2016-12-19 22:50 GMT+01:00 Thierry Reding <thierry.red...@gmail.com>:
> On Mon, Dec 19, 2016 at 08:54:04PM +0100, Christian Gmeiner wrote:
>> 2016-12-19 14:08 GMT+01:00 Thierry Reding <thierry.red...@gmail.com>:
>> > On Wed, Nov 30, 2016 at 02:44:34PM
Hi Thierry,
2016-12-19 14:08 GMT+01:00 Thierry Reding <thierry.red...@gmail.com>:
> On Wed, Nov 30, 2016 at 02:44:34PM +0100, Christian Gmeiner wrote:
>> This a very lightweight library to add basic support for
>> renderonly GPUs. It does all the magic regarding in/exp
s
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/Automake.inc | 5 +
src/gallium/auxiliary/Makefile.am | 10 ++
src/gallium/auxiliary/Makefile.sources| 4 +
src/gallium/auxiliary/renderonly
V2:
- reworked renderonly library
- added missing build integration
Happy Christmas!
Christian
PS: Patch 2 will not make it to ml as it is too big - please look it up
at github!
Christian Gmeiner (2):
gallium: add renderonly library
imx: gallium driver for imx-drm scanout driver
The etnaviv authors
Changes from V1 -> V2:
- updated Copyright
- added $(top_srcdir)/src/gallium/winsys to include path (suggested by Emil)
- adapted driver to new renderonly API
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
configure.ac | 12 ++
y *a, struct etna_shader_key *b)
{
+ STATIC_ASSERT(sizeof(struct etna_shader_key) <= sizeof(a->global));
+
return a->global == b->global;
}
greets
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Prep work to add shader variant support.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 26 +++---
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 10 -
.../drivers/e
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 4 +-
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 4 +-
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 2 +
.../drivers/etnaviv/etnaviv_compiler_cmd
This reverts commit 658568941d5e232d690e1ffbcddbd6ea9685693a.
With the help of shader variants we can render to rb-swapped
formats now. Fixes about 60 piglits.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_screen.c | 7 ++-
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 4 ++--
src/gallium/drivers/etnaviv/etnaviv_context.h| 9 +
src/gallium/drivers/etnaviv/etnaviv_emit.c | 16
src/gallium/drivers/e
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_shader.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.h
b/src/gallium/drivers/etnaviv/etnaviv_shader.h
index c613c17..9
-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 53 +++---
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 7 ++-
.../drivers/etnaviv/etnaviv_compiler_cmdline.c | 22 +++--
src/gallium/drivers/e
This commit adds some basic infrastructure to handle shader
variants. We are still creating exactly one shader variant
for each shader.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.h | 3 ++
src/gallium/drivers/e
Happy reviewing.
Christian Gmeiner (11):
etnaviv: remove not needed forward declarations
etnaviv: s/etna_shader/etna_shader_variant
etnaviv: add basic shader variant support
etnaviv: add struct etna_shader_state
etnaviv: make specs const
etnaviv: pass a preallocated variant to compiler
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_shader.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.h
b/src/gallium/drivers/etnaviv/etnaviv_shader.h
index b309370..1dbd200 100644
---
If we render to rb swapped format we will create a shader variant doing
the involved swizzing in the pixel shader.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 17 +
src/gallium/drivers/e
There is no need to cache spec values directly as library
users will cache them anyway.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
etnaviv/etnaviv_gpu.c | 72 --
etnaviv/etnaviv_priv.h | 22 ++-
2 files c
If shader-db run, create a standard variant immediately
(as otherwise nothing will trigger the shader to be
actually compiled).
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_shader.c | 9 +
1 file changed, 9 insertions(+)
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_shader.c | 30 ++--
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.c
b/src/gallium/drivers/e
Hi Lucas,
2017-03-27 10:56 GMT+02:00 Lucas Stach <l.st...@pengutronix.de>:
> Am Sonntag, den 26.03.2017, 16:13 +0200 schrieb Christian Gmeiner:
>> This commit adds some basic infrastructure to handle shader
>> variants. We are still creating exactly one shader varia
Hi Lucas
2017-03-27 10:40 GMT+02:00 Lucas Stach <l.st...@pengutronix.de>:
> Am Sonntag, den 26.03.2017, 16:13 +0200 schrieb Christian Gmeiner:
>> If we render to rb swapped format we will create a shader variant doing
>> the involved swizzing in the pixel shader.
>>
Hi Lucas
2017-03-27 10:43 GMT+02:00 Lucas Stach <l.st...@pengutronix.de>:
> Am Sonntag, den 26.03.2017, 16:13 +0200 schrieb Christian Gmeiner:
>> Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
>
> s/adopt/adapt in the subject
>
Fixed locally.
&g
t also do this swap in the resolve operation.
> But this would be tricky to keep track of)
>
> CC: <mesa-sta...@lists.freedesktop.org>
> Signed-off-by: Wladimir J. van der Laan <laa...@gmail.com>
> Acked-by: Christian Gmeiner <christian.gmei...@gmail.co
At the moment travis ci failes with the following error:
checking for RADEON... yes
checking for RADEON... yes
configure: error: LLVM 3.8.0 or newer is required for r600
make: *** No targets specified and no makefile found. Stop.
Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.
2017-04-12 14:33 GMT+02:00 Emil Velikov <emil.l.veli...@gmail.com>:
> On 26 March 2017 at 15:13, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
>> This reverts commit 658568941d5e232d690e1ffbcddbd6ea9685693a.
>>
>> With the help of shader variants we
v, struct
> etna_gpu *gpu,
> {
> struct etna_screen *screen = CALLOC_STRUCT(etna_screen);
> struct pipe_screen *pscreen;
> + drmVersionPtr version;
> uint64_t val;
>
> if (!screen)
> @@ -749,6 +752,11 @@ etna_screen_create(struct etna_device *dev, struct
tna_cmd_stream_flush(ctx->stream);
>
Can we do that without the extra if and just call
etna_cmd_stream_flush_explicit(..) in every
case? (Just like in freedreno?)
> if (fence)
> - *fence = etna_fence_create(pctx);
> + *fence = etna_fence_create(pctx, out_fence_fd);
> }
greets
p Zabel <p.za...@pengutronix.de>
> Reviewed-By: Wladimir J. van der Laan <laa...@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
__
e no-op, and we better skip it.
>
> Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
___
le autodisable")
> Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
> Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com>
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcl
1 - 100 of 469 matches
Mail list logo