diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_modes.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_modes.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_modes.c b/drivers/gpu/drm/i915/intel_modes.c index 0e860f39933d..38a4c8ce7e63 100644 --- a/drivers/gpu/drm/i915/intel_modes.c +++ b/drivers/gpu/drm/i915/intel_modes.c | |||
@@ -126,3 +126,12 @@ intel_attach_broadcast_rgb_property(struct drm_connector *connector) | |||
126 | 126 | ||
127 | drm_object_attach_property(&connector->base, prop, 0); | 127 | drm_object_attach_property(&connector->base, prop, 0); |
128 | } | 128 | } |
129 | |||
130 | void | ||
131 | intel_attach_aspect_ratio_property(struct drm_connector *connector) | ||
132 | { | ||
133 | if (!drm_mode_create_aspect_ratio_property(connector->dev)) | ||
134 | drm_object_attach_property(&connector->base, | ||
135 | connector->dev->mode_config.aspect_ratio_property, | ||
136 | DRM_MODE_PICTURE_ASPECT_NONE); | ||
137 | } | ||