Lines Matching +full:per +full:- +full:context
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (C) 2022-2024, Advanced Micro Devices, Inc.
23 AMDXDNA_DEV_TYPE_UNKNOWN = -1,
41 * struct qos_info - QoS information for driver.
42 * @gops: Giga operations per second.
43 * @fps: Frames per second.
61 * struct amdxdna_drm_create_hwctx - Create hardware context.
67 * @max_opc: Maximum operations per cycle.
71 * @handle: Returned hardware context handle.
89 * struct amdxdna_drm_destroy_hwctx - Destroy hardware context.
90 * @handle: Hardware context handle.
99 * struct amdxdna_cu_config - configuration for one CU
111 * struct amdxdna_hwctx_param_config_cu - configuration for CUs in hardware context
129 * struct amdxdna_drm_config_hwctx - Configure hardware context.
130 * @handle: hardware context handle.
183 * struct amdxdna_drm_create_bo - Create a buffer object.
199 * struct amdxdna_drm_get_bo_info - Get buffer object information.
219 * struct amdxdna_drm_sync_bo - Sync buffer object.
241 * struct amdxdna_drm_exec_cmd - Execute command.
244 * @hwctx: Hardware context handle.
266 * struct amdxdna_drm_query_aie_status - Query the status of the AIE hardware
278 * struct amdxdna_drm_query_aie_version - Query the version of the AIE hardware
288 * struct amdxdna_drm_query_aie_tile_metadata - Query the metadata of AIE tile (core, mem, shim)
306 * struct amdxdna_drm_query_aie_metadata - Query the metadata of the AIE hardware
326 * struct amdxdna_drm_query_clock - Metadata for a clock
338 * struct amdxdna_drm_query_clock_metadata - Query metadata for clocks
339 * @mp_npu_clock: The metadata for MP-NPU clock.
352 * struct amdxdna_drm_query_sensor - The data for single sensor.
378 * struct amdxdna_drm_query_hwctx - The data for single context.
379 * @context_id: The ID for this context.
380 * @start_col: The starting column for the partition assigned to this context.
381 * @num_col: The number of columns in the partition assigned to this context.
383 * @pid: The Process ID of the process that created this context.
384 * @command_submissions: The number of commands submitted to this context.
385 * @command_completions: The number of commands completed by this context.
386 * @migrations: The number of times this context has been moved to a different partition.
387 * @preemptions: The number of times this context has been preempted by another context in the
389 * @errors: The errors for this context.
413 * struct amdxdna_drm_get_power_mode - Get the configured power mode
423 * struct amdxdna_drm_query_firmware_version - Query the firmware version
448 * struct amdxdna_drm_get_info - Get some information from the AIE hardware.
463 * struct amdxdna_drm_hwctx_entry - The hardware context array entry
466 /** @context_id: Context ID. */
468 /** @start_col: Start AIE array column assigned to context. */
470 /** @num_col: Number of AIE array columns assigned to context. */
472 /** @hwctx_id: The real hardware context id. */
474 /** @pid: ID of process which created this context. */
486 /** @priority: Context priority. */
493 * @state: Context state.
500 /** @gops: Giga operations per second. */
502 /** @fps: Frames per second. */
514 /** @fatal_error_type: Fatal error type if context crashes. */
529 * struct amdxdna_drm_get_array - Get information array.
572 * struct amdxdna_drm_set_state - Set the state of the AIE hardware.
584 * struct amdxdna_drm_set_power_mode - Set the power mode of the AIE hardware