Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFC: Fix barrier type transfers #4870

Merged
merged 1 commit into from
Jul 10, 2018
Merged

MFC: Fix barrier type transfers #4870

merged 1 commit into from
Jul 10, 2018

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Jul 10, 2018

this add a missing check for barrier type transfers when processing the command queue, making these commands wait until the previously issued commands from the same tag group complete.

testcase

@Nekotekina
Copy link
Member

You imply that stalled list without barrier blocks a command with a barrier which is issued later on the same tag? It doesn't seem to work this way.

@@ -935,6 +935,11 @@ bool SPUThread::do_dma_check(const spu_mfc_cmd& args)
return true;
}

if (args.cmd & MFC_BARRIER_MASK)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not required

Copy link
Contributor Author

@elad335 elad335 Jul 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's for blocking further commands until the barrier command is dealt with.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's set after do_dma_check call

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right

@Nekotekina Nekotekina merged commit a5d4e58 into RPCS3:master Jul 10, 2018
@elad335 elad335 deleted the barrier branch July 10, 2018 11:03
@elad335 elad335 changed the title fix barrier type mfc transfers MFC: Fix barrier type transfers Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants