diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-06-10 14:04:54 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-08-10 18:04:05 +0300 |
commit | 13abe0bb15ceac2fb8e8853bd30c278426d95ad0 (patch) | |
tree | 4e4cafd81441aaa49273c7b3a058e292910cd5ad /drivers/gpu/drm/tegra/submit.h | |
parent | 44e961381354df6db92065be3ba2e608c1838b3e (diff) | |
download | linux-13abe0bb15ceac2fb8e8853bd30c278426d95ad0.tar.xz |
drm/tegra: Implement job submission part of new UAPI
Implement the job submission IOCTL with a minimum feature set.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/submit.h')
-rw-r--r-- | drivers/gpu/drm/tegra/submit.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/submit.h b/drivers/gpu/drm/tegra/submit.h new file mode 100644 index 000000000000..0a165e9e4bda --- /dev/null +++ b/drivers/gpu/drm/tegra/submit.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2020 NVIDIA Corporation */ + +#ifndef _TEGRA_DRM_UAPI_SUBMIT_H +#define _TEGRA_DRM_UAPI_SUBMIT_H + +struct tegra_drm_used_mapping { + struct tegra_drm_mapping *mapping; + u32 flags; +}; + +struct tegra_drm_submit_data { + struct tegra_drm_used_mapping *used_mappings; + u32 num_used_mappings; +}; + +#endif |