]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: convert the sclk/mclk into Mhz for comparation
authorEvan Quan <evan.quan@amd.com>
Tue, 10 Jul 2018 03:35:16 +0000 (11:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:45:16 +0000 (14:45 -0500)
commit82a82d8bac1f43a7c102137dbe0fc504ba1dbe2f
treee5a6282f87e08672b047943fb1578c47474305ba
parent194139e200f338f5de52b97eacf2a60e01db6bf5
drm/amd/powerplay: convert the sclk/mclk into Mhz for comparation

Convert the clocks into right Mhz unit. Otherwise, it will miss
the equal situation.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c