]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/vgem: Convert to a struct drm_device subclass
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 May 2017 13:22:28 +0000 (14:22 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 May 2017 08:14:06 +0000 (10:14 +0200)
commit315f0242aa2b1e999bc1211123f7b6664068dba4
tree42e2c22a3955b73028891da75ea69a7b61976d83
parent94d7fb4982d2145c5784e33fa973ffb9ebb086ac
drm/vgem: Convert to a struct drm_device subclass

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 <chris@chris-wilson.co.uk>
Cc: Laura Abbott <labbott@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170508132228.9509-1-chris@chris-wilson.co.uk
drivers/gpu/drm/vgem/vgem_drv.c