treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / host1x / job.h
blob94bc2e4ae241d202fd61e74b90425ca26bb17a35
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Tegra host1x Job
5 * Copyright (c) 2011-2013, NVIDIA Corporation.
6 */
8 #ifndef __HOST1X_JOB_H
9 #define __HOST1X_JOB_H
11 #include <linux/dma-direction.h>
13 struct host1x_job_gather {
14 unsigned int words;
15 dma_addr_t base;
16 struct host1x_bo *bo;
17 unsigned int offset;
18 bool handled;
21 struct host1x_job_unpin_data {
22 struct host1x_bo *bo;
23 struct sg_table *sgt;
24 struct device *dev;
25 size_t size;
26 enum dma_data_direction dir;
30 * Dump contents of job to debug output.
32 void host1x_job_dump(struct device *dev, struct host1x_job *job);
34 #endif