Mesa (master): 30 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 23 17:18:51 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93af193eeb061d80b10b6df96dbc7c8646ec1ceb
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Dec 23 11:38:06 2020 -0500

    pan/bi: Add helpers for manipulating the ISA
    
    These will be used to generate various files for the IR.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46584f2d4633e42ff884b47aed1ab6a4cf97cc74
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:46:45 2020 -0500

    pan/bi: Move copyright notice to common code
    
    No reason to duplicate this all over the place.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d76a3d4a19b6d7b51a653a9334c82b322e7ef97
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Dec 7 19:58:22 2020 -0500

    pan/bi: Add explicit meson dependency on the ISA helpers
    
    This logic was slightly busted before.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3625f4ca808752e5e321355cc5d938de7bcc6f9
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:24:53 2020 -0500

    pan/bi: Rename isa_parse to bifrost_isa
    
    We use this for non-parsing code as well. Make the name clear.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27e37a77461874c7d41c5268359b281a997326ec
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Dec 16 13:09:50 2020 -0500

    pan/bi: Add pseudo register formats to XML
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cffc1d90da0d03e1ec90b1fff2e35cc0f5fee390
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Dec 23 11:30:17 2020 -0500

    pan/bi: Add staging register counts to ISA.xml
    
    Message-passing instructions that read/write staging registers access
    either:
    
    * a fixed number of registers
    * vecsize registers (/2 for LD/ST_CVT if register_format is 16-bit)
    * a computed number for TEXC
    
    This adds the fixed counts into the XML for the first type and space to
    specify the latter types.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=faa18708d1d3a162e2cc6d7649d87b3e33d3b243
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Dec 10 15:19:35 2020 -0500

    pan/bi: Fix rounding name for HADD in XML
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27f91eb66b99e9d340b02f36ba476dc046c94b58
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Dec 9 14:55:05 2020 -0500

    pan/bi: Mark message types in ISA.xml
    
    Message-passing instructions have an associated message type, which the
    clause header needs to signal. Instead of open coding this, let's
    annotate the XML. Instructions not otherwise marked do not generate
    messages.
    
    Three exceptions apply:
    
    * UBO loads need to use the attribute message type.
    * Tile buffer access to Z/S needs ZS message type
    * LD_VAR_SPECIAL.fragz needs ZS message type
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b5cfd0df9e713c2fae7d212dcf5a5a5192aa3c2
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 19:16:17 2020 -0500

    pan/bi: Use consistent neg naming
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=550bbcdcd1827ca6751ca3e156ad4aeb82a6fc56
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:31:49 2020 -0500

    pan/bi: Use canonical inactive result
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5789bbfdbc2785714aa0efea859022bed7ceb90c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:31:13 2020 -0500

    pan/bi: Use canonical subgroup size
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c41cecd404710f2762295da84e0165a25f660bc1
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:30:01 2020 -0500

    pan/bi: Use canonical lane ops
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=876f37ed59358c64b4a6b9c1ed18fd29bf27440c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:28:33 2020 -0500

    pan/bi: Use canonical name for segments
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f47ec85ef659c4217af4c1ed86393460cb9afb53
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:47:28 2020 -0500

    pan/bi: Use canonical min/max semantics
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7e494268ef584f7d596a74358b6913a9dcdbcb2
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:44:25 2020 -0500

    pan/bi: Use canonical update modes
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3797fc9af96f63a43ce544b674bd054d88782487
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:43:06 2020 -0500

    pan/bi: Use canonical sample names
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e84a1b4d892d141b08cc16a5b6b473d33e076c5
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:41:47 2020 -0500

    pan/bi: Use canonical varying names
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=030854a3b806f836367d32812b0b93564906826f
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:37:33 2020 -0500

    pan/bi: Use canonical names for rounding modes
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e481500d09666bfd6c7a8f0d163476e3c80e747
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:33:19 2020 -0500

    pan/bi: Use canonical names for clamps
    
    Prepare to generate this enum by correctly naming the open-coded
    variant.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=569886359bad365ccd2695616cd6db62f41909ed
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 14:59:12 2020 -0500

    pan/bi: Don't treat extend as per-source
    
    There is only one per instruction so it just complicates things.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa91f9dcc0bba2fcb940fe5e8d982ac4d8bf6c7e
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 14:48:44 2020 -0500

    pan/bi: Use consistent naming of lane/lane0
    
    It's always a source modifier.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2470a6bc9a1961cbbbcfa397663e47c480f521d3
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 13:53:28 2020 -0500

    pan/bi: Use consistent wls naming
    
    Compare naming in the data structures.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b6ef4ef10cf3ada9214487b0ef684adac2453bf
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Thu Nov 26 18:07:52 2020 -0500

    pan/bi: Use consistent negX/absX naming
    
    We already use plain neg/abs for this, don't mix it. Will avoid weird
    enums for abs/neg with a generated IR.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=258c1f5b24e39a2c444516a777d8e81ff07b8e8f
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Sun Dec 6 22:50:34 2020 -0500

    pan/bi: Defer newline printing in disassembler
    
    Easy reduction in generated code, while we're at it. Pretty obvious
    change after working on similar fixes for the other generators.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d81df6e0c781a1080ede0cbcd45c19d256b0f62
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Sun Dec 6 22:44:06 2020 -0500

    pan/bi: Mark some instructions as unused
    
    Certain transcendental instructions are not even possible to generate
    since these bits are lowered away before the Bifrost backend is touched,
    as far as I know.
    
    Job management instructions (most interestingly DOORBELL) do not
    correspond to OpenGL/OpenCL/Vulkan.
    
    Segment arithmetic seems mostly useless for real code, any actual use
    case I can think of is already covered by indirect loads/stores which
    does the segment arithmetic implicitly. I've never seen this in blob
    code, probably just a future proofing thing.
    
    Dropping these instructions corresponds to a 3% reduction in generated
    lines of code for the printer, builder, and packer for the new IR. Not a
    terrible yield for functionality we'll likely never need.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b45978c8e1c0af55f31f18c51444b5f670aa1f74
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Dec 7 20:01:11 2020 -0500

    pan/bi: Add pseudo-instruction mechanism
    
    Useful for instructions that need to be modeled in the IR (with support
    in the builder and printer) but will always be lowered away before
    packing since they don't correspond to anything real.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d47e0af56b46caa5a63928f0296ca568bef46f55
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Sun Dec 6 22:42:37 2020 -0500

    pan/bi: Add unused instruction mechanism
    
    Certain instructions are highly unlikely to ever be used in the Bifrost
    compiler, due to differences in the Mesa stack versus the Arm compiler,
    as well as hardware features added speculatively and that never became
    API visible. It doesn't make sense to include these instructions in the
    IR, so let's disable them, while retaining complete disassembly.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f31922faf71208778fb81af9ed3c9ae625ed674f
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Dec 11 10:59:48 2020 -0500

    pan/bi: Remove bi_is_live_after
    
    Unused on Bifrost, and only used on Midgard for something that doesn't
    apply to Bifrost.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a46b38d125b53d259beae9ca4b786990264585b
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Dec 16 20:39:58 2020 -0500

    pan/bi: Label shader-db shaders
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd0a285bb3ca36ca6a4bcf1aa81df2729d09789
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Nov 27 10:24:27 2020 -0500

    pan/bi: Drop on-board packing tests
    
    These tests were designed before having access to canonical information
    about the hardware and thus had two purposes:
    
    * Validating that our understanding of an instruction (as defined by IR
      semantics) matches hardware behaviour -- obsoleted by new information.
    
    * Validating that the IR packing code is correct -- obsoleted by
      rewriting the IR and rewriting the packing.
    
    I dislike removing tests as much as the next person, but the value of
    these will be nil by the end of the series, and will prove burdensome.
    Proper unit tests will be useful, however.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>



More information about the mesa-commit mailing list