aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-06-24 13:00:15 +0000
committerChris Wilson <[email protected]>2016-06-24 13:43:14 +0000
commit1ebaa0b9c2d47ddc832a74254beaa518f64b9cb4 (patch)
treec338f0cbaffe0cc0e98aa1c5a99ab44f23143b37 /drivers/gpu/drm/i915/intel_dp_mst.c
parentdrm/i915: Move registration actions to connector->late_register (diff)
downloadkernel-1ebaa0b9c2d47ddc832a74254beaa518f64b9cb4.tar.gz
kernel-1ebaa0b9c2d47ddc832a74254beaa518f64b9cb4.zip
drm/i915: Move backlight registration to connector registration
Currently the backlight is being registered in the load phase (before the display and its objects are registered). Move the backlight registration into the analogous phase by performing it from the connector registration, just after its creation. Signed-off-by: Chris Wilson <[email protected]> Cc: Jani Nikula <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp_mst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c
index 89e7c98f5693..5f88e12575ac 100644
--- a/drivers/gpu/drm/i915/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/intel_dp_mst.c
@@ -336,6 +336,7 @@ static const struct drm_connector_funcs intel_dp_mst_connector_funcs = {
.fill_modes = drm_helper_probe_single_connector_modes,
.set_property = intel_dp_mst_set_property,
.atomic_get_property = intel_connector_atomic_get_property,
+ .late_register = intel_connector_register,
.early_unregister = intel_connector_unregister,
.destroy = intel_dp_mst_connector_destroy,
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,