Mesa (master): panfrost: Adjust quirks for bifrost v6

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 29 08:56:12 UTC 2020


Module: Mesa
Branch: master
Commit: c420db1665bad14bf3542733a454564523284263
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c420db1665bad14bf3542733a454564523284263

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Wed Sep 23 11:05:31 2020 +0200

panfrost: Adjust quirks for bifrost v6

The G72, which is a bifrost v6, supports fast operations. The selection
should probably be done on a per-GPU basis instead of forcing this quirk
for all v6 GPUs.

Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6885>

---

 src/panfrost/bifrost/bi_quirks.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/panfrost/bifrost/bi_quirks.h b/src/panfrost/bifrost/bi_quirks.h
index 5ec8e021d83..06ee8c01add 100644
--- a/src/panfrost/bifrost/bi_quirks.h
+++ b/src/panfrost/bifrost/bi_quirks.h
@@ -45,8 +45,7 @@ bifrost_get_quirks(unsigned product_id)
 {
         switch (product_id >> 12) {
         case 6: /* 1st gen */
-                return BIFROST_NO_PRELOAD |
-                        BIFROST_NO_FAST_OP;
+                return BIFROST_NO_PRELOAD;
 
         case 7: /* 2nd gen */
         case 8: /* 3rd gen */



More information about the mesa-commit mailing list