Skip to content

RFC Increase the utilization of Stolen area on VLV

[email protected] intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915: Added a new 'I915_CPU_MAP_NOT_NEEDED' flag to gem_create ioctl.drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c include/uapi/drm/i915_drm.h+17 -40 replies
2/3i915/drm: Increase the utilization of stolen memory on VLVdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_gem_stolen.c+106 -00 replies
3/3drm/i915: Add the truncation logic for Stolen objects.drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_gem_stolen.c+43 -19 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] Increase the utilization of Stolen area on VLV

From: Sourab Gupta <[email protected]>

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(-)
Signature · 1 line
1.7.9.5