Commit 8d25116
drm/xe/hwmon: Expose GPU PCIe temperature
Expose GPU PCIe average temperature and its limits via hwmon sysfs entry
temp5_xxx.
Update Xe hwmon sysfs documentation for this.
v2: Update kernel version in Xe hwmon documentation. (Raag)
v3:
- Address review comments from Raag.
- Remove redundant debug log.
- Update kernel version in Xe hwmon documentation. (Raag)
v4:
- Address review comments from Raag.
- Group new temperature attributes with existing temperature attributes
as per channel index in Xe hwmon documentation.
- Use TEMP_MASK instead of TEMP_MASK_MAILBOX.
- Add PCIE_SENSOR_MASK which uses REG_FIELD_GET as replacement of
PCIE_SENSOR_SHIFT.
v5:
- Address review comments from Raag.
- Use REG_FIELD_GET to get PCIe temperature.
- Move PCIE_SENSOR_GROUP_ID and PCIE_SENSOR_MASK to xe_pcode_api.h
- Cosmetic change.
Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Link: https://patch.msgid.link/20260112203521.1014388-4-karthik.poosa@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>1 parent 3a0cb88 commit 8d25116
3 files changed
Lines changed: 58 additions & 0 deletions
File tree
- Documentation/ABI/testing
- drivers/gpu/drm/xe
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
192 | 216 | | |
193 | 217 | | |
194 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
712 | 713 | | |
713 | 714 | | |
714 | 715 | | |
| 716 | + | |
715 | 717 | | |
716 | 718 | | |
717 | 719 | | |
| |||
771 | 773 | | |
772 | 774 | | |
773 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
774 | 797 | | |
775 | 798 | | |
776 | 799 | | |
| |||
876 | 899 | | |
877 | 900 | | |
878 | 901 | | |
| 902 | + | |
879 | 903 | | |
880 | 904 | | |
881 | 905 | | |
| |||
887 | 911 | | |
888 | 912 | | |
889 | 913 | | |
| 914 | + | |
890 | 915 | | |
891 | 916 | | |
892 | 917 | | |
| |||
906 | 931 | | |
907 | 932 | | |
908 | 933 | | |
| 934 | + | |
909 | 935 | | |
910 | 936 | | |
911 | 937 | | |
| |||
933 | 959 | | |
934 | 960 | | |
935 | 961 | | |
| 962 | + | |
| 963 | + | |
936 | 964 | | |
937 | 965 | | |
938 | 966 | | |
939 | 967 | | |
940 | 968 | | |
941 | 969 | | |
942 | 970 | | |
| 971 | + | |
943 | 972 | | |
944 | 973 | | |
945 | 974 | | |
| |||
952 | 981 | | |
953 | 982 | | |
954 | 983 | | |
| 984 | + | |
955 | 985 | | |
956 | 986 | | |
957 | 987 | | |
| |||
1331 | 1361 | | |
1332 | 1362 | | |
1333 | 1363 | | |
| 1364 | + | |
| 1365 | + | |
1334 | 1366 | | |
1335 | 1367 | | |
1336 | 1368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments