From mboxrd@z Thu Jan 1 00:00:00 1970 From: Imre Deak Subject: Re: [PATCH] drm/i915: force full modeset if the connector is in DPMS OFF mode Date: Fri, 03 May 2013 14:39:54 +0300 Message-ID: <1367581194.2572.4.camel@intelbox> References: <1367580129-6681-1-git-send-email-imre.deak@intel.com> Reply-To: imre.deak@intel.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id B18E3E64AE for ; Fri, 3 May 2013 04:39:56 -0700 (PDT) In-Reply-To: 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 List-Id: intel-gfx@lists.freedesktop.org On Fri, 2013-05-03 at 13:32 +0200, Daniel Vetter wrote: > On Fri, May 3, 2013 at 1:27 PM, Daniel Vetter wrote: > > On Fri, May 3, 2013 at 1:22 PM, Imre Deak wrote: > >> Currently the driver's assumed behavior for a modeset with an attached > >> FB is that the corresponding connector will be switched to DPMS ON mode > >> if it happened to be in DPMS OFF (or another power save mode). This > >> wasn't enforced though if only the FB changed, everything else (format, > >> connector etc.) remaining the same. In this case we only set the new FB > >> base and left the connector in the old power save mode. > >> > >> Fix this by forcing a full modeset whenever there is an attached FB and > >> any affected connector is in a power save mode. > >> > >> Signed-off-by: Imre Deak > > > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61642 Chris marked this as a dup for another bug with an other root cause. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59834 Yes, this is tested against the patch already. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59339 Ok I'll point them to the fix. > > Safe for the first just a few wild guesses. Can you please spam > > bugzilla with this patch (there's tons more spurious kms_flip fail > > iirc, also a few of the kms_flip jitter reports should be fixed by > > now). > > Also, and i-g-t to specifically exercise this would be nice ... Maybe > easiest on top of kms_flip, using dpms off, but then a set_base as an > implicit dpms on. Ok, will put together something. --Imre > -Daniel > -- > Daniel Vetter > Software Engineer, Intel Corporation > +41 (0) 79 365 57 48 - http://blog.ffwll.ch