Mesa (main): Revert "panfrost: Fix crc_valid condition"

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 6 15:18:57 UTC 2021


Module: Mesa
Branch: main
Commit: 0b2c79092c62f03e5e8e8ba141059a0b3a242e2a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b2c79092c62f03e5e8e8ba141059a0b3a242e2a

Author: Icecream95 <ixn at disroot.org>
Date:   Thu Jun 17 23:26:28 2021 +1200

Revert "panfrost: Fix crc_valid condition"

This "fix" is no longer needed now we write CRC data correctly for
partial writes.

This reverts commit a78487f795e81c8fc27c2d1054f58dd35eda8c3a.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11446>

---

 src/panfrost/lib/pan_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/lib/pan_cs.c b/src/panfrost/lib/pan_cs.c
index 64c14a7f528..f5f42a9f85e 100644
--- a/src/panfrost/lib/pan_cs.c
+++ b/src/panfrost/lib/pan_cs.c
@@ -731,7 +731,7 @@ pan_emit_mfbd(const struct panfrost_device *dev,
                          * valid for next time. */
                         cfg.crc_write_enable = *valid || full;
 
-                        *valid = full;
+                        *valid |= full;
                 }
         }
 



More information about the mesa-commit mailing list