From: sourab.gupta@intel.com Subject: [RFC 1/2] include/drm: Rename the 'pad' field to 'flags' of gem_create ioctl Date: Wed, 5 Mar 2014 17:03:18 +0530 Message-ID: <1394019199-8723-2-git-send-email-sourab.gupta@intel.com> References: <1394019199-8723-1-git-send-email-sourab.gupta@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 11A64FA548 for ; Wed, 5 Mar 2014 03:32:50 -0800 (PST) In-Reply-To: <1394019199-8723-1-git-send-email-sourab.gupta@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: "Cc: Daniel Vetter" , Sourab Gupta , "Cc: Jesse Barnes" , Akash Goel , "Cc: Chris Wilson" List-Id: intel-gfx@lists.freedesktop.org From: Sourab Gupta 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 Signed-off-by: Akash Goel --- include/drm/i915_drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 1.7.9.5