mesa merge requestshttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests2019-08-14T23:10:28Zhttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1686panfrost: Check in Bifrost compiler2019-08-14T23:10:28ZAlyssa Rosenzweigpanfrost: Check in Bifrost compilerCompiler by @Sonicadvance1. I just ran it through astyle, rebased it against master (moved to src/panfrost rather than stuffed inside the Gallium driver), and got everything functional again.Compiler by @Sonicadvance1. I just ran it through astyle, rebased it against master (moved to src/panfrost rather than stuffed inside the Gallium driver), and got everything functional again.https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1690pan/bifrost: Manually constant fold register class2019-08-15T19:23:24ZAlyssa Rosenzweigpan/bifrost: Manually constant fold register classFixes errors for some people building Mesa:
../src/panfrost/bifrost/bifrost_sched.c:32:31: error: initializer
element is not constant
const unsigned max_vec2_reg = max_primary_reg / 2;
../src/panfrost/bifrost/bifrost_sched.c:33:31: er...Fixes errors for some people building Mesa:
../src/panfrost/bifrost/bifrost_sched.c:32:31: error: initializer
element is not constant
const unsigned max_vec2_reg = max_primary_reg / 2;
../src/panfrost/bifrost/bifrost_sched.c:33:31: error: initializer
element is not constant
const unsigned max_vec3_reg = max_primary_reg / 4; // XXX: Do we need
to align vec3 to vec4 boundary?
../src/panfrost/bifrost/bifrost_sched.c:34:31: error: initializer
element is not constant
const unsigned max_vec4_reg = max_primary_reg / 4;
../src/panfrost/bifrost/bifrost_sched.c:35:32: error: initializer
element is not constant
const unsigned max_registers = max_primary_reg +
../src/panfrost/bifrost/bifrost_sched.c:40:28: error: initializer
element is not constant
const unsigned vec2_base = primary_base + max_primary_reg;
../src/panfrost/bifrost/bifrost_sched.c:41:28: error: initializer
element is not constant
const unsigned vec3_base = vec2_base + max_vec2_reg;
../src/panfrost/bifrost/bifrost_sched.c:42:28: error: initializer
element is not constant
const unsigned vec4_base = vec3_base + max_vec3_reg;
../src/panfrost/bifrost/bifrost_sched.c:43:27: error: initializer
element is not constant
const unsigned vec4_end = vec4_base + max_vec4_reg;
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3402panfrost: Fix naming conflict between bifrost & midgard compiler backends2020-01-22T17:14:41ZRobert Fosspanfrost: Fix naming conflict between bifrost & midgard compiler backendsAlyssa RosenzweigAlyssa Rosenzweighttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4025panfrost: Bifrost decoding/disassembly fixes2020-03-03T00:22:02ZAlyssa Rosenzweigpanfrost: Bifrost decoding/disassembly fixesJust to start getting things cleaned up.Just to start getting things cleaned up.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061pan/bi: Add Bifrost IR2020-03-05T14:58:37ZAlyssa Rosenzweigpan/bi: Add Bifrost IRAdd the new IR and complete routines for printing it. Cc @Sonicadvance1Add the new IR and complete routines for printing it. Cc @Sonicadvance1Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4097pan/bi: More Bifrost stuff2020-03-09T05:12:32ZAlyssa Rosenzweigpan/bi: More Bifrost stuffIs it that time of the week again?Is it that time of the week again?Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150panfrost: Add sysval, liveness analysis, DCE support to Bifrost2020-03-11T20:45:01ZAlyssa Rosenzweigpanfrost: Add sysval, liveness analysis, DCE support to Bifrost...By moving the corresponding routines from Midgard into shared code....By moving the corresponding routines from Midgard into shared code.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382panfrost: More Bifrost stuff2020-03-31T01:37:11ZAlyssa Rosenzweigpanfrost: More Bifrost stuffThe beginnings of Bifrost unit testing, the beginnings of fp16, and some all around improvements that should stop living in my personal branch.The beginnings of Bifrost unit testing, the beginnings of fp16, and some all around improvements that should stop living in my personal branch.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505Upstream more Bifrost stuff2020-04-10T15:11:51ZTomeu Vizosotomeu@tomeuvizoso.netUpstream more Bifrost stuffHave cleaned up a bunch of changes from the Bifrost WIP branches.Have cleaned up a bunch of changes from the Bifrost WIP branches.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4530More bifrost2020-04-13T15:55:34ZTomeu Vizosotomeu@tomeuvizoso.netMore bifrostAnother wave of changes needed to support Bifrost GPUs.Another wave of changes needed to support Bifrost GPUs.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4680Another batch of Bifrost changes2020-04-24T05:34:47ZTomeu Vizosotomeu@tomeuvizoso.netAnother batch of Bifrost changesHave cleaned up some patches from @alyssa and me that inches us closer towards initial Bifrost support in master.Have cleaned up some patches from @alyssa and me that inches us closer towards initial Bifrost support in master.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4724Blending descriptors for Bifrost2020-04-30T14:43:06ZTomeu Vizosotomeu@tomeuvizoso.netBlending descriptors for BifrostMarge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4832More misc. Bifrost changes2020-05-05T16:57:06ZTomeu Vizosotomeu@tomeuvizoso.netMore misc. Bifrost changesJust a bunch of commits I was keeping in my bifrost branch. Based on top of !4724.Just a bunch of commits I was keeping in my bifrost branch. Based on top of !4724.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4844panfrost: Round opcodes and texture fixes for Bifrost2020-05-15T19:28:31ZAlyssa Rosenzweigpanfrost: Round opcodes and texture fixes for BifrostMarge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4944A few more Bifrost fixes2020-05-07T17:28:44ZTomeu Vizosotomeu@tomeuvizoso.netA few more Bifrost fixesMarge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4960panfrost: don't always build bifrost_compiler2020-05-11T17:22:51ZQiang Yupanfrost: don't always build bifrost_compilersrc/panfrost/shared is shared with lima driver, build
bifrost_compiler for lima driver is meaningless and
get link error when only lima driver is enabled.
So only build bifrost_compiler when configued with:
meson -Dtools=panfrost
Fix...src/panfrost/shared is shared with lima driver, build
bifrost_compiler for lima driver is meaningless and
get link error when only lima driver is enabled.
So only build bifrost_compiler when configued with:
meson -Dtools=panfrost
Fixes: ec2a59cd7aa4 "panfrost: Move non-Gallium files outside of Gallium"
Signed-off-by: Qiang Yu <yuq825@gmail.com>Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5107nir: Add un/pack_4x8 opcodes2020-05-25T20:20:04ZAlyssa Rosenzweignir: Add un/pack_4x8 opcodes
These complement the existing 2x16 variants, as well as the unorm variant. For us, it's a just move on Midgard and a SEL.8 opcode on Bifrost. One usage is unorm_4x8 lowering that's more amenable to vector architectures.
This is require...
These complement the existing 2x16 variants, as well as the unorm variant. For us, it's a just move on Midgard and a SEL.8 opcode on Bifrost. One usage is unorm_4x8 lowering that's more amenable to vector architectures.
This is required for the blend shader rework.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5232panfrost: Misc Bifrost fixes2020-05-27T21:14:38ZAlyssa Rosenzweigpanfrost: Misc Bifrost fixes
A bunch of these were sprawled across personal branches, etc. Let's land them.
As a bonus, this has the last cmdstream hack cleaned up and fixed, so Dvalin should work on master once probed.
A bunch of these were sprawled across personal branches, etc. Let's land them.
As a bonus, this has the last cmdstream hack cleaned up and fixed, so Dvalin should work on master once probed.Marge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5248panfrost: Fix printf format specifier.2020-05-30T02:49:08ZVinson Leepanfrost: Fix printf format specifier.```
bifrost_sampler_descriptor.zero1 is of type uint8_t.
Fix warning reported by Coverity.
Invalid type in argument to printf format specifier (PRINTF_ARGS)
invalid_type: Argument s->zero1 to format specifier %lx was expected to
have t...```
bifrost_sampler_descriptor.zero1 is of type uint8_t.
Fix warning reported by Coverity.
Invalid type in argument to printf format specifier (PRINTF_ARGS)
invalid_type: Argument s->zero1 to format specifier %lx was expected to
have type unsigned long but has type unsigned char.
Fixes: 6148d1be4bb5 ("panfrost: Fix size of bifrost sampler descriptor")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
```
cc: @alyssaMarge BotMarge Bothttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260panfrost: Initial branching support for Bifrost2020-06-10T18:02:37ZAlyssa Rosenzweigpanfrost: Initial branching support for Bifrost
This gets the basic infrastructure setup for piping branches through the compiler. It's not totally complete, but it's a big step in the right direction, and I'd like to land sooner than later.
This gets the basic infrastructure setup for piping branches through the compiler. It's not totally complete, but it's a big step in the right direction, and I'd like to land sooner than later.Marge BotMarge Bot