video: tegra: dc_ext: Add head status ioctl
authorRobert Morell <rmorell@nvidia.com>
Wed, 25 May 2011 02:27:57 +0000 (19:27 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 00:28:43 +0000 (17:28 -0700)
commitf631213cb3c236d5d86ae4416b1dcd16f23e78d6
treef0edfe27c956c63f5b7f5df4e5b138b7ef52a63f
parent9b48516ecf69cb299832e34d40e615667a33da6c
video: tegra: dc_ext: Add head status ioctl

This change adds a new tegra_dc_ext ioctl to allow userspace to query
whether a head is currently enabled or not.  This is necessary for the X
server to be able to restore the outputs that were enabled before it was
started.

bug 818525

Original-Change-Id: I6d209894081312621f623a722cdd3fcb53553c61
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: http://git-master/r/40530
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re42eae066099587529fbcc677c06ddefef18d36d
drivers/video/tegra/dc/ext/dev.c
include/video/tegra_dc_ext.h