Thank you Matt.

the VBT data in BIOS and VBT data captured in OS if they remain identical
would that mean this problem
is not due to VBT data copied into ACPINVS igd_opregion?

Attaching VBT data for this platform which is captured from OS

also Xrandr output on each Video Interface

On Wed, Aug 11, 2021 at 3:28 PM Matt DeVillier <matt.devill...@gmail.com>
wrote:

> On Wed, Aug 11, 2021 at 5:05 AM Rao G <grao....@gmail.com> wrote:
> >
> > Thanks Nico for your response.
> >
> > > am expecting some register should set with eDP as interface and when
> > > display is connected
> > >
> > > any clue why the i915 OS driver was turning off DP display in case 2?
> > I assume the HPD signal doesn't get through to the software.
> >
> > [Rao]
> > You mean I need to check PORT_HOTPLUG_EN and PORT_HOTPLUG_STAT mmio
> offsets for this issue?
> > BIOS display is fine, Windows logo is also seen but there is no signal
> when "windows login" is reached
>
> IME, that's almost always due to incorrect/missing/mismatched VBT data
> in the ACPI opregion/mailbox
>
> >
> > It had similar behaviour w.r.t to ubuntu 18.04, I configured DDI1 to "DP
> with HDMI/DVI"
> >
> > Can this issue be fixed with VBE data configured through BMP or it needs
> a fix from graphics MMIO?
> >
> > Regards
> > Rao
> >
> > On Fri, Jul 30, 2021 at 10:27 PM Nico Huber <nic...@gmx.de> wrote:
> >>
> >> On 30.07.21 18:59, Rao G wrote:
> >> > Thanks Nico.
> >> >
> >> > HPD is active , measured the signal
> >>
> >> Is your coreboot port public somewhere? If the hardware is fine, maybe
> >> the firmware isn't?
> >>
> >> >
> >> > Configured Ports
> >> > 1.DDI0- PortB - DP with HDMI/DVI is good in BIOS & OS
> >> > 2.DDI1- PortC - DP with HDMI/DVI is good in BIOS, i915 was turning
> off the
> >> > DP display (Never understood the reason)
> >>
> >> It's very suspicious that these two behave differently. Does the HPD
> >> signal (MMIO read) work for DDI0?
> >>
> >> >
> >> > So configured PortC with eDP
> >> >
> >> > If there is no way BIOS to detect the external display with MMIO
> registers
> >> > when configured as eDP, Can i not turn off the DDI1/Port C at runtime
> in
> >> > BIOS,
> >>
> >> Maybe it's time to switch to an open-source solution? libgfxinit will
> >> probably have the same issue, but it might be possible to get a rather
> >> short delay.
> >>
> >> > am expecting some register should set with eDP as interface and when
> >> > display is connected
> >> >
> >> > any clue why the i915 OS driver was turning off DP display in case 2?
> >>
> >> I assume the HPD signal doesn't get through to the software.
> >>
> >> Nico
> >
> > _______________________________________________
> > coreboot mailing list -- coreboot@coreboot.org
> > To unsubscribe send an email to coreboot-le...@coreboot.org
>
VBT header:
        VBT signature:          "$VBT VALLEYVIEW     "
        VBT version:            0x0486 (11.58)
        VBT header size:        0x0030 (48)
        VBT size:               0x11b2 (4530)
        VBT checksum:           0x24
        BDB offset:             0x00000030 (48)

BDB header:
        BDB signature:          "BIOS_DATA_BLOCK "
        BDB version:            155
        BDB header size:        0x0016 (22)
        BDB size:               0x1182 (4482)

BDB blocks present:
          1   2   4   6   7   8  10  12  13  14  15  16  17  18  19  20
         27  40  41  42  43  44  60  61  62  63  64 254

BDB block 1 - General features block:
        Panel fitting: text & graphics
        Flexaim: no
        Message: no
        Clear screen: 0
        DVO color flip required: no
        External VBT: no
        Enable SSC: no
        LFP on override: no
        Disable SSC on clone: no
        Underscan support for VGA timings: no
        Hotplug support in VBIOS: no
        Disable smooth vision: no
        Single DVI for CRT/DVI: no
        Inverted FDI Rx polarity: no
        Legacy monitor detect: yes
        Integrated CRT: yes
        Integrated TV: no
        Integrated EFP: no
        DP SSC enable: no
        DP SSC dongle supported: no

