]> 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)
commit4b5b1d9a6d764a045f5edbf7a42c288445b806bd
tree2fd4fe5995140681d9ef945d1be8f09adfde4486
parent697038155e21274147dcba8af7223d7811342abe
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