http://bugs.freedesktop.org/show_bug.cgi?id=13732





------- Comment #5 from [EMAIL PROTECTED]  2007-12-21 00:31 PST -------
Created an attachment (id=13272)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=13272&action=view)
a 32 bit ioctl compatibility routine to handle execbuffer

The root cause is the field 'cliprects' of drm_i915_batchbuffer is a pointer
and drm_i915_exechbuffer includes drm_i915_batchbuffer field. So DRM must take
account  for this pointer under compatibility mode. There are two methods to
fix this issue
1. redefine cliprects as 'uint64_t'. 
2. provide a 32-bit ioctl compatibility routine to handle execbuffer.

I prefer 2 because I'm afraid 1 impacts Mesa or others.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to