diff options
author | Deepak Sharma <deepak.sharma@amd.com> | 2018-10-23 18:35:48 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-10-25 14:25:58 +0200 |
commit | d5c04dff24870ef07ce6453a3f4e1ffd9cf88d27 (patch) | |
tree | 65782df64e2c952825ebe25f3e4d75042a26a250 /drivers/gpu/drm/drm_drv.c | |
parent | dma-buf: test shared slot allocation when mutex debugging is active (diff) | |
download | linux-d5c04dff24870ef07ce6453a3f4e1ffd9cf88d27.tar.xz linux-d5c04dff24870ef07ce6453a3f4e1ffd9cf88d27.zip |
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
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
0 files changed, 0 insertions, 0 deletions