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

Zero on success, negative errno on failure.
Atomic version of get property @connector - connector the property is associated with Zero on success negative errno on failure .
int
vmw_du_connector_atomic_get_property(struct drm_connector *connector,
				     const 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);
	if (property == dev_priv->implicit_placement_property)
		*val = vcs->is_implicit;
	else {
		DRM_ERROR("Invalid Property %s\n", property->name);
		return -EINVAL;
	}
	return 0;
}
int vmw_du_connector_atomic_get_property ( struct drm_connector * connector , const 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 ) ; if ( property == dev_priv -> implicit_placement_property ) * val = vcs -> is_implicit ; else { DRM_ERROR ( " \n " , property -> name ) ; return - EINVAL ; } return 0 ; }
vmw_du_connector_atomic_get_property - Atomic version of get property
 @connector - connector the property is associated with
vmw_du_connector_atomic_get_property - Atomic version of get property @connector - connector the property is associated with