[Intel-gfx] [PATCH] drm/i915/dp: debug log whether backlight is being enabled or disabled

Daniel Vetter daniel at ffwll.ch
Wed Aug 27 13:26:57 CEST 2014


On Wed, Aug 27, 2014 at 02:08:43PM +0300, Jani Nikula wrote:
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_dp.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
> index 0b504c4ce73b..74a59b3e3bde 100644
> --- a/drivers/gpu/drm/i915/intel_dp.c
> +++ b/drivers/gpu/drm/i915/intel_dp.c
> @@ -1481,7 +1481,8 @@ static void intel_edp_backlight_power(struct intel_connector *connector,
>  	if (is_enabled == enable)
>  		return;
>  
> -	DRM_DEBUG_KMS("\n");
> +	DRM_DEBUG_KMS("panel power control backlight %s\n",
> +		      enable ? "enable" : "disable");

Queued for -next, thanks for the patch.
-Daniel
>  
>  	if (enable)
>  		_intel_edp_backlight_on(intel_dp);
> -- 
> 1.9.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list