]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit278ce2bd29d470014cf2882117b46d32dc380cd2
tree2e6507efadbf04e1aa7dff1526320d0cacf455f9
parent5409d0f15b6d246ad8411e4e32ae5f2788a2ac63
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