r600/sb: give the scheduler more margin to find valid instructions groups
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 31 May 2018 23:20:54 +0000 (01:20 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 25 Jun 2018 04:40:19 +0000 (05:40 +0100)
commiteebb65258d15af2b2fc50d3b64b5d2eafbffcb47
treeca8cd29d9dab0748c5c9489a4f53efd2d7a97271
parentcd7db0ab0a871b34d6d07a1db9d3b8b4b8342b35
r600/sb: give the scheduler more margin to find valid instructions groups

For instruction sequences that change the address register with every load
the current limit to bail out of the scheduler and reject the optimisation
was too tight, i.e. it was expected that at least one pending instruction
would be scheduled each time.

Give the scheduler more margin to sort out these load sequences by allowing
a number of rounds where no instruction is scheduled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106163

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_sched.cpp