]> 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)
commit4da50b1aa46ca33ff288d05c1116f9d8794b6f70
tree4d1db1f47b2c3284d614c4b27f04ac8e75115520
parentfd1679d9a9c494cc2e2ea6ed8520bdb8d4a537b4
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