]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/radeon: add pm sysfs files late
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2015 20:45:52 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:51:57 +0000 (09:51 +0900)
commit4e4887f08f2ece9e7f1975af4c3dc797b1ad557b
tree614db8b85fc6766f442d551965f2299b801eee02
parent17c5761b02dc7c815193d1a66a8a51c860e58e4d
drm/radeon: add pm sysfs files late

commit 51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5 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/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_pm.c