*/
for (i = 0; i < priv->num_crtcs; i++) {
drm_object_property_set_value(&priv->crtcs[i]->base,
- dev->mode_config.rotation_property, 0);
+ dev->mode_config.rotation_property,
+ DRM_ROTATE_0);
}
for (i = 0; i < priv->num_planes; i++) {
drm_object_property_set_value(&priv->planes[i]->base,
- dev->mode_config.rotation_property, 0);
+ dev->mode_config.rotation_property,
+ DRM_ROTATE_0);
}
}
if (priv->has_dmm) {
struct drm_property *prop = dev->mode_config.rotation_property;
- drm_object_attach_property(obj, prop, 0);
+ drm_object_attach_property(obj, prop, DRM_ROTATE_0);
}
drm_object_attach_property(obj, priv->zorder_prop, 0);