drm/i915/vlv: use per-pipe backlight controls v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 31 Oct 2013 16:55:50 +0000 (18:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Nov 2013 17:26:31 +0000 (18:26 +0100)
commit07bf139b906013ecef0c5e0441564d1ae10e974a
treea4597042bbf9f39a675b40b4065bcf08769080ac
parent752aa88a1e784c22d514db3b440e49427b58259e
drm/i915/vlv: use per-pipe backlight controls v2

With the connector and pipe passed around, we can now set the backlight
on the right pipe on VLV/BYT.

v2: drop combination mode check for VLV (Jani)
    add save/restore code for VLV backlight regs (Jani)
    check for existing modulation freq when initializing backlight regs (Jani)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67245
Tested-by: Joe Konno <joe.konno@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_panel.c