]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/omapdrm: Remove struct drm_fb_helper from struct omap_fbdev.
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 24 Sep 2024 07:13:17 +0000 (09:13 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 26 Sep 2024 07:31:29 +0000 (09:31 +0200)
commiteae9b5437ab968e7f26afc5835c3b7384e0f84e0
tree432cd4979b81efbb6463ebcbbc6edea84decacbd
parent5208989d59f989762578b497aecb1e2b1b0780fd
drm/omapdrm: Remove struct drm_fb_helper from struct omap_fbdev.

Store instances of drm_fb_helper and struct omap_fbdev separately.
This will allow omapdrm to use the common fbdev client, which allocates
its own instance of struct drm_fb_helper.

There is at most one instance of each per DRM device, so both can be
referenced directly from the omap and DRM device structures. A later
patchset might rework the common fbdev client to allow for storing
both, drm_fb_helper and omap_fbdev, together in the same place.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-80-tzimmermann@suse.de
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_fbdev.c