Bug 80382 - [BYT Regression]DP monitor was recognized as eDP
Summary: [BYT Regression]DP monitor was recognized as eDP
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Jesse Barnes
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 08:30 UTC by Guo Jinxian
Modified: 2017-10-06 14:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (120.83 KB, text/plain)
2014-06-23 08:30 UTC, Guo Jinxian
no flags Details
i915_opregion (8.00 KB, text/plain)
2014-06-24 07:05 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-06-23 08:30:01 UTC
Created attachment 101559 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
I unable to find good commit

Non-working platforms: BYT

==kernel==
--------------------------
origin/drm-intel-nightly: 78f31a2d50183db12c0532eadcf486b9ebfa5f6d(fails)
    drm-intel-nightly: 2014y-06m-19d-21h-00m-17s integration manifest
origin/drm-intel-next-queued: 9c33baa6b3bbb01c1a88dceba986b20e6642cf31(fails)
    drivers/i915: Fix unnoticed failure of init_ring_common()    
origin/drm-intel-fixes: 4a11e398b39b018c7aa3b22267cfdf3b7fae3625(fails)
    drm/i915: cache hw power well enabled state

==Bug detailed description==
-----------------------------
Boot the device with DP monitor, the DP monitor was recognized as eDP. If boot the device then plug DP monitor, DP unable to be detected. 

Output:
[root@x-byt05 tests]# ./testdisplay -i
Connectors:
id      encoder status          type    size (mm)       modes
25      24      connected       eDP     510x290         11
  modes:
  name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot flags type clock
[0]  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
[1]  1280x1024 75 1280 1296 1440 1688 1024 1025 1028 1066 0x5 0x40 135000
[2]  1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 0x5 0x40 108000
[3]  1152x864 75 1152 1216 1344 1600 864 865 868 900 0x5 0x40 108000
[4]  1024x768 75 1024 1040 1136 1312 768 769 772 800 0x5 0x40 78800
[5]  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
[6]  800x600 75 800 816 896 1056 600 601 604 625 0x5 0x40 49500
[7]  800x600 60 800 840 968 1056 600 601 605 628 0x5 0x40 40000
[8]  640x480 75 640 656 720 840 480 481 484 500 0xa 0x40 31500
[9]  640x480 60 640 656 752 800 480 490 492 525 0xa 0x40 25200
[10]  720x400 70 720 738 846 900 400 412 414 449 0x6 0x40 28320
14      15      connected       VGA     0x0             5
  modes:
  name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot flags type clock
[0]  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
[1]  800x600 60 800 840 968 1056 600 601 605 628 0x5 0x40 40000
[2]  800x600 56 800 824 896 1024 600 601 603 625 0x5 0x40 36000
[3]  848x480 60 848 864 976 1088 480 486 494 517 0x5 0x40 33750
[4]  640x480 60 640 656 752 800 480 489 492 525 0xa 0x40 25175
17      0       disconnected    HDMI-A  520x290         0
21      0       disconnected    DP      0x0             0
23      0       disconnected    HDMI-A  0x0             0

CRTCs:
id      fb      pos     size
6       48      (0,0)   (1920x1080)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
11      48      (0,0)   (1024x768)
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000


==Reproduce steps==
---------------------------- 
1.  Boot the device with DP monitor
2.  ./testdisplay -i
Comment 1 Ville Syrjala 2014-06-23 09:50:23 UTC
Sounds like a crap VBT. Please attach /sys/kernel/debug/dri/0/i915_opregion so we can verify.
Comment 2 Guo Jinxian 2014-06-24 07:05:22 UTC
Created attachment 101640 [details]
i915_opregion

(In reply to comment #1)
> Sounds like a crap VBT. Please attach /sys/kernel/debug/dri/0/i915_opregion
> so we can verify.
Comment 3 Ville Syrjala 2014-06-24 08:22:14 UTC
EFP device info:
	Device type: 0x1806 (unknown)
	Port: 0x08 (DP-C)

That's eDP. So the VBT is wrong for your board. Is this some development board with reworks done to support DP on port C?
Comment 4 Jesse Barnes 2014-06-24 19:41:13 UTC
Marking as not our bug.  Jinxian, please re-open if this happens with a production system.  In that case, we may be mis-parsing or mis-interpreting the VBT yet again.  Who would have thought a data structure could be so ambiguous.
Comment 5 Gordon Jin 2014-07-21 01:55:03 UTC
Yes, it's development board with reworks done.
Comment 6 Elizabeth 2017-10-06 14:37:39 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.