xref: /openbmc/linux/drivers/gpu/drm/tegra/submit.h (revision 25b892b5)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2020 NVIDIA Corporation */
3 
4 #ifndef _TEGRA_DRM_UAPI_SUBMIT_H
5 #define _TEGRA_DRM_UAPI_SUBMIT_H
6 
7 struct tegra_drm_used_mapping {
8 	struct tegra_drm_mapping *mapping;
9 	u32 flags;
10 };
11 
12 struct tegra_drm_submit_data {
13 	struct tegra_drm_used_mapping *used_mappings;
14 	u32 num_used_mappings;
15 };
16 
17 int tegra_drm_fw_validate(struct tegra_drm_client *client, u32 *data, u32 start,
18 			  u32 words, struct tegra_drm_submit_data *submit,
19 			  u32 *job_class);
20 
21 #endif
22