[PATCH 5/8] drm: use drm_file to tag vm-bos

2016-08-04 Thread David Herrmann
Hey On Thu, Aug 4, 2016 at 10:16 AM, Daniel Vetter wrote: > On Wed, Aug 03, 2016 at 08:08:19PM +0100, Chris Wilson wrote: >> On Wed, Aug 03, 2016 at 08:04:29PM +0200, David Herrmann wrote: >> > Rather than using "struct file*", use "struct drm_file*" as tag VM tag for >> > BOs. This will pave the

[PATCH 5/8] drm: use drm_file to tag vm-bos

2016-08-04 Thread Daniel Vetter
On Wed, Aug 03, 2016 at 08:08:19PM +0100, Chris Wilson wrote: > On Wed, Aug 03, 2016 at 08:04:29PM +0200, David Herrmann wrote: > > Rather than using "struct file*", use "struct drm_file*" as tag VM tag for > > BOs. This will pave the way for "struct drm_file*" without any "struct > > file*" back-p

[PATCH 5/8] drm: use drm_file to tag vm-bos

2016-08-03 Thread Chris Wilson
On Wed, Aug 03, 2016 at 08:04:29PM +0200, David Herrmann wrote: > Rather than using "struct file*", use "struct drm_file*" as tag VM tag for > BOs. This will pave the way for "struct drm_file*" without any "struct > file*" back-pointer. > > Signed-off-by: David Herrmann Ok, the danger of untyped

[PATCH 5/8] drm: use drm_file to tag vm-bos

2016-08-03 Thread David Herrmann
Rather than using "struct file*", use "struct drm_file*" as tag VM tag for BOs. This will pave the way for "struct drm_file*" without any "struct file*" back-pointer. Signed-off-by: David Herrmann --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 ++- drivers/gpu/drm/ast/ast_ttm.c | 3 ++