From 38da65c44559a89b91eeed76c5f594bbe9a99760 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Tue, 6 Dec 2022 21:30:48 +0100 Subject: [PATCH] r600/sfn: scheduler allow more lookahead on ALU instr Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_scheduler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_scheduler.cpp b/src/gallium/drivers/r600/sfn/sfn_scheduler.cpp index f967bb1..c1dab8b 100644 --- a/src/gallium/drivers/r600/sfn/sfn_scheduler.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_scheduler.cpp @@ -806,8 +806,8 @@ BlockSheduler::collect_ready_alu_vec(std::list& ready, } int max_check = 0; - while (i != e && max_check++ < 32) { - if (ready.size() < 32 && (*i)->ready()) { + while (i != e && max_check++ < 64) { + if (ready.size() < 64 && (*i)->ready()) { int priority = 0; /* LDS fetches that use static offsets are usually ready ery fast, -- 2.7.4