From: Chris Wilson Subject: Re: [PATCH 3/4] drm/i915: enable VT switchless resume v3 Date: Wed, 3 Apr 2013 11:54:23 +0100 Message-ID: <20130403105423.GA3877@cantiga.alporthouse.com> References: <1364315146-20542-1-git-send-email-jbarnes@virtuousgeek.org> <1364315146-20542-3-git-send-email-jbarnes@virtuousgeek.org> <20130403091540.GK2228@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id E0B96E5C0E for ; Wed, 3 Apr 2013 03:54:34 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130403091540.GK2228@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Apr 03, 2013 at 11:15:40AM +0200, Daniel Vetter wrote: > On Tue, Mar 26, 2013 at 09:25:45AM -0700, Jesse Barnes wrote: > > With the other bits in place, we can do this safely. > > > > v2: disable backlight on suspend to prevent premature enablement on resume > > v3: disable CRTCs on suspend to allow RTD3 (Kristen) > > > > Signed-off-by: Jesse Barnes > > Something seems to be race with this, occasionally when resuming my vt is > on the X session (at least nothing happens when I try to switch to it), > the cursor is enabled, but I see the kernel console window. > > Doing a vt switch to a non-X console and back to X fixes things. I haven't > looked exactly where we could race ... This might be a DRM_MASTER race, if X fails to gain DRM_MASTER its takeover is postponed indefinitely. Any clues in Xorg.0.log? -Chris -- Chris Wilson, Intel Open Source Technology Centre