aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2013-11-08 16:48:55 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-13 00:07:59 +0100
commitc91c9f32843a1b433de5a1ead4789a6bc8d3d914 (patch)
tree2e6507efadbf04e1aa7dff1526320d0cacf455f9 /drivers/gpu/drm/i915/intel_drv.h
parent58c68779e48fa6d60b97fadc3dcac61a6c318c4c (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 9460e54cf14..bcb47b83787 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -159,6 +159,7 @@ struct intel_panel {
/* backlight */
struct {
+ bool present;
u32 level;
bool enabled;
struct backlight_device *device;