diff options
author | Greg Hackmann <ghackmann@google.com> | 2013-09-13 11:23:05 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-19 13:10:32 -0700 |
commit | e87b7cad662ee6f373afcacb5dcd3b52ffcde87e (patch) | |
tree | c4b086c9a7067f5bb956521a14cc012dda001df1 /include/video | |
parent | a1eadbd034a44e33191e5eefb1ca21f818bc0d43 (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.h | 6 |
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) |