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

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17079>
This commit is contained in:
Rhys Perry 2022-05-19 16:56:56 +01:00 committed by Marge Bot
parent 5b683ba19a
commit 08ed6ebc55

View file

@ -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()) {