[Intel-gfx] [PATCH 2/3] drm/i915: Convert DIP port switch cases to a simple macro
Daniel Vetter
daniel at ffwll.ch
Thu Feb 13 10:43:39 CET 2014
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 at linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> >
> > 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älä <ville.syrjala at linux.intel.com>
>
> Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list