commit | d0d110e096298d2715aa26b3698e604e0d4a2fb9 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Dec 20 00:33:24 2011 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Tue Dec 20 20:34:32 2011 +0000 |
tree | 5ea4b13f7fcb28940a9c1f5d4ffa28188ebc4704 | |
parent | c75488376a55c207172f78664d600b87df88107f [diff] |
drm: Add drm_format_num_planes() utility function This function returns the number of planes used by a specific pixel format. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Rob Clark <rob.clark@linaro.org> Signed-off-by: Dave Airlie <airlied@redhat.com>