Mesa (master): 33 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 28 15:10:12 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fbded8b5821a47c26245b181446f972f920a96e
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 17:14:57 2020 -0400

    pan/decode: Drop prefix braces
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb261a801876e35536fcedaeac1fb82da0e3cc7a
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 17:10:37 2020 -0400

    panfrost: Remove mali_vertex_tiler_postfix
    
    Now XMLified everywhere.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=760289174b8166ceef7e328b8007745f27ca7d77
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 17:05:41 2020 -0400

    pan/decode: Use unpack for vertex_tiler_postfix_pre
    
    Garbage collect some old incorrect/misleading comments and the braces
    while we're at it.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2425bac8fee69db464adfe24a0fcb38737f28b4f
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 16:56:51 2020 -0400

    pan/decode: Use generation for vertex_tiler_postfix
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80049069265fe6457eba24949fc48e67c2a3d087
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 16:52:53 2020 -0400

    pan/decode: Fix awkward syntax
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c088a3b5542a24ee0725007594f4afde7cf99b04
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 16:52:23 2020 -0400

    pan/decode: Print shader-db even for compute
    
    Stated rationale is silly.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6855228726151410aed520c2a4042a7a36076e51
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 16:50:16 2020 -0400

    pan/decode: Drop mali_vertex_tiler_postfix arg
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38ae08856546ce1f23f4ab100a74c4a57728c114
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 16:44:51 2020 -0400

    pan/decode: Drop scratchpad size dump
    
    It fails if the scratchpad isn't actually mapped from pandecode's
    perspective, and isn't useful information to us at this point.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c92be29a477a2262349f484d4a511dce435726b3
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 16:48:13 2020 -0400

    panfrost: Use nir_builder_init_simple_shader for blits
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4467e792c5169de628c049cf87bc0756fab6ec0c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 13:21:06 2020 -0400

    panfrost: Inline bifrost_tiler_only
    
    Pointless abstraction now that fused jobs are dropped.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c1f44bab74f06a379b6d668dce01f0044ca642c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 13:10:53 2020 -0400

    panfrost: Drop bifrost_payload_fused
    
    Fused jobs are broken for various reasons almost everywhere. Drop the
    reference - if for some reason somebody wants this later, it's preserved
    in git.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02e768e6a96e1a0aad6d1cbb002bfb883078ad40
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 13:04:17 2020 -0400

    panfrost: XMLify invocations
    
    Not so bad :)
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0225ed4d72ce2e8aba3b2d05d4360d6a18c6a1d0
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 12:45:38 2020 -0400

    panfrost: Add invocation XML
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b60d567edd6fe2149440a0365e3d9b7f899c7057
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 16:59:14 2020 -0400

    panfrost: XMLify primitive information
    
    This is grouped as the latter part of the prefix. Some kludges around a
    magic field for compute jobs that we'll deal with later. (I hope.)
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bae493d1a15796ba579d97fabe26063dea70bca
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 11:23:52 2020 -0400

    panfrost: Drop point sprite from shader key
    
    It's not implemented on Bifrost, and not needed on Midgard. For Bifrost
    this will belong in mesa/st anyway.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b17b6cca362a1ab8aa5cfce92f22b91a0f0fff08
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 11:22:47 2020 -0400

    panfrost: Cleanup point sprite linking
    
    Use the common Gallium helper, and get the sprite coord mask from the
    rasterizer instead of the shader state (which requires useless keying).
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d328e7ba9b842b09c5e11610e2424d69acc129b
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 10:50:18 2020 -0400

    panfrost: Simplify ZSA bind
    
    void* casts are implicit.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90cc8156289e5b58934ec3c428d9a0471ce551fb
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 14:59:30 2020 -0400

    panfrost: Use pack for draw descriptor
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33895ac2c8a19ba86cc887a1e6ac33dd4391e8f0
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 15:07:41 2020 -0400

    panfrost: Use draw pack for compute jobs
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5c77cbead98cfed0cd84723c7cac8796a2bfa66
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 13:37:22 2020 -0400

    panfrost: Detangle postfix from varying emits
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a4d9305715e1a45ec25bac2114ec22c19cfae79
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 13:25:29 2020 -0400

    panfrost: Inline panfrost_vt_set_draw_info
    
    Not happy about the monster routine, but we'll get simplification having
    everything together. (I hope.)
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f61da79c3611e2c8bbb253b07c77f84dc101797
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 13:03:59 2020 -0400

    panfrost: Inline panfrost_vt_init
    
    Again, we'd like to keep the routines filling out the postfix together,
    and this has a single remaining caller (once for vertex then immediately
    for tiler).
    
    By keeping them together we can avoid uploading the shared
    memory/framebuffer structures twice in a row, saving a bit of memory in
    the process.
    
    We also fix a bug where bit 2 of gl_enables is incorrectly set on
    Bifrost.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=136fd5cd2e857cc455113aff3c7c931183484774
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 12:52:45 2020 -0400

    panfrost: Don't call panfrost_vt_init for compute
    
    Given we emit shared memory immediately after anyway, the function call
    doesn't do anything but zero-initializing the payload and setting some
    magic bits. We can do that ourselves at the call site.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1513392e776317892a074fd350497370dae7ee58
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 12:48:12 2020 -0400

    panfrost: Avoid postfix dep for vertex_data
    
    We need to thread some extra data through the context but still gets us
    a bit closer.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b5f9fc08af32ab68dab1d18a51e21ec686107fa
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Aug 25 12:03:17 2020 -0400

    panfrost: Remove postfix parameter from UBO upload
    
    Need to signal push constants via a side channel. I tried to disentangle
    this code, but there are a number of stacked issues here:
    
    * We need to upload sysvals. Currently we prefix UBO #0 with sysvals,
      but this requires a memcpy() of the entire contents of UBO #0. We
      could create a synthetic UBO instead with sysvals at the end.
    
    * We want to push uniforms/sysvals. Currently we push UBO #0 as much as
      we can, which pushes sysvals automatically by point 1.
    
    * We want to optimize out f2f16(uniform). We don't currently handle
      this.
    
    * We want to optimize out uniform-on-uniform/constant operations. Mesa
      doesn't currently have good support for this.
    
    The real solution will look something like:
    
    * Create a separate UBO for sysvals.
    
    * Let the compiler allocate push constant space as it sees fit ("copy
      word 12:15 of UBO 1 to word 2:3 of push constant space, as fp16").
    
    * Somehow handle uniform folding when NIR gains support.
    
    For now, let's not block the depostfixening.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1357eec801c0b19b383b2a21e35a4fb95407e289
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 14:02:15 2020 -0400

    panfrost: Inline vt_update_{rasterizer, occlusion}
    
    These are simple enough that the abstraction will get in the way of the
    upcoming refactor. Let's keep all the state together.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7169367fd677e230aa33a7b4f87962371fde2b3
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 13:54:20 2020 -0400

    panfrost: Separate postfix from emits
    
    This is the easy subset, where we have functions that take in a postfix
    pointer but only to use as a return address. We can use an actual return
    instead, which is a bit simpler and helps prepare for condensed postfix
    packing.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59b6e3c98ce5279fb9dc19e0754eb4ade248cf43
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 13:46:34 2020 -0400

    panfrost: Use draw pack for blit
    
    Something easy to start us off for the series.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6a5df0db0bb0c2c1fb5e5baa3d2ab906683f331
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 13:13:33 2020 -0400

    panfrost: Add XML for mali_vertex_tiler_postfix
    
    This is a bit of everything but overall sets up the draw state.
    Translating fairly directly from the header. Main structural change is
    breaking out a 2-bit enum for occlusion query mode instead of
    maintaining separate booleans for the modes.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e213a864e5758be5698f0383d677d94e1db27e59
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 13:36:22 2020 -0400

    panfrost: Add padded type for instance fields
    
    Mali has a special 5:3 encoding representing a subset of the natural
    numbers, of the form:
    
       a * (2^b)
    
    for a odd and b natural/zero. It is used for padding out instance sizes,
    as well as in attribute records so it's worth representing as a native
    type as opposed to having manual packs/unpacks in various places.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45c59db732528652ec70a7409af1f77d48b23325
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 12:07:59 2020 -0400

    panfrost: Drop blend indirection
    
    We don't need to ralloc/memcpy/free, we can emit all at once when we
    have proper write ordering gaurantees.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87e35102ddf3593ba4d06297eba5784a12a6ed0e
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug 26 09:44:12 2020 -0400

    panfrost: Emit explicit REPLACE for disabled colour writeout
    
    Likewise zero for Bifrost. Avoids UB behaviour in next commit.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75a274de061485c0f0e74de5325cf98e7cea5e1d
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Aug 24 12:06:04 2020 -0400

    panfrost: Add opaque midgard_blend XML
    
    Just to ensure write ordering is sane.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>



More information about the mesa-commit mailing list