summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-09-07 13:56:16 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-09-07 13:56:16 -0700
commit0fa4321a765126228170ecb9536f32c134886d51 (patch)
treef95d71f7e496655a7cf29cdd1a52168ddb8a4ddd
parentf56c839f30ec39ea22bbf6a7fda4cefd7cbfbfc2 (diff)
KMS: initialize backlight support for eDP panels too
Since being able to control the backlight is handy. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--src/intel_display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel_display.c b/src/intel_display.c
index e1898313..ed3fdd07 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -1290,7 +1290,8 @@ intel_output_init(ScrnInfoPtr scrn, struct intel_mode *mode, int num)
output->subpixel_order = subpixel_conv_table[koutput->subpixel];
output->driver_private = intel_output;
- if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS)
+ if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS ||
+ koutput->connector_type == DRM_MODE_CONNECTOR_eDP)
intel_output_backlight_init(output);
output->possible_crtcs = kencoder->possible_crtcs;