treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201
[linux-block.git] / drivers / gpu / host1x / job.h
CommitLineData
9952f691 1/* SPDX-License-Identifier: GPL-2.0-only */
6579324a
TB
2/*
3 * Tegra host1x Job
4 *
5 * Copyright (c) 2011-2013, NVIDIA Corporation.
6579324a
TB
6 */
7
8#ifndef __HOST1X_JOB_H
9#define __HOST1X_JOB_H
10
11struct host1x_job_gather {
326bbd79 12 unsigned int words;
6579324a
TB
13 dma_addr_t base;
14 struct host1x_bo *bo;
326bbd79 15 unsigned int offset;
6579324a
TB
16 bool handled;
17};
18
6579324a
TB
19struct host1x_job_unpin_data {
20 struct host1x_bo *bo;
21 struct sg_table *sgt;
404bfb78 22 size_t size;
6579324a
TB
23};
24
6579324a
TB
25/*
26 * Dump contents of job to debug output.
27 */
28void host1x_job_dump(struct device *dev, struct host1x_job *job);
29
30#endif