artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b023b71
)
drm/i915/gem: Adjust vma offset for framebuffer mmap offset
author
jsg
<jsg@openbsd.org>
Thu, 15 Aug 2024 03:18:56 +0000
(
03:18
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 15 Aug 2024 03:18:56 +0000
(
03:18
+0000)
From Andi Shyti
d73de3c6447644c65ed0e9a368328713dc28fb18
in linux-6.6.y/6.6.46
1ac5167b3a90c9820daa64cc65e319b2d958d686
in mainline linux
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gem/i915_gem_mman.c
b/sys/dev/pci/drm/i915/gem/i915_gem_mman.c
index
983f22f
..
dcbb863
100644
(file)
--- a/
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
+++ b/
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
@@
-1590,6
+1590,8
@@
int i915_gem_fb_mmap(struct drm_i915_gem_object *obj, struct vm_area_struct *vma
mmo = mmap_offset_attach(obj, mmap_type, NULL);
if (IS_ERR(mmo))
return PTR_ERR(mmo);
+
+ vma->vm_pgoff += drm_vma_node_start(&mmo->vma_node);
}
/*