Add support for partial mapping
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v22 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Add a patch in order to not fail when the exact address of a VM node is not the same as the starting address due to the offset.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/i915/gem: Increment vma offset when mapping fb objectsdrivers/ | +2 | 1 reply | |
| 2/3 | drm/i915/gem: Do not look for the exact address in nodedrivers/ | +3 | 0 replies | |
| 3/3 | drm/i915/gem: Calculate object page offset for partial memory mappingdrivers/ drivers/ drivers/ | +20 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Nirmoy Das |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] Add support for partial mapping
Hi,
this series based on a previous work from Chris adds support for partial mapping.
Two preparatory patches are needed:
- set the vm_pgoff when mapping frame buffer objects
- do not fail when the exact address of a VM node is not the same as the starting address due to the offset.
Indeed I was receiving a negative offset at first.
Igt tests have been sent to the igt mailing list.
Andi
Test-with: [email protected]
Changelog:
==========
v2 -> v3:
- Add a patch in order to not fail when the exact address of a VM node is not the same as the starting address due to the offset.
v1 -> v2:
- Enable support for CPU memory
- Increment vm_pgoff for fb objects
Andi Shyti (3):
drm/i915/gem: Increment vma offset when mapping fb objects drm/i915/gem: Do not look for the exact address in node drm/i915/gem: Calculate object page offset for partial memory mapping
drivers/gpu/drm/i915/gem/i915_gem_mman.c | 18 ++++++++++++------ drivers/gpu/drm/i915/i915_mm.c | 12 +++++++++++- drivers/gpu/drm/i915/i915_mm.h | 3 ++- 3 files changed, 25 insertions(+), 8 deletions(-)
Signature · 1 line
2.43.0