summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-09-13 11:23:05 -0700
committerGreg Hackmann <ghackmann@google.com>2013-10-11 16:50:31 -0700
commit27e7183c5aa432bfd6a99e6164761eae3917748b (patch)
treeb5f63767edc7e9b785cec603aa572414b623a409 /include/video
parentf9309086600f7689b61f38bb53ac00e45bb45f8f (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/video')
-rw-r--r--include/video/adf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/video/adf.h b/include/video/adf.h
index eb7b9be19c7e..82d49fcf00cf 100644
--- a/include/video/adf.h
+++ b/include/video/adf.h
@@ -355,6 +355,7 @@ struct adf_interface {
enum adf_interface_type type;
u32 idx;
+ u32 flags;
wait_queue_head_t vsync_wait;
ktime_t vsync_timestamp;
@@ -405,9 +406,10 @@ int __printf(4, 5) adf_device_init(struct adf_device *dev,
struct device *parent, const struct adf_device_ops *ops,
const char *fmt, ...);
void adf_device_destroy(struct adf_device *dev);
-int __printf(6, 7) adf_interface_init(struct adf_interface *intf,
+int __printf(7, 8) adf_interface_init(struct adf_interface *intf,
struct adf_device *dev, enum adf_interface_type type, u32 idx,
- const struct adf_interface_ops *ops, const char *fmt, ...);
+ u32 flags, const struct adf_interface_ops *ops, const char *fmt,
+ ...);
void adf_interface_destroy(struct adf_interface *intf);
static inline struct adf_device *adf_interface_parent(
struct adf_interface *intf)