Message ID | 1e9dfed07757d2c4c2a0bd551ab237cd769988af.1383920621.git.jani.nikula@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, 2013-11-08 at 16:49 +0200, Jani Nikula wrote: > Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> > --- > drivers/gpu/drm/i915/intel_panel.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > 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; > } >
On Wed, Nov 13, 2013 at 12:48:01AM +0200, Imre Deak wrote: > On Fri, 2013-11-08 at 16:49 +0200, Jani Nikula wrote: > > Signed-off-by: Jani Nikula <jani.nikula@intel.com> > > Reviewed-by: Imre Deak <imre.deak@intel.com> Merged up to this patch with a pimped commit message for patch 5. -Daniel > > > --- > > drivers/gpu/drm/i915/intel_panel.c | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > 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; > > } > > > > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
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; }
Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- drivers/gpu/drm/i915/intel_panel.c | 6 ++++++ 1 file changed, 6 insertions(+)