]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: refine code in amd_powerplay.c (v2)
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 29 Sep 2017 05:57:54 +0000 (13:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 1 Oct 2017 21:34:18 +0000 (17:34 -0400)
commit87de6959a4c9d55e7fea11c0dcc746b68a17530e
tree4cc6409d66ce0159082f20a1b39346d0c253ebd4
parent50dbf0450372c7fa5b4160f63449edc2d4ec9c92
drm/amd/powerplay: refine code in amd_powerplay.c (v2)

1. use flag PP_DPM_DISABLED within powerplay
   notify amdgpu dpm state by cgs interface.
2. delete redundant virtualization check in
   powerplay

v2: squash in fix for hwmgr_init (Rex)

Reviewed-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/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h