mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
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>
This commit is contained in:
parent
f91c15e080
commit
c445b3b1e0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user