[PATCH v2 3/6] drm: verify vma access in TTM+GEM drivers

2013-08-23 Thread David Herrmann
GEM does already a good job in tracking access to gem buffers via handles and drm_vma access management. However, TTM drivers currently do not verify this during mmap(). TTM provides the verify_access() callback to test this. So fix all drivers to actually call into gem+vma to verify access instea

[PATCH v2 3/6] drm: verify vma access in TTM+GEM drivers

2013-08-23 Thread David Herrmann
GEM does already a good job in tracking access to gem buffers via handles and drm_vma access management. However, TTM drivers currently do not verify this during mmap(). TTM provides the verify_access() callback to test this. So fix all drivers to actually call into gem+vma to verify access instea