linux_dsm_epyc7002/drivers/gpu/drm/mgag200
Thomas Zimmermann 832eddf5d8 drm/mgag200: Embed instance of struct drm_device in struct mga_device
Following current best practice, the instance of struct drm_device is now
embedded in struct mga_device. The respective field has been renamed from
'dev' to 'base' to reflect the relationship. Conversion from DRM device is
done via upcast. Using dev_private is no longer possible.

The patch also open-codes drm_dev_alloc() and DRM device initialization
is now performed by a call to drm_device_init().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605135803.19811-14-tzimmermann@suse.de
2020-06-11 10:06:10 +02:00
..
Kconfig drm/mgag200: Replace VRAM helpers with SHMEM helpers 2020-05-19 09:41:34 +02:00
Makefile drm/mgag200: Move device init and cleanup to mgag200_drv.c 2020-06-11 10:06:00 +02:00
mgag200_drv.c drm/mgag200: Embed instance of struct drm_device in struct mga_device 2020-06-11 10:06:10 +02:00
mgag200_drv.h drm/mgag200: Embed instance of struct drm_device in struct mga_device 2020-06-11 10:06:10 +02:00
mgag200_i2c.c drm/mgag200: Convert struct drm_device to struct mga_device with helper 2020-05-11 16:39:45 +02:00
mgag200_mm.c drm/mgag200: Embed instance of struct drm_device in struct mga_device 2020-06-11 10:06:10 +02:00
mgag200_mode.c drm/mgag200: Embed instance of struct drm_device in struct mga_device 2020-06-11 10:06:10 +02:00
mgag200_reg.h drm/mgag200: Move TAGFIFO reset into separate function 2020-05-19 09:41:33 +02:00