diff options
author | Greg Hackmann <ghackmann@google.com> | 2013-09-13 11:23:05 -0700 |
---|---|---|
committer | Ruchi Kandoi <kandoiruchi@google.com> | 2015-02-04 14:08:48 -0800 |
commit | 3cc6b90232c15e41b2139a5e31bd57fe653fb761 (patch) | |
tree | 6b0d1b7d1e4f37c55844be67e0e5c64815503f28 /include/uapi | |
parent | d8a902a6a774cbfed2d3fd4060466ec8122447d5 (diff) |
video: adf: add informational flags to interfaces
Informational flags don't affect ADF directly but may be useful to
clients. Currently used to indicate primary and external displays.
Change-Id: I343c7f0148da0869244c8e818350e9855525df85
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/video/adf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/video/adf.h b/include/uapi/video/adf.h index e35a505882da..2ba345ca458b 100644 --- a/include/uapi/video/adf.h +++ b/include/uapi/video/adf.h @@ -36,6 +36,9 @@ enum adf_interface_type { ADF_INTF_TYPE_MAX = (~(__u32)0), }; +#define ADF_INTF_FLAG_PRIMARY (1 << 0) +#define ADF_INTF_FLAG_EXTERNAL (1 << 1) + enum adf_event_type { ADF_EVENT_VSYNC = 0, ADF_EVENT_HOTPLUG = 1, @@ -256,6 +259,7 @@ struct adf_interface_data { __u32 type; __u32 id; /* e.g. type=ADF_INTF_TYPE_DSI, id=1 => DSI.1 */ + __u32 flags; __u8 dpms_state; __u8 hotplug_detect; |