drm/amd/powerplay: Tidy up cz_dpm_powerup_uvd()
authorTom St Denis <tom.stdenis@amd.com>
Mon, 16 Oct 2017 17:28:24 +0000 (13:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:13 +0000 (15:27 -0400)
commit5936470456c51a2d32d8e8ee756dc9a8c2eb1be9
tree97e16bb3fe1a839abe6ff73322b5a3d1afaa4d25
parent610dd60bf71c441907d74cd109d6405d5a336c08
drm/amd/powerplay: Tidy up cz_dpm_powerup_uvd()

Use PP_CAP and simplify enable/disable logic.

Signed-off-by: Tom St Denis <tom.stdenis@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/cz_hwmgr.c