rambi: always show dev/rec screens on eDP connected panel

bit: 7    6     5     4     3    2    1   0
     LFP2 EFP2  EFP3  CRT2  LFP  EFP  TV  CRT
so int 15 0x5f35 need to return 0x8(LFP/eDP) instead of 0x2(TV).

BUG=chrome-os-partner:26365
BUG=chrome-os-partner:27505
BRANCH=rambi
TEST=Booted with and without HDMI connected monitor. DEV screen
     always showed on eDP panel on Rambi.

Change-Id: I8f876e78383424f517689eb25e9229a27739957b
Original-Change-Id: I77edbeb3c86549f90302b4296b5a2f50313ca675
Signed-off-by: Kein Yuan <kein.yuan@intle.com>
Reviewed-on: https://chromium-review.googlesource.com/193303
Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org>
Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit dd375462147f182331f336ba826108e58b4e0a47)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/7216
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Kein Yuan 2014-04-01 10:13:38 -07:00 committed by Marc Jones
parent 787809e9ab
commit 1d07bf2609
1 changed files with 5 additions and 5 deletions

View File

@ -66,16 +66,16 @@ static int int15_handler(void)
/* /*
* Boot Display Device Hook: * Boot Display Device Hook:
* bit 0 = CRT * bit 0 = CRT
* bit 1 = TV (eDP) * * bit 1 = TV
* bit 2 = EFP * bit 2 = EFP (HDMI)
* bit 3 = LFP * bit 3 = LFP (eDP)*
* bit 4 = CRT2 * bit 4 = CRT2
* bit 5 = TV2 (eDP) * bit 5 = TV2
* bit 6 = EFP2 * bit 6 = EFP2
* bit 7 = LFP2 * bit 7 = LFP2
*/ */
X86_AX = 0x005f; X86_AX = 0x005f;
X86_CX = 0x0002; X86_CX = 0x0008;
res = 1; res = 1;
break; break;
case 0x5f51: case 0x5f51: