From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH 08/16] drm/i915/i2c: Convert from using GMBUS1 + reg_offset idiom to reg + 0 Date: Sat, 04 Jun 2011 00:09:29 +0100 Message-ID: References: <1305235044-9159-1-git-send-email-chris@chris-wilson.co.uk> <1305235044-9159-9-git-send-email-chris@chris-wilson.co.uk> <72a37e$j4eltu@orsmga002.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 680329E747 for ; Fri, 3 Jun 2011 16:09:39 -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: Keith Packard Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 03 Jun 2011 13:55:10 -0700, Keith Packard wrote: > On Fri, 13 May 2011 08:00:40 -0700, Keith Packard wrote: > Non-text part: multipart/signed > > On Fri, 13 May 2011 10:28:34 +0100, Chris Wilson wrote: > > > > > And how about something like: > > > > > > #define I915_GMBUS_WRITE(reg, val) \ > > > I915_WRITE(intel_gmbus_reg(dev_priv->dev, reg), val) > > > > > > I915_GMBUS_WRITE(0, val); > > I haven't seen a follow-up patch with this in place. I need to address the broader concerns raised by Jean Delvare first. Once I have our i2c adapter to his liking, I can then get the code to yours. -Chris -- Chris Wilson, Intel Open Source Technology Centre