[Intel-gfx] [RFC 0/3] Increase the utilization of Stolen area on VLV
sourab.gupta at intel.com
sourab.gupta at intel.com
Wed Mar 5 12:35:37 CET 2014
From: Sourab Gupta <sourab.gupta at intel.com>
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
More information about the Intel-gfx
mailing list