Re: map user space memory as gart memory for intel integrated graphics chip

2005-12-09 Thread Austin Yuan
On 12/8/05, Alan Cox [EMAIL PROTECTED] wrote: On Iau, 2005-12-08 at 19:52 +0800, Austin Yuan wrote: buffer. Because the interface of alloc_by_type only receives a simple parameter type, here I hide the user space address into type and re-get it in alloc_userspace_memory. That should

map user space memory as gart memory for intel integrated graphics chip

2005-12-08 Thread Austin Yuan
Just an idea when thinking about the issue on http://lists.freedesktop.org/pipermail/xorg/2005-April/007662.html. I have done some experiment on it, and the idea here is doable, but the method may be ugly and a little tricky. For Intel integrated graphics chips, gart driver programs system memory

Re: map user space memory as gart memory for intel integrated graphics chip

2005-12-08 Thread Alan Cox
On Iau, 2005-12-08 at 19:52 +0800, Austin Yuan wrote: buffer. Because the interface of alloc_by_type only receives a simple parameter type, here I hide the user space address into type and re-get it in alloc_userspace_memory. That should probably be fixed by extending the API to pass both I

Re: map user space memory as gart memory for intel integrated graphics chip

2005-12-08 Thread Keith Whitwell
Alan Cox wrote: On Iau, 2005-12-08 at 19:52 +0800, Austin Yuan wrote: buffer. Because the interface of alloc_by_type only receives a simple parameter type, here I hide the user space address into type and re-get it in alloc_userspace_memory. That should probably be fixed by extending the

Re: map user space memory as gart memory for intel integrated graphics chip

2005-12-08 Thread Austin Yuan
On 12/8/05, Keith Whitwell [EMAIL PROTECTED] wrote: Alan Cox wrote: On Iau, 2005-12-08 at 19:52 +0800, Austin Yuan wrote: buffer. Because the interface of alloc_by_type only receives a simple parameter type, here I hide the user space address into type and re-get it in