URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17429b8ad4779872557691038e6a737fb72f8753
Author: Boris Brezillon <[email protected]>
Date:   Tue Apr 13 12:54:44 2021 +0200

    panfrost: Pass a tile enable map to avoid reloading untouched tiles
    
    We only do that when there are more than one damage rectangle and the
    number of tiles to reload is significantly lower than the total number
    of tiles covered by the damage extent, otherwise the overhead of the
    TEM read might defeat the optimization that we might get from using one.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=988b0d28637e6d0271ae0ee48b7b3c81ee21d777
Author: Boris Brezillon <[email protected]>
Date:   Tue Apr 13 12:51:48 2021 +0200

    panfrost: Kill the old tile-buffer preload logic
    
    Now that the gallium driver uses the pan_preload() helpers we can get
    rid of the code in pan_blit.c and all its dependencies.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff3eada7eb4e4df0abe93ee76b77101f9d24e72c
Author: Boris Brezillon <[email protected]>
Date:   Wed Mar 31 09:59:25 2021 +0200

    panfrost: Use the generic preload and FB helpers in the gallium driver
    
    We also rework the code to have the FB descriptor shared by the tiler
    and fragment jobs, instead of allocating a separate FB descriptor for
    tiler jobs.
    
    The new implementation seems to fix a few dEQP failures on T720.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7008a6d7bc8d894be9c51269418bc0a4d52920b
Author: Boris Brezillon <[email protected]>
Date:   Tue Apr 13 12:24:17 2021 +0200

    panfrost: Fix partial update
    
    The KHR_partial_update spec says:
    
    "
    If EGL_EXT_buffer_age is supported, the contents of the buffer inside
    the damage region may also be relied upon to contain the same content
    as the last time they were defined for the current back buffer.
    "
    
    but we currently assume that everything inside the damage region will
    be overwritten by new data and that the previous content doesn't need
    to be reloaded.
    
    Let's get rid of the damage rect inversion logic for now and reload
    everything inside the damage extent. We will optimize things further
    down the line, using pre-frame DCDs on Bifrost, and a tile enable map
    on Midgard.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ba2f9f698584d20830ef31bbc2fb8a6635c8314
Author: Boris Brezillon <[email protected]>
Date:   Tue Apr 13 12:16:41 2021 +0200

    panfrost: Create a blitter library to replace the existing preload helpers
    
    pan_blitter.c is meant to replace the pan_blit.c which currently
    provides helpers to preload the tile buffer. Some changes
    are worth mentioning:
    
    - we use pre-frame DCDs on Bifrost (Midgard still uses a tiler job
      to preload the tile buffer)
    - the blit shaders are now stored in a hash table and created lazily
    - we now cache blend shader binaries and blit RSDs too
    
    This library will soon be extended to cover regular blits.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a11807b795ac8ea7bff335e0a2e5d12d591f7599
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 16:00:26 2021 +0200

    panfrost: Always pass a non-NULL screen to set_damage_region()
    
    We will soon have a different handling for Bifrost, and we need to know
    which GPU we're targeting to choose the right path.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5d6abae5beccf6218675237da4c9f189aed7553
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:39:10 2021 +0200

    panfrost: Extend pan_fb_info to allow passing pre/post frame DCDs
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c52c3e2424df91f66107340ace990f88b5b34dba
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:38:12 2021 +0200

    panfrost: Extend pan_fb_info to allow passing a tile enable map
    
    We will use this tile enable map to implement KHR_partial_update and
    replace the current solution where the preload process is done by
    inverting damage regions, merging the resulting inverted regions and
    issuing preloading draws for those rectangles.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=96b71a59c0ae6e3fb336608a10b1c27de11db922
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:31:16 2021 +0200

    panfrost: Decode pre/post frame DCDs
    
    Bifrost FB descritptors can be attached 3 DCDs describing pre/post frame
    operations (pre frames DCDs can be used to preload the tile buffers).
    Decode them when mode != NEVER.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f1bbced3c09d74b002c39349ac795d9b2ae9746
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:27:53 2021 +0200

    panfrost: s/pandecode_vertex_tiler_postfix_pre/pandecode_dcd/
    
    We will soon use this function to decode pre/post frame DCDs which are
    not part of a job descriptor.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d7a5a6b75eec4b55e885bd8d87935a09ac444a4
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:23:11 2021 +0200

    panfrost: Add the early ZS pre frame mode
    
    We will use that one when preloading ZS buffers.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bacd9df8dec054bd257a63dc3e57a13219d0647e
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:22:12 2021 +0200

    panfrost: Add align info to the draw and draw padding definitions
    
    Needed if we want to allocate pre/post frame draw descriptors.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=25f948d4d9910f9400af36abe2ffe0c7aec90cb4
Author: Boris Brezillon <[email protected]>
Date:   Wed Apr 7 15:34:22 2021 +0200

    panfrost: Add an helper to emit fragment jobs
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=387f8c037d382877cc1379a7fb4524907bc4c088
Author: Boris Brezillon <[email protected]>
Date:   Wed Mar 31 09:56:19 2021 +0200

    panfrost: Add various helpers to simplify FB desc emission
    
    Now that image and image views are gallium-agnostic and contain enough
    information, we can provide generic helpers to emit FB descriptors and
    their dependencies, thread storage and tiler descriptors.
    
    This helpers will be re-used in the Vulkan driver.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fc7c1f97158d897705b675471159be6778e4ade
