]> git.ipfire.org Git - thirdparty/linux.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)
commited515ce2748007385347d70ec2779d6aef2cf5f0
treee5a6282f87e08672b047943fb1578c47474305ba
parent3f2e6bf89cab5f7c84dafc62f478874fdc08d161
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