]> 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)
commit126afdf472fe5658a3a63e82a8d4d6bd80443749
tree2e6507efadbf04e1aa7dff1526320d0cacf455f9
parente91b5d2e271ee12806600b604b43c5fe63e5a94f
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