aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2023-10-09 19:05:34 +0000
committerRafael J. Wysocki <[email protected]>2023-10-12 19:09:48 +0000
commit6ebc25d8b053a208786295bab58abbb66b39c318 (patch)
tree49fb01781e5c09f963a812642872479bcd2ff51d /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentthermal: int340x: processor_thermal: Common function to clear SOC interrupt (diff)
downloadkernel-6ebc25d8b053a208786295bab58abbb66b39c318.tar.gz
kernel-6ebc25d8b053a208786295bab58abbb66b39c318.zip
thermal: int340x: processor_thermal: Set feature mask before proc_thermal_add
The function proc_thermal_add() adds sysfs entries for power limits. The feature mask of available features is not present at that time, so it cannot be used by proc_thermal_add() to selectively create sysfs attributes. The feature mask is set by proc_thermal_mmio_add(), so modify the code to call it before proc_thermal_add() so as to allow the latter to use the feature mask. There is no functional impact with this change. Signed-off-by: Srinivas Pandruvada <[email protected]> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions