Skip to content

Commit

Permalink
drm/radeon: add a backlight quirk for Amilo Xi 2550
Browse files Browse the repository at this point in the history
Only the acpi backlight seems to work.  Using the
radeon backlight controller causes the backlight to
go off.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=81382

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Alex Deucher committed Sep 22, 2014
1 parent bc13018 commit 8aff6ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion drivers/gpu/drm/radeon/radeon_encoders.c
Original file line number Diff line number Diff line change
@@ -173,7 +173,14 @@ static void radeon_encoder_add_backlight(struct radeon_encoder *radeon_encoder,
} else if (radeon_backlight == 1) {
use_bl = true;
} else if (radeon_backlight == -1) {
use_bl = true;
/* Quirks */
/* Amilo Xi 2550 only works with acpi bl */
if ((rdev->pdev->device == 0x9583) &&
(rdev->pdev->subsystem_vendor == 0x1734) &&
(rdev->pdev->subsystem_device == 0x1107))
use_bl = false;
else
use_bl = true;
}

if (use_bl) {

0 comments on commit 8aff6ad

Please sign in to comment.