drm/i915: Add breadcrumbs for why the backlight is being set
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 13 Oct 2013 11:56:31 +0000 (12:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Oct 2013 08:02:36 +0000 (10:02 +0200)
commit540b5d02766863c561afe9f9d56ce0425022a731
tree5793a09cf473595f4f759b8d63b1bbff46aa0ba5
parent391f75e2bf13f105d9e4a120736ccdd8e3bc638b
drm/i915: Add breadcrumbs for why the backlight is being set

At the moment we have 3 paths that lead to actually_set_backlight(),
from modesetting, ACPI/OpRegion requests and our very own
intel_backlight interface, and we have no way of distinguishing them in
the debug log. So add a debug breadcrumb to explain the source of the
backlight changes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_panel.c