diff options
author | Robert Morell <rmorell@nvidia.com> | 2011-03-21 14:42:35 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-11 11:54:05 -0700 |
commit | 2cd1c94506b47ee57bc0ee261ebe624b35c6b51a (patch) | |
tree | e9d3ebe8748873a0caa97389efc71cc831c1da1f /include | |
parent | ac745fa558eba59a6b18333d098188f65202b22d (diff) |
video: tegra: Expose possible bound head mask
This change adds support for userspace to query which heads an output
may be bound to. Since our implementation currently hardcodes the head
to output mapping, we currently always fill in a single bit. However,
for future implementations we will be able to dynamically bind outputs
to heads.
bug 818525
Change-Id: Ib0dead7748620a538c8f8d6ef548ca8b13a9c2b2
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40528
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/tegra_dc_ext.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h index a7c455ce8b4d..971beccb57fc 100644 --- a/include/video/tegra_dc_ext.h +++ b/include/video/tegra_dc_ext.h @@ -193,11 +193,23 @@ enum tegra_dc_ext_control_output_type { TEGRA_DC_EXT_DVI, }; +/* + * Get the properties for a given output. + * + * handle (in): Which output to query + * type (out): Describes the type of the output + * connected (out): Non-zero iff the output is currently connected + * associated_head (out): The head number that the output is currently + * bound to. -1 iff the output is not associated with any head. + * head_mask (out): Bitmask of which heads the output may be bound to (some + * outputs are permanently bound to a single head). + */ struct tegra_dc_ext_control_output_properties { __u32 handle; enum tegra_dc_ext_control_output_type type; __u32 connected; __s32 associated_head; + __u32 head_mask; }; struct tegra_dc_ext_control_output_edid { |