]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: check dpm state before pm system fs initialized.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 29 Mar 2016 06:34:51 +0000 (14:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2016 14:08:30 +0000 (10:08 -0400)
commitb4bea85f37574b04378280cb94c05abc0f419386
tree7339717cd2ee669715421e5d0438c1e69e1257ef
parente7671c636608762e62fe8107c98b865e037aa55b
drm/amdgpu: check dpm state before pm system fs initialized.

Make sure powerplay initialized properly before enabling
debugfs pm files.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed- by: Alex Deucher <alexander.deucher@amd.com>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c