drm/radeon: add pm sysfs files late
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2015 20:45:52 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Oct 2015 20:09:46 +0000 (16:09 -0400)
commit51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5
treefe91d387d08287e9669a9770bf68471d619e5b98
parentccf03d6995fa4b784f5b987726ba98f4859bf326
drm/radeon: 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/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_pm.c