]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/gpu/host1x/job.h
Merge tag 'io_uring-5.6-2020-02-05' of git://git.kernel.dk/linux-block
[mirror_ubuntu-jammy-kernel.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
af1cbfb9
TR
11#include <linux/dma-direction.h>
12
6579324a 13struct host1x_job_gather {
326bbd79 14 unsigned int words;
6579324a
TB
15 dma_addr_t base;
16 struct host1x_bo *bo;
326bbd79 17 unsigned int offset;
6579324a
TB
18 bool handled;
19};
20
6579324a
TB
21struct host1x_job_unpin_data {
22 struct host1x_bo *bo;
23 struct sg_table *sgt;
af1cbfb9 24 struct device *dev;
404bfb78 25 size_t size;
af1cbfb9 26 enum dma_data_direction dir;
6579324a
TB
27};
28
6579324a
TB
29/*
30 * Dump contents of job to debug output.
31 */
32void host1x_job_dump(struct device *dev, struct host1x_job *job);
33
34#endif