[RFC,03/10] drm/i915/config: Add init-time configuration of general connector properties.

Submitted by Bob Paauwe on April 13, 2015, 8:51 p.m.

Details

Message ID 1428958271-15653-4-git-send-email-bob.j.paauwe@intel.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Bob Paauwe April 13, 2015, 8:51 p.m.
Set the initial value of the force audio and broadcast rgb properties
using property values found in the init-time configuration.

v2: Use drm connector name (Jani)

Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
---
 drivers/gpu/drm/i915/intel_modes.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/i915/intel_modes.c b/drivers/gpu/drm/i915/intel_modes.c
index 0e860f3..2366d86 100644
--- a/drivers/gpu/drm/i915/intel_modes.c
+++ b/drivers/gpu/drm/i915/intel_modes.c
@@ -96,7 +96,7 @@  intel_attach_force_audio_property(struct drm_connector *connector)
 
 		dev_priv->force_audio_property = prop;
 	}
-	drm_object_attach_property(&connector->base, prop, 0);
+	intel_config_init_connector_property(connector, prop, 0);
 }
 
 static const struct drm_prop_enum_list broadcast_rgb_names[] = {
@@ -124,5 +124,5 @@  intel_attach_broadcast_rgb_property(struct drm_connector *connector)
 		dev_priv->broadcast_rgb_property = prop;
 	}
 
-	drm_object_attach_property(&connector->base, prop, 0);
+	intel_config_init_connector_property(connector, prop, 0);
 }