]> 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)
commit9872057421f67b88f70081ec46f16774c7320eae
tree7339717cd2ee669715421e5d0438c1e69e1257ef
parent8a99d82b32ba80e6c7f62c3dc989119e839bb15b
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