minigbm: fix flags to align with GBM

For virtio, we can just forward use flags to host gbm. For that
to work, these flags must be aligned.

BUG=chromium:924405
TEST=compile

Change-Id: I64c03b4a374296a59749dccf65ab9ebeb59fc762
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/1804827
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
diff --git a/drv.h b/drv.h
index d3cf9d3..0cb062d 100644
--- a/drv.h
+++ b/drv.h
@@ -23,21 +23,19 @@
 #define BO_USE_CURSOR			(1ull << 1)
 #define BO_USE_CURSOR_64X64		BO_USE_CURSOR
 #define BO_USE_RENDERING		(1ull << 2)
-#define BO_USE_LINEAR			(1ull << 3)
-#define BO_USE_SW_READ_NEVER		(1ull << 4)
-#define BO_USE_SW_READ_RARELY		(1ull << 5)
-#define BO_USE_SW_READ_OFTEN		(1ull << 6)
-#define BO_USE_SW_WRITE_NEVER		(1ull << 7)
-#define BO_USE_SW_WRITE_RARELY		(1ull << 8)
-#define BO_USE_SW_WRITE_OFTEN		(1ull << 9)
-#define BO_USE_EXTERNAL_DISP		(1ull << 10)
-#define BO_USE_PROTECTED		(1ull << 11)
-#define BO_USE_HW_VIDEO_ENCODER		(1ull << 12)
-#define BO_USE_CAMERA_WRITE		(1ull << 13)
-#define BO_USE_CAMERA_READ		(1ull << 14)
-#define BO_USE_RENDERSCRIPT		(1ull << 16)
-#define BO_USE_TEXTURE			(1ull << 17)
-#define BO_USE_HW_VIDEO_DECODER		(1ull << 18)
+/* Skip for GBM_BO_USE_WRITE */
+#define BO_USE_LINEAR			(1ull << 4)
+#define BO_USE_TEXTURE			(1ull << 5)
+#define BO_USE_CAMERA_WRITE		(1ull << 6)
+#define BO_USE_CAMERA_READ		(1ull << 7)
+#define BO_USE_PROTECTED		(1ull << 8)
+#define BO_USE_SW_READ_OFTEN		(1ull << 9)
+#define BO_USE_SW_READ_RARELY	        (1ull << 10)
+#define BO_USE_SW_WRITE_OFTEN	        (1ull << 11)
+#define BO_USE_SW_WRITE_RARELY		(1ull << 12)
+#define BO_USE_HW_VIDEO_ENCODER         (1ull << 13)
+#define BO_USE_HW_VIDEO_DECODER         (1ull << 14)
+#define BO_USE_RENDERSCRIPT		(1ull << 15)
 
 
 /* Map flags */