OpenCloudOS-Kernel/drivers/gpu/drm/vgem
Deepak Sharma d5c04dff24 drm/vgem: Fix vgem_init to get drm device available.
Modify vgem_init to take platform dev as parent in drm_dev_init.
This will make drm device available at "/sys/devices/platform/vgem"
in x86 chromebook.

v2: rebase, address checkpatch typo and line over 80 characters

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Deepak Sharma <deepak.sharma@amd.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181023163550.15211-1-emil.l.velikov@gmail.com
2018-10-25 13:25:58 +01:00
..
Makefile drm/vgem: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:59 +02:00
vgem_drv.c drm/vgem: Fix vgem_init to get drm device available. 2018-10-25 13:25:58 +01:00
vgem_drv.h drm/vgem: Pin our pages for dmabuf exports 2017-06-23 13:04:22 +02:00
vgem_fence.c dma-buf: allow reserving more than one shared fence slot 2018-10-25 13:45:07 +02:00