Increase the utilization of Stolen area on VLV
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/i915: Added a new 'I915_CPU_MAP_NOT_NEEDED' flag to gem_create ioctl.drivers/ include/ | +14 | 6 replies | |
| 2/3 | drm/i915: Truncation logic for Stolen mem objectsdrivers/ | +107 | 0 replies | |
| 3/3 | drm/i915: Memory node free handling on truncation of stolen objdrivers/ | +1 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 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, this time truncation is handled based on Chris and Daniel's input. Chris's patch handles the truncation of purgeable stolen objects.
The allocation from stolen area will be done based on user's input. We have 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.
If we run out of stolen memory when trying to allocate an object, we can try to reap enough purgeable objects to free up enough contiguous free space for the allocation.
Chris Wilson (1):
drm/i915: Truncation logic for Stolen mem objects
Sourab Gupta (2):
drm/i915: Added a new 'I915_CPU_MAP_NOT_NEEDED' flag to gem_create
ioctl.
drm/i915: Memory node free handling on truncation of stolen obj
drivers/gpu/drm/i915/i915_gem.c | 17 +++-- drivers/gpu/drm/i915/i915_gem_stolen.c | 112 ++++++++++++++++++++++++++++++-- include/uapi/drm/i915_drm.h | 3 +- 3 files changed, 119 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.9.5