public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [RFC 0/3] Increase the utilization of Stolen area on VLV
@ 2014-03-05 11:35 sourab.gupta
  2014-03-05 11:35 ` [RFC 1/3] drm/i915: Added a new 'I915_CPU_MAP_NOT_NEEDED' flag to gem_create ioctl sourab.gupta
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: sourab.gupta @ 2014-03-05 11:35 UTC (permalink / raw)
  To: intel-gfx
  Cc: Cc: Daniel Vetter, Sourab Gupta, Cc: Jesse Barnes,
	Cc: Chris Wilson

From: Sourab Gupta <sourab.gupta@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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-03-06 11:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 11:35 [RFC 0/3] Increase the utilization of Stolen area on VLV sourab.gupta
2014-03-05 11:35 ` [RFC 1/3] drm/i915: Added a new 'I915_CPU_MAP_NOT_NEEDED' flag to gem_create ioctl sourab.gupta
2014-03-05 11:35 ` [RFC 2/3] i915/drm: Increase the utilization of stolen memory on VLV sourab.gupta
2014-03-05 11:35 ` [RFC 3/3] drm/i915: Add the truncation logic for Stolen objects sourab.gupta
2014-03-05 11:49   ` Chris Wilson
2014-03-05 12:26     ` Gupta, Sourab
2014-03-05 12:45       ` Chris Wilson
2014-03-05 19:24         ` Gupta, Sourab
2014-03-05 19:47           ` Daniel Vetter
2014-03-06  9:39             ` Gupta, Sourab
2014-03-06  9:48               ` Daniel Vetter
2014-03-06 10:48                 ` Gupta, Sourab
2014-03-06 11:17                   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox