drm/amd/powerplay: add callback function of get_thermal_temperature_range
1. the thermal temperature is asic related data, move the code logic to xxx_ppt.c. 2. replace data structure PP_TemperatureRange with smu_temperature_range. 3. change temperature uint from temp*1000 to temp (temperature uint). Signed-off-by:Kevin Wang <kevin1.wang@amd.com> Signed-off-by:
Kenneth Feng <kenneth.feng@amd.com> Acked-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 0 additions, 1 deletiondrivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
- drivers/gpu/drm/amd/powerplay/navi10_ppt.c 17 additions, 0 deletionsdrivers/gpu/drm/amd/powerplay/navi10_ppt.c
- drivers/gpu/drm/amd/powerplay/smu_v11_0.c 12 additions, 6 deletionsdrivers/gpu/drm/amd/powerplay/smu_v11_0.c
- drivers/gpu/drm/amd/powerplay/vega20_ppt.c 11 additions, 23 deletionsdrivers/gpu/drm/amd/powerplay/vega20_ppt.c
Loading
Please register or sign in to comment