All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: drop confusing message about backlight control
@ 2016-07-27 20:44 Alex Deucher
       [not found] ` <1469652299-3117-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2016-07-27 20:44 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher, Hans de Goede

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 <alexander.deucher@amd.com>
Cc: Hans de Goede <jwrdegoede@fedoraproject.org>
---
 drivers/gpu/drm/radeon/radeon_acpi.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c
index 59acd0e..31c9a92 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) {
-- 
2.5.5

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/radeon: drop confusing message about backlight control
       [not found] ` <1469652299-3117-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
@ 2016-07-28  3:24   ` Alexandre Demers
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Demers @ 2016-07-28  3:24 UTC (permalink / raw)
  To: Alex Deucher, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: Alex Deucher, Hans de Goede

Reviewed-by: Alexandre Demers <alexandre.f.demers@gmail.com>

Alexandre Demers

On 2016-07-27 16:44, Alex Deucher wrote:
> 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 <alexander.deucher@amd.com>
> Cc: Hans de Goede <jwrdegoede@fedoraproject.org>
> ---
>   drivers/gpu/drm/radeon/radeon_acpi.c | 7 -------
>   1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c
> index 59acd0e..31c9a92 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) {

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-28  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27 20:44 [PATCH] drm/radeon: drop confusing message about backlight control Alex Deucher
     [not found] ` <1469652299-3117-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-07-28  3:24   ` Alexandre Demers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.