OpenCloudOS-Kernel/drivers/gpu/drm/mgag200
Thomas Zimmermann 81a15b9a65 drm/mgag200: Embed connector instance in struct mga_device
Storing the connector instance in struct mga_device avoids some
dynamic memory allocation. On errors, the connector's initializer
function now destroys the i2c structure. Done in preparation of
converting mgag200 to simple-KMS helpers.

v2:
	* improved commit message (Michael)
	* fixed error message for mgag200_vga_connector_init() (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: John Donnelly <John.p.donnelly@oracle.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200507090315.21274-7-tzimmermann@suse.de
2020-05-11 16:40:44 +02:00
..
Kconfig drm/mgag200: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile drm/mgag200: Replace struct mga_fbdev with generic framebuffer emulation 2019-07-09 10:25:47 +02:00
mgag200_cursor.c drm/mgag200: Convert struct drm_device to struct mga_device with helper 2020-05-11 16:39:45 +02:00
mgag200_drv.c drm/mgag200: Convert struct drm_device to struct mga_device with helper 2020-05-11 16:39:45 +02:00
mgag200_drv.h drm/mgag200: Embed connector instance in struct mga_device 2020-05-11 16:40:44 +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_main.c drm/mgag200: Remove unused fields from struct mga_device 2020-05-11 16:40:35 +02:00
mgag200_mode.c drm/mgag200: Embed connector instance in struct mga_device 2020-05-11 16:40:44 +02:00
mgag200_reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mgag200_ttm.c drm/mgag200: Don't include <drm/drm_pci.h> 2019-12-05 08:44:19 +01:00