drm: add flag support for address space alloc

Use the previously unused padding space for passing flags

Change-Id: I268f9f304bb422050370bdfcca670fb7e70dd9c6
(cherry picked from commit 5afe8e056d6756c8e2ac96279542c3d2daf0742d)
diff --git a/include/drm/nouveau_drm.h b/include/drm/nouveau_drm.h
index 915853c..1372f53 100644
--- a/include/drm/nouveau_drm.h
+++ b/include/drm/nouveau_drm.h
@@ -213,10 +213,11 @@
 	uint32_t handle;
 };
 
+#define NOUVEAU_GEM_AS_SPARSE	0x00000001
 struct drm_nouveau_gem_as_alloc {
 	uint64_t pages;     /* in, page length */
 	uint32_t page_size; /* in, byte page size */
-	uint32_t pad;
+	uint32_t flags; /* in, flags of address space */
 	uint64_t align; /* in, requested alignment in bytes */
 	uint64_t address; /* in/out, non-zero for fixed address allocation */
 };