drm/mgag200: Replace struct mga_framebuffer with GEM framebuffer helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 27 Jun 2019 08:09:09 +0000 (10:09 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 27 Jun 2019 17:19:04 +0000 (19:19 +0200)
commit5d17718997367c435dbe5341a8e270d9b19478d3
tree100895abce41ced623ffe042a2f66735b8ca42b9
parentfdb29b738017672069f95747c48eac947b9beba2
drm/mgag200: Replace struct mga_framebuffer with GEM framebuffer helpers

The mgag200 driver's struct mga_framebuffer is a buffer object with GEM
interface. There are already GEM framebuffer helpers that implement the
same functionality. Convert mgag200 to these.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190627080909.30471-1-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_fb.c
drivers/gpu/drm/mgag200/mgag200_main.c
drivers/gpu/drm/mgag200/mgag200_mode.c