drm/amd/pp: Add new asic support in pp_psm.c
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 21 Mar 2018 10:36:50 +0000 (18:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Mar 2018 19:43:29 +0000 (14:43 -0500)
commit8ebde09b16919b8cd6aa0af186d300faf5a145fc
treeb8f3549c281bf319b752cd4036d179d050107577
parentbbfcc8af37577c7f8950a1442c398da64de5e5b7
drm/amd/pp: Add new asic support in pp_psm.c

In new asics(vega12), no power state management in driver,
So no need to implement related callback functions.
and add some ps checks in pp_psm.c

Revert "drm/amd/powerplay: add new pp_psm infrastructure for vega12 (v2)"
This reverts commit 7d1a63f3aa331b853e41f92d0e7890ed31de8c13.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm_legacy.c [deleted file]
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm_legacy.h [deleted file]
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm_new.c [deleted file]
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm_new.h [deleted file]