]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Use managed mode-config initialization
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 7 May 2020 09:03:13 +0000 (11:03 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 11 May 2020 14:40:17 +0000 (16:40 +0200)
commit1199d01d0f291fc18e41da498412af7b23d01582
tree1a5596b77a9e2921bdebe48a4d32207478e9ddcd
parent4a05c64be78489002ec0e4b765ed38da5e44c409
drm/mgag200: Use managed mode-config initialization

Mode configuration is now cleanued up automatically. While at it,
move all mode-config code into mgag200_mode.c. Done in preparation
of switching mgag200 to simple-KMS helpers.

v2:
* improve commit message (Sam)
* rebased during cherry pick
* also move bpp_shift initialization

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
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-5-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_main.c
drivers/gpu/drm/mgag200/mgag200_mode.c