Mesa (main): 21 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 26 15:15:00 UTC 2022


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f329f67243d671965d73bd2243cffc4e1e68c4a3
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Apr 7 10:34:00 2022 -0400

    panfrost: Kick off v9 support in the driver
    
    Call panfrost_cmdstream_screen_init_v9.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a1546ca7e803a7860b5a5bfdebce94b513e13b3
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 5 12:38:38 2022 -0400

    panfrost: Compile for v9
    
    Now that everything is ported!
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26d339ef8ac7338a39aa5908d2dd38950933a474
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 09:54:02 2022 -0400

    panfrost: Generate Valhall Malloc IDVS jobs
    
    These look similar to Bifrost IDVS but with a twist: memory allocation is
    handled by the hardware, and the descriptors are split up. Add the handling for
    these.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e626c9f6f87566d8de2dbc73c6a93203887e5a2a
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Apr 14 18:54:24 2022 -0400

    panfrost: Use dirty flags to emit v9 descriptors
    
    These new descriptors take the place of removed descriptors like the RSD, and
    need corresponding dirty tracking.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=351403fe750c1280d2ced27191ca14f718f608ae
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 09:54:19 2022 -0400

    panfrost: Specialize shader descriptors for Valhall
    
    Instead of being globbed into the RSD, Valhall uses minimal shader program
    descriptors. For IDVS, we need separate descriptors for position and varying
    shaders. It's actually worse -- we need separate descriptors for drawing points
    and drawing lines/triangles in order to skip over the gl_PointSize write. Adapt
    prepare_shader to upload all these descriptors.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b15f53ffaaf18ffd940db6005713080466e51e84
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Apr 7 10:26:00 2022 -0400

    panfrost: Specialize ZSA state for Valhall
    
    Now we have a much nicer Z/Stencil Descriptor.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=68e7bcab3d50fe9be07e1c4d672afbbeecf48422
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 09:54:14 2022 -0400

    panfrost: Specialize vertex elements for Valhall
    
    The split between attribute descriptors and buffer descriptors parallels that of
    Bifrost's attribute descriptors and attribute buffer descriptors, with some
    shuffling and simplication.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a027abfcfb353f85b09c7e5e1fbdf8242ebe8ef
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 09:54:12 2022 -0400

    panfrost: Simplify attribute format expression
    
    Chew through a layer of indirection for clarity.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=603c06d00f31073f37b662b534a9a3ac2c4e61fc
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 09:54:10 2022 -0400

    panfrost: Specialize rasterizer state for Valhall
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=818bbcecb23d63e817c13a2e3e486488f2973cad
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 10:10:48 2022 -0400

    panfrost: Adapt compute job emit for Valhall
    
    Similar data structure, simpler packing.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb14c639eb4b8750dd03212b9315996b333d04c8
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 10:09:28 2022 -0400

    panfrost: Use common state emit for compute jobs
    
    This reduces the "specialness" of the Bifrost compute job emit path. It's not
    useful in its own right since we currently put compute jobs in their own batch.
    This could be optimized.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ad159aab2fc3874194636ec60bd7c846ba51d83
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 09:54:15 2022 -0400

    panfrost: Don't fix up alpha test on Bifrost
    
    Since 7d1d7cdf575 ("panfrost: Don't check alpha test in fs_required on
    Bifrost+"), we don't use the alpha testing state on Bifrost. So the fixup isn't
    needed either.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf02a1a5557d6f095896204d5284ec8d843ab064
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Apr 7 11:27:28 2022 -0400

    panfrost: Port uniform/UBO logic to Valhall
    
    Use Valhall descriptors, and report sizes so we can accurately inform the
    hardware of sizes.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7b35325533ed38f75a73bbce021068b5b2c6fd1
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Apr 7 11:26:30 2022 -0400

    panfrost: Add helper to emit UBOs
    
    Either as uniform remap table entries on Bifrost, or as simple buffer
    descriptors on Valhall. The underlying hardware is different (and there are
    compiler changes for load_ubo handling), but the high level UBO upload logic
    does not have to care about that.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfbce9c1d9acd0abb0e841110b717d06147f0c33
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 5 12:37:59 2022 -0400

    panfrost: Compile libpanfrost for v9
    
    Now that everything is ported.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af6071053b15d0e9f9d99d81dc51fecbd3e2c675
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Jan 13 17:42:15 2022 -0500

    panfrost: Don't allocate storage for PSIZ on Valhall
    
    It's implicit.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44689b222a77445bf77ab873a851725ebfbf606c
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 26 10:13:14 2022 -0400

    pan/blit: Support v9 data structures
    
    Now that everything is appropriately refactored, we can support Valhall's data
    structures in the blitter. Things look similar to Bifrost, but the RSD no longer
    exists.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec6de03487cc703a6157e3196b18ba39160df213
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 26 10:01:33 2022 -0400

    pan/blit: Prepare for Valhall port
    
    Valhall's data structures are organized differently. In particular, they don't
    use RSDs. So we need to reshuffle the blitter's data structures so we can map to
    Valhall.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbe95af5dd1f5bcdb36b51136dbceb0584f3d93a
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 26 10:06:02 2022 -0400

    pan/blit: Generalize texture alignment
    
    For Valhall compat.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7e8084af53eb52c0c6fd90f2631331275d3857a
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 26 10:02:15 2022 -0400

    pan/blit: Compile blit shaders without IDVS
    
    On Valhall, the fragment shader differs based on whether IDVS or the legacy
    geometry flow is used be. In particular, varyings are accessed differently.
    
    We use the legacy geometry flow for blitting on all GPUs, so indicate this in
    the shader inputs.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ee4852239f8f7ef2337dd361b28d4a5072060a1
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 19 10:15:01 2022 -0400

    panfrost: Add texture features enum to v9.xml
    
    Required to query texture features on Valhall. It's technically the same as
    previous Malis (except for narrow ASTC), but conceptually it's different as
    plane descriptors have superseded indexed pixel formats for block compressed
    textures.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>



More information about the mesa-commit mailing list