drm/radeon: disable native backlight control on pre-r6xx asics (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Nov 2014 18:12:54 +0000 (13:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:32 +0000 (15:57 -0800)
commit7b48f096b4996401fd707e989a9c6c7447404531
tree32a1e24bba6c42481004826bca2bb195712d11e1
parentddf2f3a9a94f98c99a46d75bebeeb743b29d71c0
drm/radeon: disable native backlight control on pre-r6xx asics (v2)

commit b7bc596ebbe0cddc97d76ef9309f64471bbf13eb upstream.

Just use the acpi interface.  That's what windows uses on this
generation and it's the only thing that seems to work reliably
on these generation parts.

You can still force the native backlight interface by setting
radeon.backlight=1

Bug:
https://bugzilla.kernel.org/show_bug.cgi?id=88501

v2: merge into above if/else block

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_encoders.c