drm/amd/powerplay: delete flag PP_VALID
authorRex Zhu <[email protected]>
Thu, 28 Sep 2017 08:12:51 +0000 (16:12 +0800)
committerAlex Deucher <[email protected]>
Fri, 6 Oct 2017 20:47:49 +0000 (16:47 -0400)
commite1827a307e96ec51a657a2b7e68a8ffc36ae2a43
treeaad198a277a986ba77bf6ae2825934142dd11af4
parent3811f8f00c5fef3754091b5c5254355bed1d9022
drm/amd/powerplay: delete flag PP_VALID

don't need to check pp_valid, all pp
export functions are moved to ip_funcs
and pp_funcs. so just need to check the
function point.

Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/inc/pp_instance.h