rsx: Avoid semaphore acquire deadlock

This commit is contained in:
kd-11 2018-05-29 14:53:16 +03:00 committed by kd-11
parent 3d632a3774
commit 6362942928
9 changed files with 59 additions and 61 deletions

View file

@ -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())
{