drm/vgem: Add a dummy platform device
authorLaura Abbott <labbott@redhat.com>
Thu, 4 May 2017 18:45:46 +0000 (11:45 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 May 2017 07:39:13 +0000 (09:39 +0200)
commite2aff44868ae60eccae806d3751077155675c2a4
treee8fc71680fb79d13077231252f2d4564cb478c7d
parentf424f55e31779bdc2389db9115fca65c553f8558
drm/vgem: Add a dummy platform device

The vgem driver is currently registered independent of any actual
device. Some usage of the dmabuf APIs require an actual device structure
to do anything. Register a dummy platform device for use with dmabuf.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493923548-20878-2-git-send-email-labbott@redhat.com
drivers/gpu/drm/vgem/vgem_drv.c