Mesa (master): pan/bi: Set BI_MODS for MINMAX

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 6 19:59:01 UTC 2020


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

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Apr  6 14:06:43 2020 -0400

pan/bi: Set BI_MODS for MINMAX

We support it.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4470>

---

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

diff --git a/src/panfrost/bifrost/bi_tables.c b/src/panfrost/bifrost/bi_tables.c
index d79fae26a06..076874d1875 100644
--- a/src/panfrost/bifrost/bi_tables.c
+++ b/src/panfrost/bifrost/bi_tables.c
@@ -45,7 +45,7 @@ unsigned bi_class_props[BI_NUM_CLASSES] = {
         [BI_LOAD_ATTR] 		= BI_SCHED_HI_LATENCY | BI_SCHED_ADD | BI_VECTOR | BI_DATA_REG_DEST,
         [BI_LOAD_VAR] 		= BI_SCHED_HI_LATENCY | BI_SCHED_ADD | BI_VECTOR | BI_DATA_REG_DEST,
         [BI_LOAD_VAR_ADDRESS] 	= BI_SCHED_HI_LATENCY | BI_SCHED_ADD | BI_DATA_REG_DEST,
-        [BI_MINMAX] 		= BI_GENERIC | BI_SCHED_ALL | BI_NO_ABS_ABS_FP16_FMA,
+        [BI_MINMAX] 		= BI_GENERIC | BI_SCHED_ALL | BI_NO_ABS_ABS_FP16_FMA | BI_MODS,
         [BI_MOV] 		= BI_SCHED_ALL,
         [BI_FMOV]               = BI_MODS | BI_SCHED_ALL,
         [BI_SHIFT] 		= BI_SCHED_ALL,



More information about the mesa-commit mailing list