Set the initial value of the force audio and broadcast rgb properties using property values found in the init-time configuration. Signed-off-by: Bob Paauwe <bob.j.paauwe@xxxxxxxxx> --- drivers/gpu/drm/i915/intel_modes.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_modes.c b/drivers/gpu/drm/i915/intel_modes.c index 0e860f3..4647e0b 100644 --- a/drivers/gpu/drm/i915/intel_modes.c +++ b/drivers/gpu/drm/i915/intel_modes.c @@ -84,6 +84,7 @@ intel_attach_force_audio_property(struct drm_connector *connector) struct drm_device *dev = connector->dev; struct drm_i915_private *dev_priv = dev->dev_private; struct drm_property *prop; + struct intel_connector *intel_connector = to_intel_connector(connector); prop = dev_priv->force_audio_property; if (prop == NULL) { @@ -96,7 +97,8 @@ 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, + intel_output_name(intel_connector), prop, 0); } static const struct drm_prop_enum_list broadcast_rgb_names[] = { @@ -111,6 +113,7 @@ intel_attach_broadcast_rgb_property(struct drm_connector *connector) struct drm_device *dev = connector->dev; struct drm_i915_private *dev_priv = dev->dev_private; struct drm_property *prop; + struct intel_connector *intel_connector = to_intel_connector(connector); prop = dev_priv->broadcast_rgb_property; if (prop == NULL) { @@ -124,5 +127,6 @@ 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, + intel_output_name(intel_connector), prop, 0); } -- 2.1.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx