Skip to content

amd: TMZ fixes and cleanups

The current TMZ code has shortcomings and issues that this MR addresses partially:

  • dcc + tmz may cause hangs (fixed by the first commit)
  • all si_resource written by the GPU need to be duplicated because when used from a secure context they need to be allocated as TMZ. This MR refactors the code to support this and fix some of them but not all
  • the AMD_DEBUG=tmz meaning changes from "tmz is on/off" to "force allocate all color/depth/stencil buffer as tmz". TMZ submission will be enabled when required (= when the application submit works that depends on a application allocated TMZ buffer)

Merge request reports