drm/i915: make asle notifications update backlight on all connectors
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Nov 2013 14:48:55 +0000 (16:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Nov 2013 23:07:59 +0000 (00:07 +0100)
commitc91c9f32843a1b433de5a1ead4789a6bc8d3d914
tree2e6507efadbf04e1aa7dff1526320d0cacf455f9
parent58c68779e48fa6d60b97fadc3dcac61a6c318c4c
drm/i915: make asle notifications update backlight on all connectors

ALthough usually there's only one connector that supports backlight,
this also finds the correct connector. Before, we only updated the
connector on pipe A, which might not be the one with backlight. (This
only made a difference on BYT.)

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_panel.c