summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2013-05-09 09:37:48 -0700
committerChao Xu <cxu@nvidia.com>2013-10-29 17:45:49 -0700
commit7517cb33620ea6bc953f70412712149ab211b57e (patch)
treed759b592cefc1d00055c319a7142e537e84dd2c3 /include/video
parentaa097956f074cda160a3eb82aa273c8db5c68dfe (diff)
video: tegra: dc: add asynchronous bw negotiation.
Add asynchronous bandwidth negotiation support for display. Bug 1197598. Change-Id: I16c1ba1dcbe790cec0f6b907c5d4071dc3840629 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/299599 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/tegra_dc_ext.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h
index 828791314b0e..44f9bdf180b7 100644
--- a/include/video/tegra_dc_ext.h
+++ b/include/video/tegra_dc_ext.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2013, NVIDIA Corporation
+ * Copyright (C) 2011-2013, NVIDIA Corporation. All rights reserved.
*
* Author: Robert Morell <rmorell@nvidia.com>
* Some code based on fbdev extensions written by:
@@ -392,6 +392,9 @@ struct tegra_dc_ext_feature {
#define TEGRA_DC_EXT_SET_CURSOR_LOW_LATENCY \
_IOW('D', 0x12, struct tegra_dc_ext_cursor_image)
+#define TEGRA_DC_EXT_SET_PROPOSED_BW \
+ _IOR('D', 0x13, struct tegra_dc_ext_flip_2)
+
enum tegra_dc_ext_control_output_type {
TEGRA_DC_EXT_DSI,
TEGRA_DC_EXT_LVDS,
@@ -447,9 +450,13 @@ struct tegra_dc_ext_control_event_hotplug {
__u32 handle;
};
-#define TEGRA_DC_EXT_EVENT_BANDWIDTH 0x2
+#define TEGRA_DC_EXT_EVENT_BANDWIDTH_INC 0x3
+#define TEGRA_DC_EXT_EVENT_BANDWIDTH_DEC 0x4
struct tegra_dc_ext_control_event_bandwidth {
__u32 handle;
+ __u32 total_bw;
+ __u32 avail_bw;
+ __u32 resvd_bw;
};
#define TEGRA_DC_EXT_CAPABILITIES_CURSOR_MODE (1 << 0)