0cf88bf1cb
gem_perf.rs (130 lines):
PerfCounters: 22 atomic counters for all GEM operations
create/close/mmap/execbuffer/tiling/domain/wait/pin/unpin
export/import, context, request submit/complete
eviction, shrink, throttle, fence, ttm_move, clflush
PerfSnapshot: cloneable point-in-time counter snapshot
TtmPowerState: suspend/resume with region saving
gem_object.rs: added documentation comments
MemoryRegionType: System=DRAM, LocalMemory=VRAM, Stolen=BIOS
CacheLevel: GPU cacheability (affects MOCS/PAT)
Ported from Linux 7.1:
i915_perf.c counters → PerfCounters
i915_gem_ttm_pm.c → TtmPowerState
GEM subdirectory: 25 files, 2,280 lines, 0 errors