/** * xe_observation_ioctl - The top level observation layer ioctl * @dev: @drm_device * @data: pointer to struct @drm_xe_observation_param * @file: @drm_file * * The function is called for different observation streams types and * allows execution of different operations supported by those stream * types. * * Return: 0 on success or a negative error code on failure.
*/ int xe_observation_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
{ struct drm_xe_observation_param *arg = data;
if (arg->extensions) return -EINVAL;
switch (arg->observation_type) { case DRM_XE_OBSERVATION_TYPE_OA: return xe_oa_ioctl(dev, arg, file); case DRM_XE_OBSERVATION_TYPE_EU_STALL: return xe_eu_stall_ioctl(dev, arg, file); default: return -EINVAL;
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.