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

sys_rsx: Minor atomicity fixes #7978

Merged
merged 2 commits into from Apr 7, 2020
Merged

sys_rsx: Minor atomicity fixes #7978

merged 2 commits into from Apr 7, 2020

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Apr 7, 2020

  • Write FIFO get+put atomically in FIFO start command.
  • Reset and set flip flip flags atomically, the gcm methods neither use a lock so it's a expected that sys_rsx will handle synchronization.
  • Always wait for sys_rsx events to be sent, EBUSY is not a success error code! (EBUSY means the event queue is full by the time of sending the event)
  • Optimize vblank events by squashing it into one event instead of two.
  • Send events only if they are masked by gcm.

@elad335 elad335 force-pushed the vm-test branch 7 times, most recently from 1c12828 to fb0d20a Compare April 7, 2020 15:33
In realhw the events are only sent if they are masked in driver_info->handlers as well.
@elad335 elad335 requested a review from kd-11 April 7, 2020 16:39
@kd-11 kd-11 merged commit f7536bb into RPCS3:master Apr 7, 2020
elad335 added a commit to elad335/rpcs3 that referenced this pull request Apr 8, 2020
kd-11 pushed a commit that referenced this pull request Apr 8, 2020
fengjixuchui added a commit to fengjixuchui/rpcs3 that referenced this pull request Apr 8, 2020
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