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

vk: Enable use of a passthrough DMA layer if supported #9613

Merged
merged 14 commits into from Jan 24, 2021

Commits on Jan 23, 2021

  1. rsx/vk: DMA stuff

    kd-11 committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    644aeaa View commit details
    Browse the repository at this point in the history
  2. vk/dma: Disable memory inheritance

    - It is not possible to emulate passthrough memory cleanly, and we don't need to
      A stupid race condition appears when trying to synchronize DMA blocks with memory inheritance.
      Since the usage pattern is to acquire a range and then load or write+flush, this new data is going to be..
      overwritten by the commandbuffer execution sequence later. Acquiring a scratch buffer to hold CPU content during the transition is not worth the effort..
      as the data will be destroyed anyway during the transfer process immediately afterwards.
    
      Fixes data corruption when moving data around using the emulated DMA passthrough
    kd-11 committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    d851ee3 View commit details
    Browse the repository at this point in the history
  3. vk/rsx: Fix some more bugs

    kd-11 committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    8d67a1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0476260 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2021

  1. win32: Be a bit more optimistic with allocated ranges; we get contigu…

    …ous ranges more often than not
    kd-11 committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    ba90322 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa4cfd5 View commit details
    Browse the repository at this point in the history
  3. vk: Polishing and cleanup

    Some spec violations fixes
    Make the option dynamic
    kd-11 committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    f56cee2 View commit details
    Browse the repository at this point in the history
  4. vk: Fix custom event signals

    kd-11 committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    0d05801 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba56be9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fdfc7bc View commit details
    Browse the repository at this point in the history
  7. vk/dma: Fix multiple logical bugs

    - Fix range chaining.
    - Add validation checks that no overlaps exist.
    kd-11 committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    d0ffc33 View commit details
    Browse the repository at this point in the history
  8. gl: Avoid type shenanigans used to fake byteswap for select formats

    - Just use the reversed type instead.
      The new uploader backend combines swizzle+swap so there is no need for tricks anymore
    kd-11 committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    3223786 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    38eefdb View commit details
    Browse the repository at this point in the history
  10. vk/dma: Disable pasthrough DMA for NVIDIA+windows

    - The driver seems to cache page mapping as long as allocation has not been removed
    - This is undesirable as we cannot stop the emulator to remove stale allocations every time a page is unmapped
    kd-11 committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    8eb9382 View commit details
    Browse the repository at this point in the history