http://bugs.freedesktop.org/show_bug.cgi?id=17595
Summary: linux-core/drm_compat.c:220 too few arguments for
drm_bo_wait()
Product: DRI
Version: XOrg CVS
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM modules
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=18888)
--> (http://bugs.freedesktop.org/attachment.cgi?id=18888)
Correct number of args to drm_bo_wait() call
A Gentoo user reported a build error with a drm git snapshot from July, against
a 2.6.20 kernel.
Line 220 in linux-core/drm_compat.c is as follows (inside the function
drm_bo_vm_fault() ):
err = drm_bo_wait(bo, 0, 1, 0);
drm_bo_wait() actually accepts five arguments, with the fifth being
(int)check_unfenced.
There's actually an identical call in drm_bo_vm_nopfn() with the correct number
of args and check_unfenced=1, so maybe this is the result of a change that got
missed in that particular spot.
Anyway, assuming that fifth arg should be 1 like in the call in
drm_bo_vm_nopfn(), I've provided a one-liner patch to that effect. It looks
like this can still be applied to current git.
Thanks.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel