]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add pm sysfs files late
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2015 21:05:40 +0000 (17:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Oct 2015 20:09:47 +0000 (16:09 -0400)
commit7e721470f8a35288b43e5d4653df2a1165839bc8
tree4d1db1f47b2c3284d614c4b27f04ac8e75115520
parent4e5d51c64a65cd720a037cec3029c27317af82fa
drm/amdgpu: add pm sysfs files late

They were added relatively early in the driver init process
which meant that in some cases the driver was not finished
initializing before external tools tried to use them which
could result in a crash depending on the timing.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c