From: Alex Deucher Date: Wed, 27 Jul 2016 20:39:19 +0000 (-0400) Subject: drm/radeon: drop confusing message about backlight control X-Git-Tag: v4.8-rc1~62^2~2^2~52 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=fc94d32dbf4f95353c89a51c1b3bef11c4ae30bd;p=cascardo%2Flinux.git drm/radeon: drop confusing message about backlight control The message is harmless and confusing. On PX systems, there is one ATIF method, but potentially multiple GPUs leading to an error on the GPU with no backlight control. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=115011 Signed-off-by: Alex Deucher Cc: Hans de Goede --- diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c index 59acd0e5c2c6..31c9a92d6a1b 100644 --- a/drivers/gpu/drm/radeon/radeon_acpi.c +++ b/drivers/gpu/drm/radeon/radeon_acpi.c @@ -741,13 +741,6 @@ int radeon_acpi_init(struct radeon_device *rdev) } atif->encoder_for_bl = target; - if (!target) { - /* Brightness change notification is enabled, but we - * didn't find a backlight controller, this should - * never happen. - */ - DRM_ERROR("Cannot find a backlight controller\n"); - } } if (atif->functions.sbios_requests && !atif->functions.system_params) {