Dave Airlie wrote:
>> I'll try it out as soon as there is time.
>
> I've just tested glxgears and a few mesa tests on it and it seems to
> be working fine....
>
> We should probably think about pulling this over into the DRM sooner
> rather than later, there are also some changes to the DDX
> i830_driver.c compat code to deal with...
>
>
Yup. I've attached a patch (against the cleanup branch) with things I 
think may be needed.

1) 64-bit reordering. 64-bit scalars, structs and unions should probably 
be 64-bit aligned in parent structs. I had to insert padding in two 
cases, but this probably needs to be double-checked.
2) A "magic" member in the init ioctl. Checking this allows for verbose 
and friendly failure of code that uses the old interface.
3) Init major / minor versioning of the memory manager interface in case 
we need changes in the future.
4) expand_pads are 64-bit following Jesse Barnes recommendations.
5) The info_req carries a fence class for validation for a particular 
command submission mechanism.
6) The info_rep arg carries tile_strides and tile_info.
The argument tile_strides is ((actual_tile_stride) << 16) | 
(desired_tile_stride))
The argument tile_info is driver-specific. (Could be tile width, 
x-major, y-major etc.)

Finally, should we perhaps allow for 64-bit buffer object flags / mask 
at this point?

I haven't done any user-space or kernel coding for this yet.
Just want to know what you think.

/Thomas







-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to