]> 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)
commit800005c2ab414a5c71bcbdb2087e23215f4621bb
tree97e16bb3fe1a839abe6ff73322b5a3d1afaa4d25
parent992f87571803e4acbe8f1ac2addf1bf5a741f585
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