]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97bc860efc498e833e3386d6a66db76a6b6811cd
tree5793a09cf473595f4f759b8d63b1bbff46aa0ba5
parente8f375856ed7f53656b5543b8f30bbe7151c55f7
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