mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
rsx: Avoid semaphore acquire deadlock
This commit is contained in:
parent
3d632a3774
commit
6362942928
9 changed files with 59 additions and 61 deletions
|
@ -513,7 +513,7 @@ namespace rsx
|
|||
}
|
||||
|
||||
//Execute backend-local tasks first
|
||||
do_local_task(performance_counters.state != FIFO_state::running);
|
||||
do_local_task(performance_counters.state);
|
||||
|
||||
//Update sub-units
|
||||
zcull_ctrl->update(this);
|
||||
|
@ -1290,9 +1290,9 @@ namespace rsx
|
|||
}
|
||||
}
|
||||
|
||||
void thread::do_local_task(bool /*idle*/)
|
||||
void thread::do_local_task(FIFO_state state)
|
||||
{
|
||||
if (!in_begin_end)
|
||||
if (!in_begin_end && state != FIFO_state::lock_wait)
|
||||
{
|
||||
if (!m_invalidated_memory_ranges.empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue