Files
RedBear-OS/local
vasilito fc63a47c05 intel: GEM final phases — init, busy tracking, shrinker, throttle, VMA resources
gem_init.rs (200 lines):
  GemInitManager: top-level GEM initialization
    System/LMEM/Stolen region management
    object_manager + vma_manager as Arcs for shared access
  BusyTracker: per-handle engine busy state with event history
    mark_busy/idle, engine_mask, submission count
  ShrinkerWithEviction: LRU-based eviction under memory pressure
    Last-used timestamp ordering, pinned object protection
    try_shrink() with target-based eviction
  VmaResourceManager: VMA resource lifecycle tracking
    track/release with released state
  RingThrottle: per-ring submission limits with global cap
    submit/retire with fence-based completion

Ported from Linux 7.1:
  i915_gem.c → GemInitManager
  i915_gem_busy.c → BusyTracker
  i915_gem_shrinker.c → ShrinkerWithEviction
  i915_vma_resource.c → VmaResourceManager
  i915_gem_throttle.c → RingThrottle

GEM subdirectory: 18 files, 1,510 lines, 0 errors — complete port
2026-06-02 09:28:26 +03:00
..