drm/mgag200: Allocate device structures in mgag200_driver_load()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 5 Jun 2020 13:58:01 +0000 (15:58 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 11 Jun 2020 08:06:07 +0000 (10:06 +0200)
commit3c8923c3f15e1c7f84b804f218500febf46868a3
tree6bea4f69f5f3968196bc14690ecf6daeb8d7c797
parentc714dd941dd158500299b2138fcd06709afd2605
drm/mgag200: Allocate device structures in mgag200_driver_load()

Instances of struct drm_device and struct mga_device are now allocated
next to each other in mgag200_driver_load(). Yet another preparation
before embedding the DRM device instance in struct mga_device.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605135803.19811-13-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.c