]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:53:41 +0000 (09:53 +0900)
commit834223b58e16b974a194ddcd8a045441984f98fc
tree3fc0a71267c811a2e37f4a09c2bc2637cf32d44d
parent3f974429673759353a89f2008df46b720fe55978
drm/amdgpu: add pm sysfs files late

commit fa022a9b65d2886486a022fd66b20c823cd76ad9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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