Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Tegra host1x Job
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (c) 2011-2013, NVIDIA Corporation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef __HOST1X_JOB_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define __HOST1X_JOB_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/dma-direction.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct host1x_job_gather {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	unsigned int words;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	dma_addr_t base;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	struct host1x_bo *bo;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	unsigned int offset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	bool handled;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct host1x_job_unpin_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	struct host1x_bo *bo;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	struct sg_table *sgt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	struct device *dev;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	size_t size;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	enum dma_data_direction dir;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)  * Dump contents of job to debug output.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) void host1x_job_dump(struct device *dev, struct host1x_job *job);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #endif