[PATCH v2 0/6] Prepare mgag200 for simple KMS and managed init

Thomas Zimmermann tzimmermann at suse.de
Thu May 7 09:03:09 UTC 2020


(was: drm/mgag200: Embed DRM device in struct mga_device)

This is v2 of the patchset for embedding the DRM device instance in struct
mga_device. Following Sam's suggestion I only picked the first three
patches of v1. On top of that I added 3 patches from mgag200's simple-KMS
patchset. The patch set prepares mgag200 for simple KMS and managed
initialization, but also makes sense on its own.

All patches have been reviewed and/or acked already. If no one objects, I'll
soon merge them into drm-misc-next.

v2:
	* removed patches 4 and 5, added 3 patches from simple-KMS patchset
	* improved commit messages
	* to_mga_device() is now a function
	* fixed error mesage for mgag200_vga_connector_init()

Thomas Zimmermann (6):
  drm/mgag200: Convert struct drm_device to struct mga_device with
    helper
  drm/mgag200: Remove several references to struct mga_device.dev
  drm/mgag200: Integrate init function into load function
  drm/mgag200: Use managed mode-config initialization
  drm/mgag200: Remove unused fields from struct mga_device
  drm/mgag200: Embed connector instance in struct mga_device

 drivers/gpu/drm/mgag200/mgag200_cursor.c |   4 +-
 drivers/gpu/drm/mgag200/mgag200_drv.c    |   2 +-
 drivers/gpu/drm/mgag200/mgag200_drv.h    |  15 ++-
 drivers/gpu/drm/mgag200/mgag200_i2c.c    |  10 +-
 drivers/gpu/drm/mgag200/mgag200_main.c   | 115 ++++++--------------
 drivers/gpu/drm/mgag200/mgag200_mode.c   | 127 ++++++++++++++---------
 6 files changed, 125 insertions(+), 148 deletions(-)

--
2.26.0



More information about the dri-devel mailing list