Skip to content

Commit b7bc596

Browse files
committed
drm/radeon: disable native backlight control on pre-r6xx asics (v2)
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> Cc: stable@vger.kernel.org
1 parent bcfef97 commit b7bc596

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/gpu/drm/radeon/radeon_encoders.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ static void radeon_encoder_add_backlight(struct radeon_encoder *radeon_encoder,
179179
(rdev->pdev->subsystem_vendor == 0x1734) &&
180180
(rdev->pdev->subsystem_device == 0x1107))
181181
use_bl = false;
182+
/* disable native backlight control on older asics */
183+
else if (rdev->family < CHIP_R600)
184+
use_bl = false;
182185
else
183186
use_bl = true;
184187
}

0 commit comments

Comments
 (0)