OSDN Git Service

drm/amd/powerplay: Port vega10_hwmgr.c over to PP_CAP
authorTom St Denis <tom.stdenis@amd.com>
Thu, 7 Sep 2017 11:44:17 +0000 (07:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:31:25 +0000 (14:31 -0400)
commitdd5a6fe2af0366803ddccf27981b7dd48e21099c
tree8b3d413dac4f49ac6f9b1c872c45743a85f2210d
parent583a888a77bcc0e25e29f958a3a77c133306dc73
drm/amd/powerplay: Port vega10_hwmgr.c over to PP_CAP

Replace and cleanup lengthy phm_cap_enabled() sequences
with PP_CAP.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c