mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
FSICOM: IOVA per client kernel changes
- IOCTL datatype and call added for sending IOVA, offset and channel id data to FSI JIRA SS-3385 JIRA SS-4628 Bug 3855033 Change-Id: I1212913a7ede879108800a68eafbe8240211572b Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com> Signed-off-by: Prashant Kumar Shaw <pshaw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819743 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6a69011d7c
commit
f6d27d0561
@@ -14,6 +14,13 @@ struct rw_data {
|
||||
uint64_t iova;
|
||||
};
|
||||
|
||||
/*Data type for sending the offset,IOVA and channel Id details to FSI */
|
||||
struct iova_data {
|
||||
uint32_t offset;
|
||||
uint32_t iova;
|
||||
uint32_t chid;
|
||||
};
|
||||
|
||||
/* signal value */
|
||||
#define SIG_DRIVER_RESUME 43
|
||||
#define SIG_FSI_WRITE_EVENT 44
|
||||
@@ -23,5 +30,6 @@ struct rw_data {
|
||||
#define NVMAP_SMMU_UNMAP _IOWR('q', 2, struct rw_data *)
|
||||
#define TEGRA_HSP_WRITE _IOWR('q', 3, struct rw_data *)
|
||||
#define TEGRA_SIGNAL_REG _IOWR('q', 4, struct rw_data *)
|
||||
#define TEGRA_IOVA_DATA _IOWR('q', 5, struct iova_data *)
|
||||
|
||||
#endif /* _UAPI_TEGRA_FSICOM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user