diff options
author | Jani Nikula <jani.nikula@intel.com> | 2013-11-08 16:49:01 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-13 11:20:37 +0100 |
commit | c445b3b1e02a40666b7e4bea58bce0c4723eba4f (patch) | |
tree | cac4ad329a419e25ccfef8f4bf62fe63e6711a0f /drivers/gpu/drm/i915/intel_panel.c | |
parent | f91c15e0808e612abacdb0fbca557b23fe2aa4d1 (diff) | |
download | op-kernel-dev-c445b3b1e02a40666b7e4bea58bce0c4723eba4f.zip op-kernel-dev-c445b3b1e02a40666b7e4bea58bce0c4723eba4f.tar.gz |
drm/i915: debug print on backlight register
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_panel.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_panel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c index 9a55b36..3dd9f57d 100644 --- a/drivers/gpu/drm/i915/intel_panel.c +++ b/drivers/gpu/drm/i915/intel_panel.c @@ -1065,6 +1065,12 @@ int intel_panel_setup_backlight(struct drm_connector *connector) panel->backlight.present = true; + DRM_DEBUG_KMS("backlight initialized, %s, brightness %u/%u, " + "sysfs interface %sregistered\n", + panel->backlight.enabled ? "enabled" : "disabled", + panel->backlight.level, panel->backlight.max, + panel->backlight.device ? "" : "not "); + return 0; } |