]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Remove struct drm_fb_helper from struct intel_fbdev
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Dec 2024 17:08:49 +0000 (18:08 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Wed, 5 Mar 2025 20:48:50 +0000 (21:48 +0100)
commit04a1c47798f773cc6b071790c56eaa460a1e5caf
tree53f832404027ebb7ab76ad068cc39a5cc5205978
parent03e1b3df217a94c75e644bf50d3b3b2203acba00
drm/i915/display: Remove struct drm_fb_helper from struct intel_fbdev

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

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

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241212170913.185939-9-tzimmermann@suse.de
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/i915/display/intel_fbdev.c