From: sourab.gupta@intel.com Subject: [RFC 0/3] Increase the utilization of Stolen area on VLV Date: Wed, 5 Mar 2014 17:05:37 +0530 Message-ID: <1394019340-8811-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 mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A019FA551 for ; Wed, 5 Mar 2014 03:35:27 -0800 (PST) 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" , "Cc: Chris Wilson" List-Id: intel-gfx@lists.freedesktop.org From: Sourab Gupta These patches are mainly for increasing the utilization of stolen memory area on VLV. Although similar patches were submitted earlier, but this time the allocation from stolen area will be done based on user's input. We have now exposed a new libdrm flag which user can use while creating an object to convey driver that direct cpu access to buffer is not required. Based on this flag, driver can decide to allocate the backing storage for this object from stolen mem area. Based on earlier comments, we have added the truncation logic for these objects. Sourab Gupta (3): drm/i915: Added a new 'I915_CPU_MAP_NOT_NEEDED' flag to gem_create ioctl. i915/drm: Increase the utilization of stolen memory on VLV drm/i915: Add the truncation logic for Stolen objects. drivers/gpu/drm/i915/i915_drv.h | 8 ++ drivers/gpu/drm/i915/i915_gem.c | 34 ++++++++- drivers/gpu/drm/i915/i915_gem_stolen.c | 126 ++++++++++++++++++++++++++++++++ include/uapi/drm/i915_drm.h | 3 +- 4 files changed, 166 insertions(+), 5 deletions(-) -- 1.7.9.5