From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: drop buggy write to FDI_RX_CHICKEN register Date: Thu, 15 Nov 2012 14:22:27 +0100 Message-ID: <20121115132227.GW5854@phenom.ffwll.local> References: <1352911659-11757-1-git-send-email-daniel.vetter@ffwll.ch> <275ffc$7dta74@fmsmga002.fm.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f177.google.com (mail-ea0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 570C5A0202 for ; Thu, 15 Nov 2012 05:21:10 -0800 (PST) Received: by mail-ea0-f177.google.com with SMTP id n13so642868eaa.36 for ; Thu, 15 Nov 2012 05:21:09 -0800 (PST) Content-Disposition: inline In-Reply-To: <275ffc$7dta74@fmsmga002.fm.intel.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: Jani Nikula , Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Thu, Nov 15, 2012 at 10:42:02AM +0000, Chris Wilson wrote: > On Wed, 14 Nov 2012 17:47:39 +0100, Daniel Vetter wrote: > > Jani Nikula noticed that the parentheses are wrong and we & the bit > > with the register address instead of the read-back value. He sent a > > patch to correct that. > > > > On second look, we write the same register in the previous line, and > > the w/a seems to be to set FDI_RX_PHASE_SYNC_POINTER_OVR to enable the > > logic, then keep always set FDI_RX_PHASE_SYNC_POINTER_OVR and toggle > > ~FDI_RX_PHASE_SYNC_POINTER_EN before/after enabling the pc transcoder. > > > > So the right things seems to be to simply kill the 2nd write. > > > > Cc: Jani Nikula > > Signed-off-by: Daniel Vetter > > Looks sane(r). > Reviewed-by: Chris Wilson Queued for -next, thanks for the review. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch