diff mbox

[RFC,1/2] include/drm: Rename the 'pad' field to 'flags' of gem_create ioctl

Message ID 1394019199-8723-2-git-send-email-sourab.gupta@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

sourab.gupta@intel.com March 5, 2014, 11:33 a.m. UTC
From: Sourab Gupta <sourab.gupta@intel.com>

Renamed the 'pad' field to 'flags' of gem_create ioctl.
Also, added a new flag I915_CPU_MAP_NOT_NEEDED which can be passed with
gem_create ioctl.

Signed-off-by: Sourab Gupta <sourab.gupta@intel.com>

Signed-off-by: Akash Goel <akash.goel@intel.com>
---
 include/drm/i915_drm.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 2f4eb8c..39ff300 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -431,7 +431,8 @@  struct drm_i915_gem_create {
 	 * Object handles are nonzero.
 	 */
 	__u32 handle;
-	__u32 pad;
+	__u32 flags;
+#define I915_CPU_MAP_NOT_NEEDED 0x1
 };
 
 struct drm_i915_gem_pread {