OSDN Git Service

drm/amdgpu: add powerplay support for CI asics
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 12 Sep 2017 05:37:40 +0000 (13:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 17:07:00 +0000 (13:07 -0400)
commit780cffc599b640f1ea1ab051496ad1fed4532150
treeda289fdd4be1ad1793c91d6fb2b08a689edc064a
parent86457c3b21cbde1e5df45a8e11e173414e3dfc31
drm/amdgpu: add powerplay support for CI asics

currently, for CI asics,
use dpm by default, amdgpu.dpm=-1.
when set amdgpu.dpm=1, enable powplay.
when set amdgpu.dpm=0, disable both dpm and powerplay.

when powerplay is stable on CI asics, ci_dpm will
be removed.

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