Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760067Ab2FHWyW (ORCPT ); Fri, 8 Jun 2012 18:54:22 -0400 Received: from smtp.fireflyinternet.com ([109.228.6.236]:53928 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757876Ab2FHWxx (ORCPT ); Fri, 8 Jun 2012 18:53:53 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.66.37; From: Chris Wilson Subject: Re: [git pull] drm intel + exynos fixes To: Linus Torvalds Cc: Dave Airlie , Daniel Vetter , DRI mailing list , linux-kernel@vger.kernel.org In-Reply-To: References: <1339193608_596134@CP5-2952> Date: Fri, 08 Jun 2012 23:52:52 +0100 X-Originating-IP: 78.156.66.37 Message-ID: <1339196027_596874@CP5-2952> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1516 Lines: 30 On Fri, 8 Jun 2012 15:23:15 -0700, Linus Torvalds wrote: > On Fri, Jun 8, 2012 at 3:12 PM, Chris Wilson wrote: > > > > So it falls back to > > load-detection, which in your case it cannot do since all the available > > pipes are assigned and so it just reports the VGA connection as unknown. > > Btw, it's a singularly stupid decision to say "Ok, I *know* I have a > monitor on output X, and I have no clue what-so-ever what I have on > output Y, and no indication there is anything even there, so let me > just degrade the output on output Y just in case". And that was my point. You were blaming the patch for making you aware of existing behaviour that results in utter confusion, for as Alex points out there is no sane way for userspace to handle the unknown connection status from the detection routine. As such it is probably better if that was handled internally as "result indeterminate; do not update current detection status" which is the behaviour of some of the drm helpers but uniformly. If that were true, then userspace would continue to be told that the connection status was disconnected until a monitor was plugged in. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/