pan/bi: Disable FMA scheduling for CONVERT
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 14 Apr 2020 00:03:48 +0000 (20:03 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 17 Apr 2020 20:25:34 +0000 (16:25 -0400)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4615>

src/panfrost/bifrost/bi_tables.c

index 349521b4b4d0d63f1effead25abc4a64a1c3949e..81511a9a14715ab9186272236087529db33467cc 100644 (file)
@@ -34,7 +34,7 @@ unsigned bi_class_props[BI_NUM_CLASSES] = {
         [BI_BLEND]             = BI_SCHED_HI_LATENCY | BI_SCHED_ADD | BI_VECTOR | BI_DATA_REG_SRC,
         [BI_BITWISE]           = BI_GENERIC | BI_SCHED_ALL,
         [BI_COMBINE]           = 0,
-        [BI_CONVERT]           = BI_SCHED_ALL | BI_SWIZZLABLE | BI_ROUNDMODE,
+        [BI_CONVERT]           = BI_SCHED_ADD | BI_SWIZZLABLE | BI_ROUNDMODE, /* +FMA on G71 */
         [BI_CSEL]              = BI_SCHED_FMA,
         [BI_DISCARD]           = BI_SCHED_HI_LATENCY | BI_SCHED_ADD,
         [BI_FMA]               = BI_ROUNDMODE | BI_SCHED_FMA | BI_MODS,