commit | 822cdc52936e026a24c684ccc98850b251c06206 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Jan 23 23:15:34 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Feb 13 10:43:21 2014 +0100 |
tree | b5a9ede6d73aafc1b88136bf3987f2a1821be7f7 | |
parent | 4d10cc0f861ed776f6cf953fd1df933c8b5c9812 [diff] |
drm/i915: Convert DIP port switch cases to a simple macro 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@linux.intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>