[PATCH v3 2/4] drm/gem: convert to new unified vma manager

2013-07-18 Thread Patrik Jakobsson
On Wed, Jul 17, 2013 at 8:14 PM, David Herrmann wrote: > Use the new vma manager instead of the old hashtable. Also convert all > drivers to use the new convenience helpers. This drops all the > (map_list.hash.key << PAGE_SHIFT) non-sense. > > Locking and access-management is exactly the same as

Re: [PATCH v3 2/4] drm/gem: convert to new unified vma manager

2013-07-18 Thread Patrik Jakobsson
On Wed, Jul 17, 2013 at 8:14 PM, David Herrmann wrote: > Use the new vma manager instead of the old hashtable. Also convert all > drivers to use the new convenience helpers. This drops all the > (map_list.hash.key << PAGE_SHIFT) non-sense. > > Locking and access-management is exactly the same as b

[PATCH v3 2/4] drm/gem: convert to new unified vma manager

2013-07-17 Thread David Herrmann
Use the new vma manager instead of the old hashtable. Also convert all drivers to use the new convenience helpers. This drops all the (map_list.hash.key << PAGE_SHIFT) non-sense. Locking and access-management is exactly the same as before with an additional lock inside of the vma-manager, which st

[PATCH v3 2/4] drm/gem: convert to new unified vma manager

2013-07-17 Thread David Herrmann
Use the new vma manager instead of the old hashtable. Also convert all drivers to use the new convenience helpers. This drops all the (map_list.hash.key << PAGE_SHIFT) non-sense. Locking and access-management is exactly the same as before with an additional lock inside of the vma-manager, which st