diff options
author | Ville Syrjälä <[email protected]> | 2014-01-23 23:15:34 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-02-13 10:43:21 +0100 |
commit | 822cdc52936e026a24c684ccc98850b251c06206 (patch) | |
tree | b5a9ede6d73aafc1b88136bf3987f2a1821be7f7 /lib/cpu-notifier-error-inject.c | |
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ä <[email protected]>
Reviewed-by: Damien Lespiau <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions