From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915/i2c: Track users of GMBUS force-bit Date: Sat, 10 Nov 2012 21:52:44 +0100 Message-ID: <20121110205244.GJ5854@phenom.ffwll.local> References: <1352563101-1701-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 3785A9E73F for ; Sat, 10 Nov 2012 12:51:30 -0800 (PST) Received: by mail-ee0-f49.google.com with SMTP id c1so2771926eek.36 for ; Sat, 10 Nov 2012 12:51:29 -0800 (PST) Content-Disposition: inline In-Reply-To: <1352563101-1701-1-git-send-email-chris@chris-wilson.co.uk> 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 , intel-gfx@lists.freedesktop.org, Mika Kuoppala List-Id: intel-gfx@lists.freedesktop.org On Sat, Nov 10, 2012 at 03:58:21PM +0000, Chris Wilson wrote: > This fixes a regression for SDVO from > > commit fbfcc4f3a0cf8bbde87646b74241faa8e37426bf > Author: Jani Nikula > Date: Mon Oct 22 16:12:18 2012 +0300 > > drm/i915/sdvo: restore i2c adapter config on intel_sdvo_init() failures > > As SDVOB and SDVOC are multiplexed on the same pin, if a chipset does > not have the second SDVO encoder, it will then remove the force-bit > setting on the common i2c adapter during teardown. All subsequent > attempts of trying to use GMBUS with SDVOB then fail. > > Signed-off-by: Chris Wilson > Cc: Jani Nikula > Cc: Mika Kuoppala Fixes annoyingly loud WARN spam on my i915G w/ sdvo. Oh, how wonderful it would be when our QA would run more than 5 machines and be able to report such regression timely and with a bisect result ... /me keeps on dreaming Thanks a lot for tracking this down, patch merged to dinq. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch