Bug 89114 - Hot unplug does not release CRTC
Summary: Hot unplug does not release CRTC
Status: CLOSED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-13 01:35 UTC by Chris Bainbridge
Modified: 2017-07-24 22:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Chris Bainbridge 2015-02-13 01:35:18 UTC
On hot-unplugging it appears that the CRTC isn't released automatically. After HDMI3 has been unplugged, attempt to use another output:

$ xrandr --output DP3 --auto
xrandr: cannot find crtc for output DP3
$ xrandr |grep HDMI3
HDMI3 disconnected 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
$ xrandr --output HDMI3 --off 
$ xrandr --output DP3 --auto #[now it works]

Shouldn't hot-unplugging automatically disable the output so that calling "xrandr --off" manually is unnecessary?
Comment 1 Chris Wilson 2015-02-13 08:19:44 UTC
No. The CRTC is kept alive until userspace processes the hotplug notification. This is because policy is driven by userspace. (It has a number of useful side-effects, not least of which is predicatability.)


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.