linux/drivers/gpu/drm/vkms
Emil Velikov 633873e6cb drm/vkms: provide a parent device to drm_dev_init()
Earlier commit updated the vgem driver to improve the topology, by
passing a platform device as parent to drm_dev_init(). Shortly
afterwords we updated the core function to BUG() in order to catch any
buggy drivers passing NULL as parent.

While I missed the vkms driver (as the patch predates vkms by a few
months), the BUG caught the issue within couple of hours.

Swap the drm_dev_init <> platform_device_register_simple order, to
the driver back to life.

Fixes: f08877e794 ("drm: BUG_ON if passing NULL parent to drm_dev_init")
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Deepak Sharma <deepak.sharma@amd.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Haneen Mohammed <hamohammed.sa@gmail.com>
Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181026100550.625-1-emil.l.velikov@gmail.com
2018-10-29 11:13:40 +00:00
..
Makefile drm/vkms: Implement CRC debugfs API 2018-08-03 14:52:58 -04:00
vkms_crc.c drm/vkms: Fix possible memory leak in _vkms_get_crc() 2018-09-21 10:50:45 +02:00
vkms_crtc.c drm/vkms: Fix race condition around accessing frame number 2018-09-05 16:04:50 +02:00
vkms_drv.c drm/vkms: provide a parent device to drm_dev_init() 2018-10-29 11:13:40 +00:00
vkms_drv.h drm/vkms: Enable/Disable cursor support with module option 2018-09-11 19:57:32 +02:00
vkms_gem.c drm/vkms: Fix vmap_count increment position 2018-08-08 10:19:54 +02:00
vkms_output.c drm/vkms: Enable/Disable cursor support with module option 2018-09-11 19:57:32 +02:00
vkms_plane.c drm/vkms: Compute CRC with Cursor Plane 2018-09-11 19:56:19 +02:00