diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-01-03 11:15:10 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-12 12:38:37 +0100 |
commit | 0aa0838c84da22cd50d8a92fac26637c630a3235 (patch) | |
tree | 43a9460b71297f9303875e2f24270e56103751db /drivers/firmware/sysfb.c | |
parent | 778e73d2411abc8f3a2d60dbf038acaec218792e (diff) |
fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers
Replace use of screen_info state with the correct interfaces from
the aperture helpers. The state is only for architecture and firmware
code. It is not guaranteed to contain valid data. Drivers are thus
not allowed to use it.
For removing conflicting firmware framebuffers, there are aperture
helpers. Hence replace screen_info with the correct functions that will
remove conflicting framebuffers for the hypervfb driver. For GEN1 PCI
devices, the driver reads the framebuffer base and size from the PCI
BAR, and uses the range for removing the firmware framebuffer. For
GEN2 VMBUS devices no range can be detected, so the driver clears all
firmware framebuffers.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/firmware/sysfb.c')
0 files changed, 0 insertions, 0 deletions