Re: [RFC PATCH 0/3] staging: remove fbdev drivers
From: Benjamin Herrenschmidt
Date: Fri Dec 09 2016 - 15:31:00 EST
On Fri, 2016-12-09 at 14:57 +0100, David Herrmann wrote:
> Despite all of this I still see no reason why a driver could not
> expose the static, real frambuffers via private ioctls. You can get
> all your fancy acceleration that way. Then fix user-space to use this
> API. If enough drivers end up with something similar, move it into the
> core. Just like we always do in DRM.
I don't care so much about userspace in my specific use case, more
about fbcon, which I think can be solved without too many hoops.
As for FB objects, my thinking is we could just use
unmap_mapping_ranges() to effectively change the mapping under the hood
of the app so it alternatively maps a bit of fb or a bit of memory...