Skip to content

Commit

Permalink
drm/i915: add debug logging to ASLE backlight set requests
Browse files Browse the repository at this point in the history
Make it easier to track backlight set requests coming through ASLE instead
of the driver's own backlight sysfs interface. We've had enough of
backlight issues to warrant some extra debug logs in the area.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Jani Nikula authored and Daniel Vetter committed Oct 1, 2012
1 parent 17dc925 commit 749052f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_opregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ static u32 asle_set_backlight(struct drm_device *dev, u32 bclp)
struct opregion_asle __iomem *asle = dev_priv->opregion.asle;
u32 max;

DRM_DEBUG_DRIVER("bclp = 0x%08x\n", bclp);

if (!(bclp & ASLE_BCLP_VALID))
return ASLE_BACKLIGHT_FAILED;

Expand Down

0 comments on commit 749052f

Please sign in to comment.