From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 3/4] drm/i915: enable VT switchless resume v3 Date: Wed, 3 Apr 2013 08:13:25 -0700 Message-ID: <20130403081325.30197529@jbarnes-desktop> References: <1364315146-20542-1-git-send-email-jbarnes@virtuousgeek.org> <1364315146-20542-3-git-send-email-jbarnes@virtuousgeek.org> <20130403091540.GK2228@phenom.ffwll.local> <20130403105423.GA3877@cantiga.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy5-pub.bluehost.com (oproxy5-pub.bluehost.com [67.222.38.55]) by gabe.freedesktop.org (Postfix) with SMTP id 34AE8E5CDD for ; Wed, 3 Apr 2013 08:13:27 -0700 (PDT) In-Reply-To: <20130403105423.GA3877@cantiga.alporthouse.com> 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: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 3 Apr 2013 11:54:23 +0100 Chris Wilson wrote: > 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? Yeah, David said he saw this even w/o the VT switch patches. I've seen this bug too, maybe the lack of a VT switch makes the race a little more likely? -- Jesse Barnes, Intel Open Source Technology Center