From: Damien Lespiau Date: Thu, 27 Mar 2014 18:48:33 +0000 (+0530) Subject: drm/i915/skl: Introduce intel_num_planes() X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~79^2~21^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af31a653d6c8e1708c27b7f32cafd5435b3bb90;p=pandora-kernel.git 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 Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed