drm/radeon: add pm sysfs files late

commit 51a4726b04 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: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Alex Deucher 2015-09-30 16:45:52 -04:00 • committed by Luis Henriques
commit 6ce55eb920
2 changed files with 40 additions and 37 deletions