Mesa (master): 39 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri May 29 20:49:45 UTC 2020
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=229084f5de848ea83c83b6d0743edfc90eddb428
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Fri May 29 14:02:43 2020 -0400
panfrost: Disable QUAD_STRIP/POLYGON on Bifrost
Support was dropped and now raises a DATA_INVALID_FAULT on G31. Unknown
if retained on other devices. GL_QUADS is still ok.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4be2cd604bc601f90eb90625bb91a040659b6767
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 15:38:04 2020 -0400
pan/bi: Passthrough deps of the branch target
Now that we have the infrastructure, follow the branch.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8230a04f513e033843da2f2e26f87ac3846c4dd7
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 15:23:18 2020 -0400
pan/bi: Allow two successors in header packing
We need to take the union of the dependencies.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db2c10d0325cc9c127209b11b8c36f2e5625d185
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 15:01:14 2020 -0400
pan/bi: Measure backwards branches as well
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a42731536d59ec2c028138d303d15c18158e85c9
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 15:01:38 2020 -0400
pan/bi: Add bi_foreach_block_from_rev helper
Needed for next commit.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c697992ca18e6f059d167fa0a1a9af53b3f93fea
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 14:44:33 2020 -0400
pan/bi: Defer block naming until after emit
This ensures names are meaningful.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd6ff4f7e1845d380c366d4f643725fe76a101f5
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 14:38:44 2020 -0400
pan/bi: Pack unconditional branch
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4791d2bf85045f59451dcbc0e166b3c71ec3048
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 14:15:09 2020 -0400
pan/bi: Set branch conditional bit
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffe7a61a46139b9d872ec60b686aad1926b857f7
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 14:13:12 2020 -0400
pan/bi: Set back-to-back bit more accurately
See Connor's ISA notes. Basically set unless it's a branch (explicit or
fallthrough).
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3aacfaf87eccee657ab9a5acc7bfe83b226f120b
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 14:01:29 2020 -0400
pan/bi: Set branch_conditional if b2b is set
Match the blob.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e945d4f79d6f4da1d6ad61ebcef43ba47aeb7833
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 14:00:45 2020 -0400
pan/bi: Pack proper clause offsets
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=682b63cdc2631de48d6d5e8ce739e272ae373c10
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 13:49:59 2020 -0400
pan/bi: Measure distance between blocks
For branch offset calculation.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64c49ab1fc48e9a82c06f1e9fc92c3cf093ef3ce
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 13:49:41 2020 -0400
pan/bi: Add bi_foreach_clause_in_block_from{_rev} helpers
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64bedbfa67bc0f814ba6b0d4a587807fb9b88050
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 13:48:46 2020 -0400
pan/bi: Link clauses back to their blocks
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c329567508836b5b40cfbacf29a840e1e6d4c41
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 12:39:42 2020 -0400
pan/bi: Preliminary branch packing
Simple == 0 branch packing. Offset is still to-do.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd9a08d4f2360c227eb17f5b1f166ac46ca08ebe
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 13:27:31 2020 -0400
pan/bi: Assign constant port for branch offsets
By convention.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdff3ebc9a28ffa0001012ab5ad913c81de7fb8a
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 13:14:53 2020 -0400
pan/bi: Set branch_constant if there is a branch
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9967ab6da8a1c383939752611ad564aee271cb7
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 13:08:04 2020 -0400
pan/bi: Pack branch offset constants
This is not fully generic but for a single constant it will do.
Extensions left for future work.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=627872ef7f8be877cc8c64f0b424827a43ed8ef7
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 12:53:22 2020 -0400
pan/bi: Add branch constant field to IR
The offsets used for branches need some extra bits twiddled, so add a
field to the clause to indicate this is happening. This is not ambiguous
since a clause can only have a single branch.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1298ae33658c7e0e1c2e07b70903338e0981bed
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 12:39:26 2020 -0400
pan/bi: Passthrough ZERO in branch packing
There's a special mode for it.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d619ff009b57e6949e88b9a607cc8f089d6d7ad2
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu May 28 12:39:14 2020 -0400
pan/bi: Fix branch condition typesize
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cdd55a81ea14df39608ef38bd6acb77369f9de1
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed May 27 18:35:50 2020 -0400
pan/bi: Fix CONVERT component counting
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8c6a7187856edeb55ebd63c9274e9a780f22b35
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed May 27 18:29:01 2020 -0400
pan/bi: Only rewrite COMBINE dest if not SSA
If it's already a register, there's no point in rewriting and it will
disturb the existing register, i.e. for
if (..) {
r0 = vecN ..
} else {
r0 = vecN ..
}
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e42a5dfd4f2b22c73f4627128ac6d3dbcb10aca1
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed May 27 18:27:08 2020 -0400
pan/bi: Fix emit_if successor assignment
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Fixes: 9a00cf3d1ef ("pan/bi: Add support for if-else blocks")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b34eb94d9c97a7bfdd64da444dcc0860f6546f89
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed May 27 18:09:44 2020 -0400
pan/bi: Allow printing branches without targets
Useful for debugging codegen.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4fc16a1d4bbfa520bdf11dbcdf41dd3a3e14829
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed May 27 17:58:41 2020 -0400
pan/bi: Remove schedule_barrier
Legacy from Midgard.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3ae088b96d9242d7d0fabde0516ccd76279ffd5
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 18:20:08 2020 -0400
pan/bi: Add helper to measure clause size
Useful for branching.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a4e4477fc3ce3e3a914dad98b1129e90cbdf0b0
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 17:58:16 2020 -0400
pan/bi: Add bi_layout.c for clause layout helpers
Figuring out what "shapes" of clauses are kosher happens during
scheduling, not packing, but shouldn't distract the scheduler. So let's
add a new file for these sorts of questions.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3de28bb49229f195e2353d8bbaee63ff3198481
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 17:29:24 2020 -0400
pan/bi: Remove more artefacts of 2-pass scheduling
A clause is, by definition, already scheduled.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4096be05af306d18bf948f92ab03ee7d6f7468f4
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 16:15:44 2020 -0400
pan/bi: Add MUL.i32 to disasm
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec8665615f4b4bd019ea56fb1dd2be3716802b78
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 16:15:36 2020 -0400
pan/bi: Disassemble pos=0xe
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a658a4f7a5599141c678794676f4a5cfc16ba7f1
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 16:15:16 2020 -0400
pan/bi: Document constant count invariant
constants + instructions <= 13
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac64bf9b207f6a4e7f41d57ee123b173f631cb28
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 14:34:58 2020 -0400
pan/bi: Move bi_flip_ports out of port assignment
It's more of a packing fixup than anything scheduler-y, and port
assignment will soon be the domain of the scheduler.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95e3776d3e0119f679bfb467028ed09226fdf95d
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 14:31:20 2020 -0400
pan/bi: Add FILE* argument to bi_print_registers
In case we need it in general IR printing.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd96b451f66c793b2a9593a58c672e6482eaa12c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 14:30:06 2020 -0400
pan/bi: Drop `struct` from bi_registers
It's a full-fledged part of the IR now.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b042ddef325ee6f88ebfff76f84173825c40d33f
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 14:28:53 2020 -0400
pan/bi: Move bi_registers to bi_bundle
Make it a part of the IR itself.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79f30d8a86e9f9fe0f542c75f8ebf2e617f13135
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 14:23:41 2020 -0400
pan/bi: Move bi_registers to common IR structures
Port assignments are critical to scheduling, this can't just live in
bi_pack.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59f8f20306b5890ce2f26b12f22db682cbdbebac
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue May 5 14:17:58 2020 -0400
pan/bi: Remove comment about old scheduler design
I've realized it really has to be 1-pass to be sane.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=635bf652edc9150e2e939d76cacbb74537530ef5
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Mon May 4 19:46:32 2020 -0400
pan/bi: Remove FMA? parameter from get_src
We can lower away zeroes a bit earlier.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
More information about the mesa-commit
mailing list