freedreno/ir3: don't hide latency when there is none to hide
authorRob Clark <robdclark@chromium.org>
Mon, 24 Feb 2020 22:16:15 +0000 (14:16 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 16:53:41 +0000 (16:53 +0000)
commit4353b3c1c5ae3927ad7e99b72cdf1ce63023493d
treee6bbcde8324f926d5379bbeffdcef5c429dd3dc3
parent9d2aaa589cf1c4fc8599f26a033aeeabb595f134
freedreno/ir3: don't hide latency when there is none to hide

Current scheduler thresholds try to ensure there are warps available to
switch to when hiding texture fetch latency.  But if there is none to
hide, we should allow scheduler to use more registers to reduce nops.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>
src/freedreno/ir3/ir3_sched.c