drm_format_num_planes — get the number of planes for format
int drm_format_num_planes (
)
format
pixel format (DRM_FORMAT_*)
The number of planes used by the specified pixel format.