FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

i915: enable sysfs frequency control #157

Closed valpackett closed 5 years ago

valpackett commented 5 years ago

Accessible via sys.class.drm sysctls. Fixes #153.

Video demo: https://streamable.com/7x7l7 (most of the power consumption is from vaapi encoding the screencast)

This is a quick fix. Future work: rewrite sysfs_(create|remove)_files into base linuxkpi, add sysfs_(un)?merge_group and bin_attribute stuff to enable all other sysfs things (residency counters, l3 parity whatever that is)

johalun commented 5 years ago

Thanks! I will look into getting these functions added to linuxkpi.

johalun commented 5 years ago

Closing in favor of ab77a8746d799e999499b7c37066672658342af4