summaryrefslogtreecommitdiffstats
path: root/src/util/u_atomic_test.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-03-11 13:21:42 -0400
committerRob Clark <[email protected]>2015-03-15 13:26:56 -0400
commitfeb858b788cf27b31d12ad8a00805f015d4063cc (patch)
tree21ed3fc6af3ea88167ebc34644ad4126f765f76f /src/util/u_atomic_test.c
parent7208e96bb810a7a6c92fd11bb7f4df8c9b7f1a2d (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/util/u_atomic_test.c')
0 files changed, 0 insertions, 0 deletions