diff options
author | Rob Clark <[email protected]> | 2015-03-11 13:21:42 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-03-15 13:26:56 -0400 |
commit | feb858b788cf27b31d12ad8a00805f015d4063cc (patch) | |
tree | 21ed3fc6af3ea88167ebc34644ad4126f765f76f /src/gallium/drivers/freedreno/freedreno_util.h | |
parent | 7208e96bb810a7a6c92fd11bb7f4df8c9b7f1a2d (diff) |
freedreno/ir3: avoid scheduler deadlock
Deadlock can occur if we schedule an address register write, yet some
instructions which depend on that address register value also depend on
other unscheduled instructions that depend on a different address
register value. To solve this, before scheduling an address register
write, ensure that all the other dependencies of the instructions which
consume this address register are already scheduled.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_util.h')
0 files changed, 0 insertions, 0 deletions