minigbm: Add YV12 for i915

At the moment, the ArcCodec produces YV12 on Intel.  The gralloc
module should support it, atleast temporarily until UYVY hardware
overlays are enabled on CrOS.

TEST=ran graphics_Gbm, tested Chrome boots on Cyan
BUG=b/29335168, chromium:616275
CQ-DEPEND=CL:372359

Change-Id: I27c888d3467aa89e8ca48b22523cbc76973aa314
Reviewed-on: https://chromium-review.googlesource.com/373048
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
diff --git a/helpers.h b/helpers.h
index 7dfcc41..923ce13 100644
--- a/helpers.h
+++ b/helpers.h
@@ -10,8 +10,8 @@
 #include "drv.h"
 
 size_t drv_num_planes_from_format(uint32_t format);
-int drv_bpp_from_format(uint32_t format);
-int drv_stride_from_format(uint32_t format, uint32_t width);
+int drv_bpp_from_format(uint32_t format, size_t plane);
+int drv_stride_from_format(uint32_t format, uint32_t width, size_t plane);
 int drv_dumb_bo_create(struct bo *bo, uint32_t width, uint32_t height,
 		       uint32_t format, uint32_t flags);
 int drv_dumb_bo_destroy(struct bo *bo);