drm/i915: introduce macros to check pipe config properties
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Apr 2013 09:25:34 +0000 (11:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Apr 2013 19:51:18 +0000 (21:51 +0200)
commit08a24034a84866e3abb7fdb35ed0e479b240c205
tree8152e9a940d469885d23a16e1603855f1c3d9a54
parent0973f18f8a764d869add12728887c2d1cc281ffb
drm/i915: introduce macros to check pipe config properties

This code will get _really_ repetive, and we'll end up with tons more
of this kind. So extract the common patterns.

This should also help when we add a lazy pipe_config compare mode for
fastboot.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c