Lines Matching defs:config
69 * pairs, instead of a fixed struct with multiple miscellaneous config members,
535 * Note: It's safe to read OA config state here unlocked, assuming that this is
2012 * multiple OA config BOs will have a jump to this address and it
2729 * The OA register config is setup through the context image. This image
2734 * We could emit the OA register config through the batch buffer but
3316 * reason then don't let userspace try their luck with config
3392 "Invalid OA config id=%i\n", props->metrics_set);
3448 "opening stream oa config uuid=%s\n",
3705 struct i915_oa_config *config;
3708 config = i915_perf_get_oa_config(stream->perf, metrics_set);
3709 if (!config)
3712 if (config != stream->oa_config) {
3724 err = emit_oa_config(stream, config, oa_context(stream), NULL);
3726 config = xchg(&stream->oa_config, config);
3731 i915_oa_config_put(config);
3868 * Implements further stream config validation and stream initialization on
3877 * config validation and stream initialization details will be handled by
3878 * i915_oa_stream_init(). The code here should only validate config state that
4187 "SSEU config not supported on gfx %x\n",
4674 * i915_perf_add_config_ioctl - DRM ioctl() for userspace to add a new OA config
4680 * Validates the submitted OA register to be saved into a new OA config that
4683 * Returns: A new allocated config number to be used with the perf open ioctl
4706 "Insufficient privileges to add i915 OA config\n");
4721 "Failed to allocate memory for the OA config\n");
4730 "Invalid uuid format for OA config\n");
4748 "Failed to create OA config for mux_regs\n");
4762 "Failed to create OA config for b_counter_regs\n");
4782 "Failed to create OA config for flex_regs\n");
4799 "OA config already exists with this uuid\n");
4808 "Failed to create sysfs entry for OA config\n");
4812 /* Config id 0 is invalid, id 1 for kernel stored test config. */
4818 "Failed to create sysfs entry for OA config\n");
4825 "Added config %s id=%i\n", oa_config->uuid, oa_config->id);
4835 "Failed to add new OA config\n");
4840 * i915_perf_remove_config_ioctl - DRM ioctl() for userspace to remove an OA config
4846 * and their content will be freed when the stream using the config is closed.
4863 "Insufficient privileges to remove i915 OA config\n");
4874 "Failed to remove unknown OA config\n");
4888 "Removed config %s id=%i\n", oa_config->uuid, oa_config->id);
5329 * 2: Added runtime modification of OA config.