Signed-off-by: Keith Packard <kei...@keithp.com>
---
 drivers/gpu/drm/i915/intel_dp.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 56b0119..c9dd28b 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1041,7 +1041,14 @@ static const struct drm_encoder_helper_funcs 
intel_dp_helper_funcs = {
        .commit = intel_encoder_commit,
 };
 
+static const struct drm_connector_helper_funcs intel_dp_connector_helper_funcs 
= {
+       .get_modes = intel_dp_get_modes,
+       .mode_valid = intel_dp_mode_valid,
+       .best_encoder = intel_best_encoder,
+};
+
 static const struct drm_connector_funcs intel_dp_connector_funcs = {
+       .dpms = drm_helper_connector_dpms,
        .save = intel_dp_save,
        .restore = intel_dp_restore,
        .detect = intel_dp_detect,
@@ -1049,12 +1056,6 @@ static const struct drm_connector_funcs 
intel_dp_connector_funcs = {
        .destroy = intel_dp_destroy,
 };
 
-static const struct drm_connector_helper_funcs intel_dp_connector_helper_funcs 
= {
-       .get_modes = intel_dp_get_modes,
-       .mode_valid = intel_dp_mode_valid,
-       .best_encoder = intel_best_encoder,
-};
-
 static void intel_dp_enc_destroy(struct drm_encoder *encoder)
 {
        drm_encoder_cleanup(encoder);
-- 
1.6.3.1


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to