BDB block 2 - General definitions block:
        CRT DDC GMBUS addr: 0x02
        Use ACPI DPMS CRT power states: no
        Skip CRT detect at boot: no
        Use DPMS on AIM devices: yes
        Boot display type: 0x0000
        Child device size: 33
        Child device count: 5
        Child device info:
                Device handle: 0x0001 (CRT)
                Device type: 0x0001 (CRT)
                        HDMI output
                        Analog output
                I2C speed: 0x00
                DP onboard redriver: 0x00
                DP ondock redriver: 0x00
                HDMI level shifter value: 0x10
                HDMI max data rate: 0x01
                Offset to DTD buffer for edidless CHILD: 0x00
                Edidless EFP: no
                Compression enable: no
                Compression method CPS: no
                Dual pipe ganged eDP: no
                Compression structure index: 0x00)
                Slave DDI port: 0x00 (HDMI-A)
                AIM offset: 55872
                DVO Port: 0x06 (CRT)
                AIM I2C pin: 0x00
                AIM Slave address: 0x00
                DDC pin: 0x02
                EDID buffer ptr: 0x00
                DVO config: 0x00
                EFP routed through dock: no
                Lane reversal: no
                Onboard LSPCON: no
                Iboost enable: no
                HPD sense invert: no
                HDMI compatible? no
                DP compatible? no
                TMDS compatible? no
                Aux channel: 0x00
                Dongle detect: 0x00
                Pipe capabilities: 0x00
                SDVO stall signal available: no
                Hotplug connect status: 0x00
                Integrated encoder instead of SDVO: yes
                DVO wiring: 0x00
                DVO2 wiring: 0x00
                Device class extension: 0x00
                DVO function: 0x00
        Child device info:
                Device handle: 0x0004 (EFP 1 (HDMI/DVI/DP))
                Device type: 0x0814 (unknown)
                        TMDS/DVI signaling
                        DisplayPort output
                I2C speed: 0x00
                DP onboard redriver: 0x01
                DP ondock redriver: 0x00
                HDMI level shifter value: 0x00
                HDMI max data rate: 0x01
                Offset to DTD buffer for edidless CHILD: 0x00
                Edidless EFP: no
                Compression enable: no
                Compression method CPS: no
                Dual pipe ganged eDP: no
                Compression structure index: 0x00)
                Slave DDI port: 0x00 (HDMI-A)
                AIM offset: 52592
                DVO Port: 0x01 (HDMI-B)
                AIM I2C pin: 0x00
                AIM Slave address: 0x00
                DDC pin: 0x05
                EDID buffer ptr: 0x5ed4
                DVO config: 0x00
                EFP routed through dock: no
                Lane reversal: no
                Onboard LSPCON: no
                Iboost enable: no
                HPD sense invert: no
                HDMI compatible? no
                DP compatible? yes
                TMDS compatible? no
                Aux channel: 0x10
                Dongle detect: 0x00
                Pipe capabilities: 0x00
                SDVO stall signal available: no
                Hotplug connect status: 0x00
                Integrated encoder instead of SDVO: yes
                DVO wiring: 0x01
                DVO2 wiring: 0x00
                Device class extension: 0x00
                DVO function: 0x00
        Child device info:
                Device handle: 0x0040 (EFP 2 (HDMI/DVI/DP))
                Device type: 0x0814 (unknown)
                        TMDS/DVI signaling
                        DisplayPort output
                I2C speed: 0x00
                DP onboard redriver: 0x01
                DP ondock redriver: 0x00
                HDMI level shifter value: 0x00
                HDMI max data rate: 0x01
                Offset to DTD buffer for edidless CHILD: 0x00
                Edidless EFP: no
                Compression enable: no
                Compression method CPS: no
                Dual pipe ganged eDP: no
                Compression structure index: 0x00)
                Slave DDI port: 0x00 (HDMI-A)
                AIM offset: 52592
                DVO Port: 0x02 (HDMI-C)
                AIM I2C pin: 0x00
                AIM Slave address: 0x00
                DDC pin: 0x04
                EDID buffer ptr: 0x5f54
                DVO config: 0x00
                EFP routed through dock: no
                Lane reversal: no
                Onboard LSPCON: no
                Iboost enable: no
                HPD sense invert: no
                HDMI compatible? no
                DP compatible? yes
                TMDS compatible? no
                Aux channel: 0x20
                Dongle detect: 0x00
                Pipe capabilities: 0x00
                SDVO stall signal available: no
                Hotplug connect status: 0x00
                Integrated encoder instead of SDVO: yes
                DVO wiring: 0x02
                DVO2 wiring: 0x00
                Device class extension: 0x00
                DVO function: 0x00

BDB block 4 - Unknown, no decoding available:

BDB block 6 - Unknown, no decoding available:

BDB block 7 - Unknown, no decoding available:

BDB block 8 - Unknown, no decoding available:

BDB block 10 - Unknown, no decoding available:

