Currenly in linux-core the driver callback reclaim_buffers is called with a single argument "filp". In reclaim_buffers you need OS-specific knowledge to extract the device pointer from the filp. In the BSD DRM reclaim_buffers takes two arguments, "dev" and "filp". Could we change the linux version to use the same API? This would allow implementing an OS-agnostic reclaim_buffers function in a driver.
Regards, Felix -- | Felix Kühling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel