]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f1875e056e53698fd883a75535de06b3e5a155c
treeaa5780ddab4bb95eb0e12fffd6c109b2cce64ff8
parenta51280b58299f852f230772f51656aa9456cc4a1
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