linux/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
/**
 * vmw_du_connector_atomic_set_property - Atomic version of get property
 *
 * @crtc - crtc the property is associated with
 *
 * Returns:
 * Zero on success, negative errno on failure.
 */
Atomic version of get property
@crtc - crtc the property is associated with

Zero on success, negative errno on failure.
Atomic version of get property @crtc - crtc the property is associated with Zero on success negative errno on failure .
int
vmw_du_connector_atomic_set_property(struct drm_connector *connector,
				     struct drm_connector_state *state,
				     struct drm_property *property,
				     uint64_t val)
{
	struct vmw_private *dev_priv = vmw_priv(connector->dev);
	struct vmw_connector_state *vcs = vmw_connector_state_to_vcs(state);
	struct vmw_display_unit *du = vmw_connector_to_du(connector);
	if (property == dev_priv->implicit_placement_property) {
		vcs->is_implicit = val;
		du->is_implicit = vcs->is_implicit;
	} else {
		return -EINVAL;
	}
	return 0;
}
int vmw_du_connector_atomic_set_property ( struct drm_connector * connector , struct drm_connector_state * state , struct drm_property * property , uint64_t val ) { struct vmw_private * dev_priv = vmw_priv ( connector -> dev ) ; struct vmw_connector_state * vcs = vmw_connector_state_to_vcs ( state ) ; struct vmw_display_unit * du = vmw_connector_to_du ( connector ) ; if ( property == dev_priv -> implicit_placement_property ) { vcs -> is_implicit = val ; du -> is_implicit = vcs -> is_implicit ; } else { return - EINVAL ; } return 0 ; }
vmw_du_connector_atomic_set_property - Atomic version of get property
 @crtc - crtc the property is associated with
vmw_du_connector_atomic_set_property - Atomic version of get property @crtc - crtc the property is associated with
/*
		 * We should really be doing a drm_atomic_commit() to
		 * commit the new state, but since this doesn't cause
		 * an immedate state change, this is probably ok
		 */