From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Mask LPSP to get PSR working even with Power Well in use by audio. Date: Thu, 3 Oct 2013 19:53:19 +0200 Message-ID: <20131003175319.GH31334@phenom.ffwll.local> References: <1380817886-5924-1-git-send-email-rodrigo.vivi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f179.google.com (mail-ea0-f179.google.com [209.85.215.179]) by gabe.freedesktop.org (Postfix) with ESMTP id C5E7FE5D3E for ; Thu, 3 Oct 2013 10:53:01 -0700 (PDT) Received: by mail-ea0-f179.google.com with SMTP id b10so1240249eae.24 for ; Thu, 03 Oct 2013 10:53:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1380817886-5924-1-git-send-email-rodrigo.vivi@gmail.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: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Oct 03, 2013 at 01:31:26PM -0300, Rodrigo Vivi wrote: > Power Well in use forces constantly PSR to exit. > On recent Kernel I noticed that PSR Performance Counter was always 0 > indicating that PSR was never really achieved. > By masking LPSP, PSR can work normally and save power on Haswell. > > Two bugs had been raised with PSR flag enabled: > - "Screen flickers when booted by enabling PSR in the kernel (i915.enable_psr=1) , the system is booting to a gray screen." > - "When booting the DUT with PSR feature enabled in the kernel (i915.enable_psr=1) , the system is booting to a gray screen." > > Both bugs has been fixed by this patch. > > v2: proper comment for -fixes > > Tested-by: Selvaraj, Elavarasan > Signed-off-by: Rodrigo Vivi Picked up for -fixes, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch