Mesa (main): aco: make flat access latency match mtbuf/mubuf/mimg

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 8 15:29:36 UTC 2022


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

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu May 19 16:56:56 2022 +0100

aco: make flat access latency match mtbuf/mubuf/mimg

Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17079>

---

 src/amd/compiler/aco_statistics.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/amd/compiler/aco_statistics.cpp b/src/amd/compiler/aco_statistics.cpp
index 9dd5aeb98ce..6d5e2267eca 100644
--- a/src/amd/compiler/aco_statistics.cpp
+++ b/src/amd/compiler/aco_statistics.cpp
@@ -221,9 +221,9 @@ get_wait_counter_info(aco_ptr<Instruction>& instr)
    if (instr->isFlatLike()) {
       unsigned lgkm = instr->isFlat() ? 20 : 0;
       if (!instr->definitions.empty())
-         return wait_counter_info(230, 0, lgkm, 0);
+         return wait_counter_info(320, 0, lgkm, 0);
       else
-         return wait_counter_info(0, 0, lgkm, 230);
+         return wait_counter_info(0, 0, lgkm, 320);
    }
 
    if (instr->isSMEM()) {



More information about the mesa-commit mailing list