forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
IMG DEC V4L2 Interface function implementations
Add Low-level VXD interface component and v4l2 wrapper Interface for VXD driver. Signed-off-by: Sunita Nadampalli <sunitan@ti.com> Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
- Loading branch information
1 parent
f42ae4f
commit ed83bf9b395e58893b5d92675196aee8f619efc9
Showing
3 changed files
with
2,173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0 */ | ||
| /* | ||
| * Low-level VXD interface component | ||
| * | ||
| * Copyright (c) Imagination Technologies Ltd. | ||
| * Copyright (c) 2021 Texas Instruments Incorporated - http://www.ti.com/ | ||
| * | ||
| * Authors: | ||
| * Angela Stegmaier <angelabaker@ti.com> | ||
| * | ||
| * Re-written for upstream | ||
| * Sidraya Jayagond <sidraya.bj@pathpartnertech.com> | ||
| */ | ||
|
|
||
| #ifndef _VID_BUF_H | ||
| #define _VID_BUF_H | ||
|
|
||
| /* | ||
| * struct vidio_ddbufinfo - contains information about virtual address | ||
| * @buf_size: the size of the buffer (in bytes). | ||
| * @cpu_virt: the cpu virtual address (mapped into the local cpu mmu) | ||
| * @dev_virt: device virtual address (pages mapped into IMG H/W mmu) | ||
| * @hndl_memory: handle to device mmu mapping | ||
| * @buff_id: buffer id used in communication with interface | ||
| * @is_internal: true, if the buffer is allocated internally | ||
| * @ref_count: reference count (number of users) | ||
| * @kmstr_id: stream id | ||
| * @core_id: core id | ||
| */ | ||
| struct vidio_ddbufinfo { | ||
| unsigned int buf_size; | ||
| void *cpu_virt; | ||
| unsigned int dev_virt; | ||
| void *hndl_memory; | ||
| unsigned int buff_id; | ||
| unsigned int is_internal; | ||
| unsigned int ref_count; | ||
| unsigned int kmstr_id; | ||
| unsigned int core_id; | ||
| }; | ||
|
|
||
| #endif /* _VID_BUF_H */ |
Oops, something went wrong.