Re: [Intel-gfx] [PATCH] drm/vgem: Convert to a struct drm_device subclass

2017-05-10 Thread Daniel Vetter
On Tue, May 09, 2017 at 12:20:32PM -0700, Laura Abbott wrote: > On 05/08/2017 06:22 AM, Chris Wilson wrote: > > With Laura's introduction of the fake platform device for importing > > dmabuf, we add a second static that is logically tied to the vgem_device. > > Convert vgem over to using the struct

Re: [Intel-gfx] [PATCH] drm/vgem: Convert to a struct drm_device subclass

2017-05-09 Thread Laura Abbott
On 05/08/2017 06:22 AM, Chris Wilson wrote: With Laura's introduction of the fake platform device for importing dmabuf, we add a second static that is logically tied to the vgem_device. Convert vgem over to using the struct drm_device subclassing, so that the platform device is stored inside its

[Intel-gfx] [PATCH] drm/vgem: Convert to a struct drm_device subclass

2017-05-08 Thread Chris Wilson
With Laura's introduction of the fake platform device for importing dmabuf, we add a second static that is logically tied to the vgem_device. Convert vgem over to using the struct drm_device subclassing, so that the platform device is stored inside its owner. Signed-off-by: Chris Wilson Cc: Laura