Skip to content
Permalink
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
Sidraya authored and intel-lab-lkp committed Aug 18, 2021
1 parent f42ae4f commit ed83bf9b395e58893b5d92675196aee8f619efc9
Show file tree
Hide file tree
Showing 3 changed files with 2,173 additions and 0 deletions.
@@ -19593,6 +19593,7 @@ F: drivers/staging/media/vxd/common/rman_api.c
F: drivers/staging/media/vxd/common/rman_api.h
F: drivers/staging/media/vxd/common/talmmu_api.c
F: drivers/staging/media/vxd/common/talmmu_api.h
F: drivers/staging/media/vxd/common/vid_buf.h
F: drivers/staging/media/vxd/common/work_queue.c
F: drivers/staging/media/vxd/common/work_queue.h
F: drivers/staging/media/vxd/decoder/Kconfig
@@ -19668,6 +19669,7 @@ F; drivers/staging/media/vxd/decoder/vxd_props.h
F: drivers/staging/media/vxd/decoder/vxd_pvdec.c
F: drivers/staging/media/vxd/decoder/vxd_pvdec_priv.h
F: drivers/staging/media/vxd/decoder/vxd_pvdec_regs.h
F: drivers/staging/media/vxd/decoder/vxd_v4l2.c

VIDEO I2C POLLING DRIVER
M: Matt Ranostay <matt.ranostay@konsulko.com>
@@ -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 */

0 comments on commit ed83bf9

Please sign in to comment.