diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2025-09-02 22:34:02 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2025-09-04 08:26:43 -0700 |
| commit | 2f509fe6a42cda845890273fe759fb7ba9edad97 (patch) | |
| tree | 6add92da222921b63f8c7b86e7503062a081125d /rust/helpers/task.c | |
| parent | 03e7ae93c6e32206797c13118659a966ae84a3bb (diff) | |
accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY
Add interface for applications to get information array. The application
provides a buffer pointer along with information type, maximum number of
entries and maximum size of each entry. The buffer may also contain match
conditions based on the information type. After the ioctl completes, the
actual number of entries and entry size are returned. (see [1], used by
driver runtime library)
[1] https://github.com/amd/xdna-driver/blob/main/src/shim/host/platform_host.cpp#L337
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://lore.kernel.org/r/20250903053402.2103196-1-lizhi.hou@amd.com
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
