aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-08 16:21:38 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-08 16:21:38 +0100
commite4b2da440699f581a8779ea8cb9e99e4c903e6a7 (patch)
tree63058ea9439e2f880628a3fd44e5f586eda86ed6 /linux-core/drm_compat.c
parent1257907fa9a24de7aa95485e1b3ab509fdc4d4e6 (diff)
A minor function interface change and some memcpy bugfixing.
Hooray!! it sort of works with a fixed AGP area as faked VRAM.
Diffstat (limited to 'linux-core/drm_compat.c')
-rw-r--r--linux-core/drm_compat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/drm_compat.c b/linux-core/drm_compat.c
index d0bca672..8dd15ded 100644
--- a/linux-core/drm_compat.c
+++ b/linux-core/drm_compat.c
@@ -250,7 +250,6 @@ struct page *drm_bo_vm_nopage(struct vm_area_struct *vma,
}
get_page(page);
-
out_unlock:
mutex_unlock(&bo->mutex);
return page;
@@ -274,7 +273,6 @@ int drm_bo_map_bound(struct vm_area_struct *vma)
if (bus_size) {
unsigned long pfn = (bus_base + bus_offset) >> PAGE_SHIFT;
pgprot_t pgprot = drm_io_prot(_DRM_AGP, vma);
-
ret = io_remap_pfn_range(vma, vma->vm_start, pfn,
vma->vm_end - vma->vm_start,
pgprot);