From: Daniel Vetter Subject: Re: [PATCH 2/3] drm/i915: Convert DIP port switch cases to a simple macro Date: Thu, 13 Feb 2014 10:43:39 +0100 Message-ID: <20140213094339.GB17001@phenom.ffwll.local> References: <1390511735-13677-1-git-send-email-ville.syrjala@linux.intel.com> <1390511735-13677-3-git-send-email-ville.syrjala@linux.intel.com> <20140210121133.GB9282@strange.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by gabe.freedesktop.org (Postfix) with ESMTP id 57C77FB194 for ; Thu, 13 Feb 2014 01:43:45 -0800 (PST) Received: by mail-ea0-f169.google.com with SMTP id h10so5025045eak.14 for ; Thu, 13 Feb 2014 01:43:43 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140210121133.GB9282@strange.amr.corp.intel.com> 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: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, Feb 10, 2014 at 12:11:33PM +0000, Damien Lespiau wrote: > On Thu, Jan 23, 2014 at 11:15:34PM +0200, ville.syrjala@linux.intel.com w= rote: > > From: Ville Syrj=E4l=E4 > > = > > We have a couple of switch cases to compute the port value for the > > VIDEO_DIP_CTL register. Replace them with a simple macro. > > = > > We do lose a few BUG() calls, but many people may consider that > > an improvement. > > = > > Signed-off-by: Ville Syrj=E4l=E4 > = > Reviewed-by: Damien Lespiau Queued for -next, thanks for the patch. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch