drm/fb-helper: Add TODO for making drm_fb_helper_alloc_fbi fill apertures
authorHans de Goede <hdegoede@redhat.com>
Thu, 26 Mar 2020 15:10:09 +0000 (16:10 +0100)
committerHans de Goede <hdegoede@redhat.com>
Fri, 27 Mar 2020 09:46:54 +0000 (10:46 +0100)
commit1a8bf67df6d87912ab1fc17fa1a7d63fbddddaee
tree3543ce36d4bc5d248d4952197f2a96ed96e77920
parent5ea5647f491876027064780cf1ea0beb041e7e41
drm/fb-helper: Add TODO for making drm_fb_helper_alloc_fbi fill apertures

Currently drivers using drm_fbdev_generic_setup() end up with a single
empty aperture in their fb_info struct.

Not having the proper info in the apertures list causes
register_framebuffer to not remove conflicting framebuffers,
which some drivers currently workaround by manually calling
drm_fb_helper_remove_conflicting_pci_framebuffers().

Add a TODO as a reminder that we need to fix this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200326151009.102377-1-hdegoede@redhat.com
drivers/gpu/drm/drm_fb_helper.c