fbdev/simplefb: Request memory region in driver
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 25 Jan 2022 09:12:21 +0000 (10:12 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 27 Jan 2022 08:21:14 +0000 (09:21 +0100)
commit748bd5873d1a6f61d1d5fc8bbd6dc20eb513528b
treedc23b59aa21267c4d4df969b24283de94e06e4c3
parent8ec6a72da65bbc4d341253e5a641a51bb1c0d967
fbdev/simplefb: Request memory region in driver

Requesting the framebuffer memory in simpledrm marks the memory
range as busy. This used to be done by the firmware sysfb code,
but the driver is the correct place.

v2:
* store memory region in struct for later cleanup (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220125091222.21457-5-tzimmermann@suse.de
drivers/video/fbdev/simplefb.c