drm/amd/powerplay: Use defined constants for minium engine clock
authorNils Wallménius <nils.wallmenius@gmail.com>
Thu, 5 May 2016 07:07:45 +0000 (09:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 16:31:22 +0000 (12:31 -0400)
commit859b8b6a27eb6f22d082282f5fd234d6323f849d
tree3b9bdbe88860b0a84c8eed58d6259ca36689f1a7
parentf9fbac64ebb0306d2b88479325aaa4e61f359cb6
drm/amd/powerplay: Use defined constants for minium engine clock

Replacing magic numbers in calculation of sleep divider id for fiji
and polaris.

Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c