]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1051a4ad7a81b76317466d92b015396f574458bc
tree97e16bb3fe1a839abe6ff73322b5a3d1afaa4d25
parent39a810fcba9d74f98079d23b51842a3d84376fbf
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