drm/amd/powerplay: do the comparison in the right Khz granularity
authorEvan Quan <evan.quan@amd.com>
Thu, 1 Nov 2018 06:55:08 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 20:49:37 +0000 (15:49 -0500)
commit3a10f6e8aa14f3f512e59da04397e002d2810111
tree11a2d593ec00b80d067f02f5178f3e0e083e8f1e
parent34955e038a1b313b0f19eeacfb0e22aa6877e11d
drm/amd/powerplay: do the comparison in the right Khz granularity

Convert the operands on the two sides into the same granularity.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c