On Sun, Apr 13, 2014 at 10:44:28AM +0200, Daniel Vetter wrote:
On Sat, Apr 12, 2014 at 11:04:31PM +0100, Russell King - ARM Linux wrote:
So we try to set a mode on CRTC 3 using encoder 8 and connector 9. However connector 9 is disconnected, so the connector has its encoder disassociated. The encoder is now not used, so the encoder is disabled. This then means that the CRTC is not being used by any encoder, so the CRTC gets disabled.
That's a bit strange since userspace normally shouldn't attempt to set a mode when nothing is connected, at least if you don't force a specific configuration. In any case it sounds like you want
commit e3d6ddb35f6221859b6054879d186e13a3af351e Author: Daniel Vetter daniel.vetter@ffwll.ch Date: Tue Apr 1 22:15:00 2014 +0200
drm/crtc-helper: don't disable disconnected outputs
I wonder whether we should put a cc: stable onto that one (maybe after a bit more testing) since apparently userspace can force the kernel to do stupid things if we auto-disable disconnected outputs.
Yes, adding that change makes the warning go away. Thanks.
Tested-by: Russell King rmk+kernel@arm.linux.org.uk
It may be worth including some extra information in the commit.