summaryrefslogtreecommitdiffstats
path: root/chromeos/display/output_util.cc
diff options
context:
space:
mode:
authorisimha@nvidia.com <isimha@nvidia.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-23 05:25:30 +0000
committerisimha@nvidia.com <isimha@nvidia.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-23 05:25:30 +0000
commit17992909f408a1cd85888ee3f699aba6c43ad75b (patch)
tree6453acf1b4dcb13ca11f9a45fe49c60270881a6f /chromeos/display/output_util.cc
parentb469e8b4fa943d5e1fca0fc42bb373d49db116d1 (diff)
downloadchromium_src-17992909f408a1cd85888ee3f699aba6c43ad75b.zip
chromium_src-17992909f408a1cd85888ee3f699aba6c43ad75b.tar.gz
chromium_src-17992909f408a1cd85888ee3f699aba6c43ad75b.tar.bz2
Add "DSI" to list of acceptable internal display names
Nvidia's Dalmore and Venice platforms use "DSI" as the internal output name. BUG=None TEST=Ran pwoer_BacklightControl autotest, which decreases brightness to 0, and "DSI" display turns off (because it is internal). Review URL: https://chromiumcodereview.appspot.com/19724002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213044 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/display/output_util.cc')
-rw-r--r--chromeos/display/output_util.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromeos/display/output_util.cc b/chromeos/display/output_util.cc
index cd993c4..ba26684 100644
--- a/chromeos/display/output_util.cc
+++ b/chromeos/display/output_util.cc
@@ -19,6 +19,7 @@ namespace {
// Prefixes for the built-in displays.
const char kInternal_LVDS[] = "LVDS";
const char kInternal_eDP[] = "eDP";
+const char kInternal_DSI[] = "DSI";
// Returns 64-bit persistent ID for the specified manufacturer's ID and
// product_code_hash, and the index of the output it is connected to.
@@ -316,7 +317,8 @@ bool ParseOutputOverscanFlag(const unsigned char* prop,
}
bool IsInternalOutputName(const std::string& name) {
- return name.find(kInternal_LVDS) == 0 || name.find(kInternal_eDP) == 0;
+ return name.find(kInternal_LVDS) == 0 || name.find(kInternal_eDP) == 0 ||
+ name.find(kInternal_DSI) == 0;
}
} // namespace chromeos