drm/i915/skl: Introduce a I915_MAX_PLANES macro
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 27 Mar 2014 18:48:32 +0000 (00:18 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:57:31 +0000 (14:57 +0200)
commit84139d1e39265c20a79daace16ef4b6a9a644d9a
tree9803402ed2232def2b9e151870281c4ceb624334
parent7feb8b88e7513d6b093539c2b7291cfb87cb917a
drm/i915/skl: Introduce a I915_MAX_PLANES macro

This can be useful to declare structures around pipes and planes and
don't have to go back auditing the code if the next platorm bump that
number.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h