Skip to content

etnaviv: move resource age and TS status tracking to etna_resource_level and share in TS metadata

Lucas Stach requested to merge lynxeye/mesa:etnaviv-seqno-resource-level into main

This is a large rework on how we track the resource age. It makes the tracking more fine-grained by moving all the tracking information into etna_resource_level, which unlocks some optimizations. It also makes the sharing of the age and TS status information via the TS metadata more natural, as exported/imported buffer only share a single level. Sharing of this tracking information is required when TS is shared, as all the attached importers can now cause flushes and TS invalidations.

Currently this MR includes the patches from !19814 (merged) as a base.

Marking as draft until I had a chance to run it through piglit on a number of relevant platforms. Currently tested to not cause regressions on:

  • GC2000 r5108
  • GC3000 r5450
  • GC7000 r6204
  • GC7000 r6214
Edited by Lucas Stach

Merge request reports