diff options
author | Bhanu Murthy V <bmurthyv@nvidia.com> | 2018-06-04 19:38:33 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-07 19:23:44 -0400 |
commit | ecf4674d4007e8bea9c7946802d7a9dc02f7da91 (patch) | |
tree | f532e296d21d676bb81d4f658cd1a41422ed5363 /include | |
parent | 1653b916075e6bd8a25bcf6e4ba1d50a84ef28bf (diff) |
drives: camera: Query active bandwidth
Add new ioctl to read the current requested ISO BW
from tegra camera platform device.
Bug 1993787
Change-Id: I43a1fc93097d977215853aa9c93ad9919a27db8f
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1739635
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/tegra_camera_platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/tegra_camera_platform.h b/include/media/tegra_camera_platform.h index c7ee95155..0cd9e3262 100644 --- a/include/media/tegra_camera_platform.h +++ b/include/media/tegra_camera_platform.h | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #define TEGRA_CAMERA_IOCTL_SET_BW _IOW('o', 1, struct bw_info) | 21 | #define TEGRA_CAMERA_IOCTL_SET_BW _IOW('o', 1, struct bw_info) |
22 | #define TEGRA_CAMERA_IOCTL_GET_BW _IOR('o', 2, u64) | 22 | #define TEGRA_CAMERA_IOCTL_GET_BW _IOR('o', 2, u64) |
23 | #define TEGRA_CAMERA_IOCTL_GET_CURR_REQ_ISO_BW _IOR('o', 3, u64) | ||
23 | 24 | ||
24 | /* avoid overflows */ | 25 | /* avoid overflows */ |
25 | #define DEFAULT_PG_CLK_RATE (UINT_MAX - 1) | 26 | #define DEFAULT_PG_CLK_RATE (UINT_MAX - 1) |