Bug 69204 - [Baytrail-M] xrandr can detect VGA while only plugged in eDP on machine
Summary: [Baytrail-M] xrandr can detect VGA while only plugged in eDP on machine
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-11 05:33 UTC by shui yangwei
Modified: 2017-10-06 14:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg: VGA detected without been plugged (112.03 KB, text/plain)
2013-09-11 05:33 UTC, shui yangwei
no flags Details

Description shui yangwei 2013-09-11 05:33:17 UTC
Created attachment 85601 [details]
dmesg: VGA detected without been plugged

Environment:
--------------------
Kernel: (drm-intel-nightly)da66146425c3136943452988afd3d64cd551da58
Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Date:   Fri Sep 6 16:03:28 2013 +0300
    drm/i915: include hangcheck action and score in error_state

lspci:
--------------------
00:02.0 VGA compatible controller: Intel Corporation Device 0162 (rev 09)

Test Steps:
--------------------
1. Only with eDP plugged on machine
2. xinit & ,  xrandr:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 282mm x 165mm
   1920x1080      60.0*+
   1400x1050      60.0
   1280x1024      60.0
   1280x960       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm   1024x768       60.0*
   800x600        60.3     56.2
   848x480        60.0
   640x480        59.9

Description:
---------------------
In our opinion, xrandr can only detect the plugged display pipe, but Baytrail machine can print VGA information without been plugged. Add command "video=VGA-1:d" in grub, we can disable VGA and  xrandr will display correctly. Both 32bit and 64bit machine reproduceable. This issue exists on older kernels, it's not a regression.
Comment 1 shui yangwei 2013-09-11 05:54:52 UTC
If we only plugged VGA, xrandr also output both VGA and eDP pipe information.
Comment 2 Daniel Vetter 2013-09-11 07:33:40 UTC
Should be fixed with

commit 6c4a8962a4a078cacfc8eb5d4bd79f6343b8cd7a
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Tue Sep 10 14:54:42 2013 -0700

    drm/i915/vlv: re-enable hotplug detect based probing on VLV/BYT
Comment 3 shui yangwei 2013-09-12 01:41:54 UTC
(In reply to comment #2)
> Should be fixed with
> 
> commit 6c4a8962a4a078cacfc8eb5d4bd79f6343b8cd7a
> Author: Jesse Barnes <jbarnes@virtuousgeek.org>
> Date:   Tue Sep 10 14:54:42 2013 -0700
> 
>     drm/i915/vlv: re-enable hotplug detect based probing on VLV/BYT

OK, I find  the patch works, but there's some strange things come up. I will file new bugs and paste the link here to track.
Comment 4 shui yangwei 2013-09-24 04:02:51 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Should be fixed with
> > 
> > commit 6c4a8962a4a078cacfc8eb5d4bd79f6343b8cd7a
> > Author: Jesse Barnes <jbarnes@virtuousgeek.org>
> > Date:   Tue Sep 10 14:54:42 2013 -0700
> > 
> >     drm/i915/vlv: re-enable hotplug detect based probing on VLV/BYT
> 
> OK, I find  the patch works, but there's some strange things come up. I will
> file new bugs and paste the link here to track.

Other newly found bugs are not related to xrandr, so there's no need to track other bugs here anymore.
Comment 5 Elizabeth 2017-10-06 14:43:14 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.