Re: Phoebe3 kernel + XFree86-4.3.0-2.1 ati drm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom 'spot' Callaway wrote:

On Fri, 2003-03-07 at 19:06, Joshua Andrews wrote:


I am having the same problem building the kernel drm modules from XFree86-4.3.0-2.1 source as I am when building the GATOS drm-kernel. I am wondering if it has to do with the merge of rmap15d into the kernel but mainly I am wondering if there is a known fix for this.



No, my time machine isn't stuck in March... I finally got around to taking a look at this. The fix is pretty trivial, so I thought I'd post it here so that the archives would see it as well for googling.

--- drm-kernel/drm_vm.h.BAD	2003-05-24 10:31:10.000000000 -0500
+++ drm-kernel/drm_vm.h	2003-05-24 10:32:02.000000000 -0500
@@ -456,7 +456,7 @@
					vma->vm_end - vma->vm_start,
					vma->vm_page_prot, 0))
#else
-		if (remap_page_range(DRM_RPR_ARG(vma) vma->vm_start,
+		if (remap_page_range(vma, DRM_RPR_ARG(vma) vma->vm_start,
				     VM_OFFSET(vma) + offset,
				     vma->vm_end - vma->vm_start,
				     vma->vm_page_prot))

~spot


Yes time warping.
It wasn't quite that trivial, there were problems in drmP.h as well.
Anyway, water under the bridge...

-Joshua



_______________________________________________
xfree86-list mailing list
xfree86-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/xfree86-list
IRC: #xfree86 on irc.redhat.com

[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux