From 0fa4321a765126228170ecb9536f32c134886d51 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 7 Sep 2010 13:56:16 -0700 Subject: KMS: initialize backlight support for eDP panels too Since being able to control the backlight is handy. Signed-off-by: Jesse Barnes --- src/intel_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3