RE: [PATCH v6 09/10] arm64: efi: Export screen_info

From: Michael Kelley
Date: Tue Mar 17 2020 - 20:18:43 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
>
> On Sat, Mar 14, 2020 at 4:36 PM Michael Kelley <mikelley@xxxxxxxxxxxxx> wrote:
> >
> > The Hyper-V frame buffer driver may be built as a module, and
> > it needs access to screen_info. So export screen_info.
> >
> > Signed-off-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
>
> Is there any chance of using a more modern KMS based driver for the screen
> than the old fbdev subsystem? I had hoped to one day completely remove
> support for the old CONFIG_VIDEO_FBDEV and screen_info from modern
> architectures.
>

The current hyperv_fb.c driver is all we have today for the synthetic Hyper-V
frame buffer device. That driver builds and runs on both ARM64 and x86.

I'm not knowledgeable about video/graphics drivers, but when you
say "a more modern KMS based driver", are you meaning one based on
DRM & KMS? Does DRM make sense for a "dumb" frame buffer device?
Are there any drivers that would be a good pattern to look at?

Michael