drm/radeon: fix dpms when driver backlight control is disabled
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Oct 2015 14:56:44 +0000 (10:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Oct 2015 15:13:40 +0000 (11:13 -0400)
commitae93580ee59c02395c1711d3e6b90546b8137b86
tree027cda0bac22dfd80c2f865f225d5c297ae387c0
parent4cee6a9057d5e13911f0cb6e143d11dc1a3245dd
drm/radeon: fix dpms when driver backlight control is disabled

If driver backlight control is disabled, either by driver
parameter or default per-asic setting, revert to the old behavior.

Fixes a regression in commit:
4281f46ef839050d2ef60348f661eb463c21cc2e

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_encoders.c