Bug 31094

Summary: xrandr "DP2 unknown connection"
Product: DRI Reporter: Oleksij Rempel <linux>
Component: DRM/IntelAssignee: Chris Wilson <chris>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jbarnes
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg with drm.debug enabled none

Description Oleksij Rempel 2010-10-24 23:28:17 UTC
xrandr report me new connection i never seen before 
"DP2 unknown connection". There is only DVI monitor attached to this
board. kernel 2.6.36-rc8-01148-g3c17fe4 from intel_drm_next


Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
521mm x 293mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DP2 unknown connection (normal left inverted right x axis y axis)
   1360x768       59.8  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9
Comment 1 Oleksij Rempel 2010-10-24 23:33:52 UTC
Created attachment 39754 [details]
dmesg with drm.debug enabled

Huge dmesg with drm debug enabled. Here is some part of this log.
for example on some stage DP1 declared as disconnected:
[drm:drm_helper_probe_single_connector_modes], [CONNECTOR:10:DisplayPort-1]
[drm:drm_helper_probe_single_connector_modes], [CONNECTOR:10:DisplayPort-1] disconnected

DP2 repeatedly get some errors:
[drm:drm_helper_probe_single_connector_modes], [CONNECTOR:16:DisplayPort-2]
[drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x514500c8
[drm:intel_dp_aux_ch], dp_aux_ch timeout status 0x514500c8
[drm:intel_dp_i2c_aux_ch], aux_ch failed -110
Comment 2 Oleksij Rempel 2010-10-24 23:36:55 UTC
My HW: Intel DG45ID board with
intel_stepping 
Vendor: 0x8086, Device: 0x2e22, Revision: 0x03 (A3)

Note: DVI connector is wrongly recognized as HDMI2
Comment 3 Chris Wilson 2010-10-27 13:20:56 UTC
commit dd2b379f071424f36f9f90ff83cb4ad058c7b6ed
Author: Takashi Iwai <tiwai@suse.de>
Date:   Tue Oct 26 17:14:36 2010 +0100

    drm/i915: Fix typo from "Enable DisplayPort Audio"
    
    Hi,
    
    while I looked through your changes in drm-intel git tree (as I've got
    a pressure for supporting DisplayPort audio), I stumbled on the
    possible bug in the commit a9756bb5b25d5d997df0c5d8c95db01292191bea
    
        Author: Zhenyu Wang <zhenyuw@linux.intel.com>
        Date:   Sun Sep 19 13:09:06 2010 +0800
        drm/i915: Enable DisplayPort audio
    
    In this commit, you changed the return value of g4x_dp_detect()
    to "bit", but it should be "status", I suppose.
    
    [ickle: mea culpa.]
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31094
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

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.