]> 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)
commit7a9862b83257eafbb0ab89675c5ef3a9a9e774b2
treee5a6282f87e08672b047943fb1578c47474305ba
parent461b4a8abd4928773a63c791618553b2527f65b2
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