Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293670
b: refs/heads/master
c: 966e0cd
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Mar 5, 2012
1 parent 92a8a83 commit 248b5dc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81ffbbedc37c6043e5f5b123da926aa7dd8ad60a
refs/heads/master: 966e0cdd504657333415f43de6a219197511ebff
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/drm_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,6 @@ int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
*/
drm_gem_object_reference(obj);

vma->vm_file = filp; /* Needed for drm_vm_open() */
drm_vm_open_locked(vma);

out_unlock:
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/gpu/drm/drm_vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,6 @@ static int drm_mmap_dma(struct file *filp, struct vm_area_struct *vma)
vma->vm_flags |= VM_RESERVED; /* Don't swap */
vma->vm_flags |= VM_DONTEXPAND;

vma->vm_file = filp; /* Needed for drm_vm_open() */
drm_vm_open_locked(vma);
return 0;
}
Expand Down Expand Up @@ -671,7 +670,6 @@ int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma)
vma->vm_flags |= VM_RESERVED; /* Don't swap */
vma->vm_flags |= VM_DONTEXPAND;

vma->vm_file = filp; /* Needed for drm_vm_open() */
drm_vm_open_locked(vma);
return 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/exynos/exynos_drm_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ static int exynos_drm_gem_mmap_buffer(struct file *filp,

/* in case of direct mapping, always having non-cachable attribute */
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
vma->vm_file = filp;

vm_size = vma->vm_end - vma->vm_start;
/*
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/i810/i810_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma)
buf_priv = buf->dev_private;

vma->vm_flags |= (VM_IO | VM_DONTCOPY);
vma->vm_file = filp;

buf_priv->currently_mapped = I810_BUF_MAPPED;

Expand Down

0 comments on commit 248b5dc

Please sign in to comment.