XE DEVICE SYSFS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ Xe device sysfs ✨

okay so this is the Xe device sysfs(9) page from the Kernel API Manual, and honestly? it's short but it eats πŸ’…

πŸ¦‹ the vibe (aka what this is)

bestie, the Xe driver needs to expose certain tunable knobs that user space gets to control β€” and it needs to do this for each graphics device. like, per-device. granularity matters, iykyk. πŸŽ€

so because of that, we add sysfs attributes at device level granularity. and where do these little icons live? they show up under the pci device kobj directory. that's the spot. that's their home. 🏠


🌸 the attributes, one by one

  • vram_d3cold_threshold β€” report or change the vram used threshold in MB, and it's the line below which vram save/restore is permissible while you're entering/exiting runtime D3cold. so like… cross it and no save/restore for you πŸ™ˆ
  • lb_fan_control_version β€” the fan control version that gets provisioned by late binding. it's only exposed if the device actually supports it, no cap. if your device doesn't have it, it's simply not there. πŸ’€
  • lb_voltage_regulator_version β€” the voltage regulator version, also provisioned by late binding. same deal: exposed only if the device supports it. 🫢
ngl the "exposed only if supported by the device" bit is doing a lot of work here β€” don't go looking for these two if your hardware isn't about it. ✨

πŸ‘€ SEE ALSO

  • Kernel file ./drivers/gpu/drm/xe/xe_device_sysfs.c
  • PCIe Gen5 Limitations(9)

that's the whole page, periodt. 🧚 source/version lives at ./drivers/gpu/drm/xe, dated October 2026 β€” catch you in the next one, mwah πŸ’–πŸ”₯

πŸ“¦ where this page comes from