[Intel-gfx] [PATCH 2/3] drm/i915: Convert DIP port switch cases to a simple macro

Damien Lespiau damien.lespiau at intel.com
Mon Feb 10 13:11:33 CET 2014


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>

-- 
Damien



More information about the Intel-gfx mailing list