Mesa (master): 22 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 25 16:26:51 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae27d7faae490ab7680fb059071d667d7261dca6
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Sat Nov 21 16:03:32 2020 +0100

    panfrost: Fix stride calculation for Z32_S8X24/X32_S8X24 formats
    
    Z32_S8X24 variants are actually stored in 2 planes (one per component),
    we have to adjust the bytes_per_pixel value accordingly.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00360cd5c85e0b5c52821f2ba6d1bd6964215efd
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Sat Nov 21 15:58:41 2020 +0100

    panfrost: Calculate the row stride at resource creation time
    
    So we don't have to calculate it again when we create a texture or
    framebuffer descriptor.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=690232c90fab42e934e297c097c6f84dd3c3d762
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Sat Nov 21 15:52:28 2020 +0100

    panfrost: Fix panfrost_needs_explicit_stride() for block-based formats
    
    The expected stride calculation does not take the block width into
    account, thus creating an expected line stride that's bigger than
    required. Fix that by dividing the width by the block width.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=543ad77e6fbd53420f302c40c3de8ad15bae32c7
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Sat Nov 21 15:44:10 2020 +0100

    panfrost: Expose panfrost_block_dim()
    
    So we can use it from pan_resource.c to retrieve the tile size based on
    a modifier.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d0cd48fab57cbc54d9fbcb829dec09faec91d3a
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 09:32:40 2020 +0100

    panfrost: Enable MSAA on bifrost when deqp debug option is set
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc93eb72813917c26ffaa50ce425997c2c08f01e
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Thu Nov 19 10:12:53 2020 +0100

    panfrost: Unconditionally align strides on 64 bytes for linear resources
    
    If we don't do that we end up with DATA_INVALID faults when accessing
    3D textures on Bifrost.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=402cabf1ef4db655239768a5159ac3178dbadf10
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Thu Nov 19 10:38:09 2020 +0100

    panfrost: Set the layer stride
    
    Needed for 3D textures.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=176ce2b9528a6625575e54bedc517a4634c7673d
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Thu Nov 19 10:35:55 2020 +0100

    panfrost: Add two helpers to calculate the surface pointer and strides
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84c4b232ea0d64e63454591922d68bb7d58513e3
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Thu Nov 19 10:14:42 2020 +0100

    panfrost: Clarify bit 2:28 meaning in the Midgard texture descriptor
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74165b3a46f66e51a82da47cf269b371f0b86b9d
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Wed Nov 18 15:22:59 2020 +0100

    panfrost: Add a minus(1) modifier to the Levels field
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a612c05b57f41dda4ed957bd1fca356abd75bc19
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 12:14:02 2020 +0100

    panfrost: Increase blit shader BO size on Bifrost
    
    Otherwise we hit 'offset + program->compiled.size < total_size' assert.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f643bbcc8793eaed9098c8b50de87e80c302596
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 17:27:40 2020 +0100

    pan/bi: LOD is a 8.8 fixed point
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3949e8ba19f70f6e3bbe5453c0f4d8f3f579aca8
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 11:25:41 2020 +0100

    pan/bi: Always emit a LOD/CUBE word for FETCH instructions
    
    There's no flag/mode to reflect when a LOD is zero on FETCH instructions,
    we have to emit the LOD/CUBE word unconditionally.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8040b797a821af9b91e1dd6014e596e6f8d9e1a2
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 11:23:35 2020 +0100

    pan/bi: Only update LOD mode on TEX operations
    
    If we don't add this check we clobber fetch mode when a 0 LOD is
    specified on a txf instruction.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=864f4e2b15ebd80856b5d10db79ca28f6451d686
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 11:20:35 2020 +0100

    panfrost: Set sample_count when packing bifrost texture descriptors
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e3d2a7d9be29cc2d949d65198533ae9b4e3d398
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 19:09:26 2020 +0100

    panfrost: Set depth for 3D textures on Bifrost
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05880bc28510dcd829fae293c605823f07077af2
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 19:18:42 2020 +0100

    panfrost: Fix decoding of texture payloads
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ba5a710b0615ccf289b263450f4c40eca003a6c
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 11:19:43 2020 +0100

    panfrost: Get rid of the Sample Count enum
    
    Sample count just needs a log2 modifier. While at it, rename the
    "Multisample count" field "Sample count" to be consistent with
    other descriptors.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de0b88223b0bdd8bac2d77f419499e1b6a6c41a2
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 20:44:52 2020 +0100

    panfrost: Stop forcing depth to nr_samples
    
    Those are two different things, and the fact that Midgard use the same
    offset in the texture descriptor for both things is just an
    implementation detail.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb69d3bf4ef480f841cc08a7132366ceacda8284
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Nov 9 14:31:01 2020 -0500

    panfrost: Fix RAW8/16/32 component replication
    
    Fixes dEQP-GLES3.functional.fbo.msaa.4_samples.r32f
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76a428d03b557b5b0467417825f8f565bd1058e0
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Nov 9 14:43:36 2020 -0500

    panfrost: Account for sample count in tib offsets
    
    I don't know if we have tests for MRT + MSAA but that would hit this.
    
    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a767f0e41f21713771663a49d2ada0bee9eb2d
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Nov 17 12:12:08 2020 +0100

    nir: Fix LOD source type for txf_ms instructions
    
    txf_ms takes an integer LOD, not a float.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>



More information about the mesa-commit mailing list