BDB block 12 - Driver feature data block:
        Boot Device Algorithm: os default
        Block display switching when DVD active: yes
        Allow display switching when in Full Screen DOS: no
        Hot Plug DVO: yes
        Dual View Zoom: no
        Driver INT 15h hook: no
        Enable Sprite in Clone Mode: yes
        Use 00000110h ID for Primary LFP: no
        Boot Mode X: 1024
        Boot Mode Y: 768
        Boot Mode Bpp: 8
        Boot Mode Refresh: 60
        Enable LFP as primary: no
        Selective Mode Pruning: no
        Dual-Frequency Graphics Technology: no
        Default Render Clock Frequency: high
        NT 4.0 Dual Display Clone Support: no
        Default Power Scheme user interface: CUI
        Sprite Display Assignment when Overlay is Active in Clone Mode: 
secondary
        Display Maintain Aspect Scaling via CUI: yes
        Preserve Aspect Ratio: no
        Enable SDVO device power down: no
        CRT hotplug: no
        LVDS config: No LVDS
        Define Display statically: no
        Legacy CRT max X: 0
        Legacy CRT max Y: 0
        Legacy CRT max refresh: 85

BDB block 13 - Unknown, no decoding available:

BDB block 14 - Unknown, no decoding available:

BDB block 15 - Unknown, no decoding available:

BDB block 16 - Unknown, no decoding available:

BDB block 17 - Unknown, no decoding available:

BDB block 18 - Unknown, no decoding available:

BDB block 19 - Unknown, no decoding available:

BDB block 20 - Unknown, no decoding available:

BDB block 27 - eDP block:
        Panel 2 *
                Power Sequence: T3 2000 T7 10 T9 2000 T10 500 T12 5000
                Panel color depth: 18 bpp
                eDP sDRRS MSA Delay: Lane 1
                Fast link params:
                        rate: 1.62G
                        lanes: x1 mode
                        pre-emphasis: none
                        vswing: 0.4V

BDB block 40 - LVDS options block:
        Panel type: 2
        LVDS EDID available: yes
        Pixel dither: yes
        PFIT auto ratio: yes
        PFIT enhanced graphics mode: no
        PFIT enhanced text mode: no
        PFIT mode: 3

BDB block 41 - LVDS timing pointer data:
        Number of entries: 3

BDB block 42 - LVDS panel data block:
  Number of entries: 18 (preferred block marked with '*')
*       panel type 02: 1024x768 clock 65000000
                info:
                  LVDS: 0x42000300
                  PP_ON_DELAYS: 0x025807d0
                  PP_OFF_DELAYS: 0x01f407d0
                  PP_DIVISOR: 0x00270f04
                  PFIT: 0x20000000
                timings: 1024 1048 1184 1344 768 771 777 806 65000.00 (good)

BDB block 43 - Backlight info block:
        Inverter type: 2
             polarity: 0
             PWM freq: 200
        Minimum brightness: 0

BDB block 44 - Unknown, no decoding available:

BDB block 60 - Unknown, no decoding available:

BDB block 61 - Unknown, no decoding available:

BDB block 62 - Unknown, no decoding available:

BDB block 63 - Unknown, no decoding available:

BDB block 64 - Unknown, no decoding available:

BDB block 254 - Unknown, no decoding available:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA-1 disconnected primary (normal left inverted right x axis y axis)
        Identifier: 0x41
        Timestamp:  33268
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        non-desktop: 0 
                range: (0, 1)
        link-status: Good 
                supported: Good, Bad
DP-1 connected 1024x768+0+0 (0x47) normal (normal left inverted right x axis y 
axis) 0mm x 0mm
        Identifier: 0x42
        Timestamp:  33268
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID: 
                00ffffffffffff002ca2512800000000
                1e1c0104a50000000200000000000000
                00000000000001000100010001000100
                01000100010064190040410026301e64
                ae01000000000018000000fc004b4557
                494e5f31355f5847410a000000100000
                00000000000000000000000000000010
                0000000000000000000000000000008c
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        non-desktop: 0 
                range: (0, 1)
        link-status: Good 
                supported: Good, Bad
  1024x768 (0x47) 65.000MHz -HSync -VSync *current +preferred
        h: width  1024 start 1054 end 1154 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  778 end  808 total  809           clock  59.78Hz
HDMI-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x43
        Timestamp:  33268
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        aspect ratio: Automatic 
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        non-desktop: 0 
                range: (0, 1)
        link-status: Good 
                supported: Good, Bad
DP-2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x44
        Timestamp:  33268
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        non-desktop: 0 
                range: (0, 1)
        link-status: Good 
                supported: Good, Bad
HDMI-2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x45
        Timestamp:  33268
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        aspect ratio: Automatic 
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        non-desktop: 0 
                range: (0, 1)
        link-status: Good 
                supported: Good, Bad
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to