]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Introduce intel_num_planes()
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 27 Mar 2014 18:48:33 +0000 (00:18 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:57:32 +0000 (14:57 +0200)
commit33ca9f461bb4fe39b94a8a0e6481ce5822519a9c
treee0887e8e104525cd74355ae6aac85519e4102122
parentbd897093f710c5acf96e5a29781745df2fd14712
drm/i915/skl: Introduce intel_num_planes()

It can be handy to get the number of planes for this pipe, ie including
the primary plane to loop over them. Introduce a little function to do
so.

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/intel_drv.h