]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pass connector state to intel_panel_set_backlight_acpi
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 12 Jun 2017 10:21:14 +0000 (12:21 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 12 Jun 2017 14:06:10 +0000 (16:06 +0200)
commit5f9e52691f94c714d3c5a785b1e0ad09581998cf
treeec06ab518dfc0a6d886bba163333fe2f7cb1a49f
parent13678c3a03954dc375441f1f5d0c7511ba9b017f
drm/i915: Pass connector state to intel_panel_set_backlight_acpi

Passing the state is also needed to convert the backlight functions
to use the correct state instead of looking it up.

This is done as a separate commit to allow easier bisecting.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100022
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170612102115.23665-3-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_panel.c