]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: enable sysfs and debugfs interfaces late
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Dec 2015 22:28:28 +0000 (17:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:51 +0000 (16:42 -0500)
commit8ec0d59288722dc5480cc10f463f38bb4610636b
tree2fd4fe5995140681d9ef945d1be8f09adfde4486
parent871b6c06d27cf5be9763801bb3701519f22a453a
drm/amdgpu/powerplay: enable sysfs and debugfs interfaces late

To avoid users accessing them before the module has finished
initializing them and make sure they are only created if
dpm has properly initialized.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c