drm/amdgpu: getting fan speed pwm for vega10 properly
authorYury Zhuravlev <stalkerg@gmail.com>
Sun, 18 Sep 2022 07:23:15 +0000 (16:23 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Sep 2022 16:39:49 +0000 (12:39 -0400)
commit16fb4dca95daa9d8e037201166a58de8284f4268
treeaa5780ddab4bb95eb0e12fffd6c109b2cce64ff8
parentd4423feeb7d316f1a31a5865a21b195940d4d7e9
drm/amdgpu: getting fan speed pwm for vega10 properly

Instead of using RPM speed, we will use a function from vega20 based on PWM registers.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Yury Zhuravlev <stalkerg@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_thermal.c