staging: vboxvideo: Atomic phase 2: Wire up state object handlers
[linux/fpc-iii.git] / drivers / gpu / host1x / job.h
blob188400e00192d665762e2511372463a78d2f5487
1 /*
2 * Tegra host1x Job
4 * Copyright (c) 2011-2013, NVIDIA Corporation.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __HOST1X_JOB_H
20 #define __HOST1X_JOB_H
22 struct host1x_job_gather {
23 unsigned int words;
24 dma_addr_t base;
25 struct host1x_bo *bo;
26 unsigned int offset;
27 bool handled;
30 struct host1x_job_unpin_data {
31 struct host1x_bo *bo;
32 struct sg_table *sgt;
33 size_t size;
37 * Dump contents of job to debug output.
39 void host1x_job_dump(struct device *dev, struct host1x_job *job);
41 #endif