From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: [PATCH 6/6] drm/i915: set the backlight panel delays registers to 1 Date: Tue, 28 Jan 2014 10:23:41 +0200 Message-ID: <87r47s4ir6.fsf@intel.com> References: <1387470584-1662-1-git-send-email-przanoni@gmail.com> <1387470584-1662-7-git-send-email-przanoni@gmail.com> <87txco4jy2.fsf@intel.com> <20140128080214.GK9772@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 2706610597F for ; Tue, 28 Jan 2014 00:20:26 -0800 (PST) In-Reply-To: <20140128080214.GK9772@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org, Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org On Tue, 28 Jan 2014, Daniel Vetter wrote: > On Tue, Jan 28, 2014 at 09:57:57AM +0200, Jani Nikula wrote: >> On Thu, 19 Dec 2013, Paulo Zanoni wrote: >> > From: Paulo Zanoni >> > >> > Because we already do the wait in software: see >> > ironlake_wait_backlight_on and ironlake_edp_wait_backlight_off. >> > >> > For the "backlight on" delay, even BSpec says we need to program 0x1 >> > to PP_ON_DELAYS 12:0. >> > >> > For the "backlight off" delay, if we don't do the same thing, when we >> > call ironlake_wait_panel_off we'll end up waiting for the it again. >> > >> > On my machine the off delay is 200ms, so we save this amount of time >> > whenever we disable the panel (e.g, suspend). >> >> Whoa. This appears to fix an eDP black screen with 24->18 bpp dithering: >> >> https://bugs.freedesktop.org/show_bug.cgi?id=73567#c21 > > I dunno whether I should cry or laugh ... Problem is that I don't really > see a way to port just this patch to 3.14. So we need the entire series, > which is a bit much imo. At least until we have more users scaling our > walls. I also dunno whether I should cry or laugh... but for me it's because the report has two devices of the same model, and one gets fixed by this and the other not... BR, Jani. -- Jani Nikula, Intel Open Source Technology Center