Author: Boris Brezillon <[email protected]>
Date:   Fri Apr 2 15:06:52 2021 +0200

    pan/midg: Use the sampler index passed to the texture instruction
    
    Sampler index and texture index can differ.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=477c67d79e068cce99aabaccb4f99253f7f2bd93
Author: Boris Brezillon <[email protected]>
Date:   Wed Mar 31 09:52:29 2021 +0200

    panfrost: Pass a const device to panfrost_sample_positions()
    
    This function doesn't modify the dev object, we can constify this
    argument.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e23cbac70e458472a1a1fa25edc98996bce0f98c
Author: Boris Brezillon <[email protected]>
Date:   Wed Mar 31 09:50:41 2021 +0200

    panfrost: Provide a helper to retrieve image surface pointers
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af34e29f15d6f473cf9b62415e04d0c85fda3478
Author: Boris Brezillon <[email protected]>
Date:   Wed Mar 31 09:49:00 2021 +0200

    panfrost: Provide a helper to calculate the polygon list size
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5d7c419e783fce3a437045e49b1b4d6e2e0fef4
Author: Boris Brezillon <[email protected]>
Date:   Fri Mar 26 16:24:47 2021 +0100

    panfrost: Pass an image view to panfrost_new_texture()
    
    pan_image_view contains everything we need to emit a texture
    descriptor. Pass this object instead of the dozen of arguments
    we have now.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d0ad7fd2e1c56a1771e253086a5d4862d54e358
Author: Boris Brezillon <[email protected]>
Date:   Fri Mar 26 11:14:28 2021 +0100

    panfrost: Patch the gallium driver to use pan_image_layout_init()
    
    Now that we have a generic implementation, we can use it and get rid
    of panfrost_setup_layout().
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=051d62cf041054bf0fdbd0ae5d2160d1b02e0203
Author: Boris Brezillon <[email protected]>
Date:   Fri Mar 26 11:13:05 2021 +0100

    panfrost: Add a pan_image_layout_init() helper
    
    We will need it for Vulkan.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1d4df1cd72d8f0d15c19633572c44ff39e23559
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 18:50:20 2021 +0100

    panfrost: Move special Z32_S8X24 case out of panfrost_setup_layout()
    
    We are about to move the panfrost_setup_layout() logic out of the
    gallium driver, and the Z32_S8X24 split is not mandatory (some GPU
    support this format natively). Let's move this special case out of
    panfrost_setup_layout() and patch the format of the first plane
    instead.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=50f39908aa876d43b9ca2748d62dfdecc3cff583
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 18:35:52 2021 +0100

    panfrost: Move out-of-band CRC info to pan_image
    
    We already have the data BO stored there, let's move the out-of-band
    CRC BO too. We also add a CRC mode to pan_image_layout so we can easily
    know where the CRC resides.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c7e8a16929344eb099012f13e5be2ee05a23d17
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 18:12:12 2021 +0100

    panfrost: Add an offset field so we can attach a sub-buffer to an image
    
    Needed for Vulkan.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bd70ea6eac2d339cdb3602e7512e39123165ed8
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 17:33:47 2021 +0100

    panfrost: Split pan_image in two
    
    Move the image view bit out of pan_image and create a separate
    pan_image_view struct. Once this is done we can embed a pan_image
    object in panfrost_resource which will be referenced by the image
    view that we pass to panfrost_load_{midgard,bifrost}().
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfe9bca9120583a01ddec1b028028bb4cdc0dc1c
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 16:31:19 2021 +0100

    panfrost: Add extra info to the pan_image_layout struct
    
    This means duplicating some of the bits we already have in the
    pipe_resource object embedded in panfrost_resource, but if will also
    allow us to move some code out of the gallium driver without requiring
    copy those fields every time we call a generic helper.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=efcb1e494b77cebeb58bf9590a7030c8fd08d130
Author: Boris Brezillon <[email protected]>
Date:   Fri Mar 26 19:12:39 2021 +0100

    panfrost: Stop passing a depth > 1 when creating 2D textures
    
    The depth field is ignored if dim != 3D, but it's a bit confusing.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d7c244c075980cf0d46bf8bff1cfb5488588cab
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 16:28:03 2021 +0100

    panfrost: Add a format field to pan_image_layout
    
    We will need this information at the layout level if we want to move
    some of the code out of the gallium driver and share it with the
    Vulkan driver. Let's get rid of panfrost_resource.internal_format which
    basically encodes the same thing.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f8cebee09cc80fa83387d03bd2084af8b0f0b95
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 15:17:08 2021 +0100

    panfrost: Move image states out of pan_image_layout
    
    The layout is supposed to encode image miplevels/surfaces layout, not
    the state data stored in the buffers. It doesn't matter for a gallium
    driver, since resources are expected to hold both a layout and a state,
    but Vulkan is a bit different. In Vulkan, the image state is explicitly
    passed by the user when starting a render pass (vkCmdBeginRenderPass()),
    and might evolve depending on the operation done in this render pass.
    This state is not effective until the command buffer is queued and
    executed. For these reasons, keeping the image state attached to the
    VkImage object is not an option, but we'd still like to re-use the
    layout and state objects, and all common helpers acting on those objects.
    
    Let's move the state bits out of the layout to make that possible.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b00b6a727c2d459042f35b090d4ea80aef3566d4
Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 25 14:19:37 2021 +0100

    panfrost: s/panfrost_slice/pan_image_slice_layout/
    
    We are about to move slice states out of the panfrost_slice object,
    but before we do that, let's rename the existing struct to reflect what
    this object refers to.
    
    Signed-off-by: Boris Brezillon <[email protected]>
    Reviewed-by: Alyssa Rosenzweig <[email protected]>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to