Add Support for the Intel Xe driver & HWMON power values #303
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, this PR adds basic support for Intel's new Xe driver, it doesn't support GPU utilisation (the fdinfo is different) but all other features that were working for i915 now work for Xe (on an A770).
The added power fields from the HWMON patch were also implemented, but only
power1_max
is present on both i915 and Xe. Temperature, fans, etc. were never implemented by Intel in the HWMON patch.Also, the memory clock speed attributes (
mem_cur_freq_mhz
&mem_max_freq_mhz
) don't seem to exist (in either drivers), should they be removed?Thanks,
Steve