fbdev: Remove conflict-handling code
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 18 Jul 2022 07:23:22 +0000 (09:23 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 19 Jul 2022 11:19:11 +0000 (13:19 +0200)
commit15fced5b051e6e22c228a521a5894b12c2ba0892
tree1dca50cceea7580345a996e8ce33d6f1ac01b626
parent72a6a3e03bdc957996a74c1053eab1b2c073db8e
fbdev: Remove conflict-handling code

Remove the call to do_remove_conflicting_framebuffers() from the
framebuffer registration. Aperture helpers take care of removing
conflicting devices. With all ownership information stored in the
aperture datastrcutures, remove remove_conflicting_framebuffers()
entirely.

This change also rectifies DRM generic-framebuffer registration, which
tried to unregister conflicting framebuffers, even though it's entirely
build on top of DRM.

v2:
* remove internal aperture-overlap helpers, which are
  now unused

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220718072322.8927-12-tzimmermann@suse.de
drivers/video/aperture.c
drivers/video/fbdev/core/fbmem.c
include/linux/fb.h