From: Thomas Zimmermann <tzimmermann@suse.de>
To: javierm@redhat.com, daniel.vetter@ffwll.ch, patrik.r.jakobsson@gmail.com
Cc: Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org
Subject: [PATCH v4 0/9] video/aperture: Ignore firmware framebuffers with non-primary devices
Date: Thu, 6 Apr 2023 10:32:31 +0200 [thread overview]
Message-ID: <20230406083240.14031-1-tzimmermann@suse.de> (raw)
Only remove sysfb and VGA devices for primary graphics devices. The
PCI helper for aperture ownership now detects primary devices. Resolves
bug reports about lost framebuffer consoles on systems with multiple
graphics cards.
The series picks up Daniel's patchset at v3 from [1] and cleans up a few
minor things. There's another patch on top that clarifys gma500's
special case.
v4:
* add gma500 patch on top of v3
* fix Daniel's S-o-b address
* fix various typos in the commit messages
[1] https://lore.kernel.org/dri-devel/66f9196e-df2b-19ce-e2ec-15f7a81d63c7@suse.de/T/#t
Daniel Vetter (8):
drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers
video/aperture: use generic code to figure out the vga default device
drm/aperture: Remove primary argument
video/aperture: Only kick vgacon when the pdev is decoding vga
video/aperture: Move vga handling to pci function
video/aperture: Drop primary argument
video/aperture: Only remove sysfb on the default vga pci device
fbdev: Simplify fb_is_primary_device for x86
Thomas Zimmermann (1):
video/aperture: Provide a VGA helper for gma500 and internal use
arch/x86/video/fbdev.c | 13 +---
drivers/gpu/drm/arm/hdlcd_drv.c | 2 +-
drivers/gpu/drm/armada/armada_drv.c | 2 +-
drivers/gpu/drm/drm_aperture.c | 11 +---
drivers/gpu/drm/gma500/psb_drv.c | 43 ++++++++++---
drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 1 -
drivers/gpu/drm/meson/meson_drv.c | 2 +-
drivers/gpu/drm/msm/msm_fbdev.c | 2 +-
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +-
drivers/gpu/drm/stm/drv.c | 2 +-
drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +-
drivers/gpu/drm/tegra/drm.c | 2 +-
drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
drivers/video/aperture.c | 70 ++++++++++++++-------
drivers/video/fbdev/hyperv_fb.c | 2 +-
include/drm/drm_aperture.h | 7 +--
include/linux/aperture.h | 16 +++--
17 files changed, 108 insertions(+), 73 deletions(-)
--
2.40.0
next reply other threads:[~2023-04-06 8:32 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-06 8:32 Thomas Zimmermann [this message]
2023-04-06 8:32 ` [PATCH v4 1/9] drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers Thomas Zimmermann
2023-04-06 8:41 ` Javier Martinez Canillas
2023-04-06 8:53 ` Thomas Zimmermann
2023-04-06 9:01 ` Javier Martinez Canillas
2023-04-06 8:32 ` [PATCH v4 2/9] video/aperture: use generic code to figure out the vga default device Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 3/9] drm/aperture: Remove primary argument Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 4/9] video/aperture: Only kick vgacon when the pdev is decoding vga Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 5/9] video/aperture: Move vga handling to pci function Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 6/9] video/aperture: Drop primary argument Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 7/9] video/aperture: Only remove sysfb on the default vga pci device Thomas Zimmermann
2023-04-06 8:32 ` Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 8/9] fbdev: Simplify fb_is_primary_device for x86 Thomas Zimmermann
2023-04-06 8:32 ` [PATCH v4 9/9] video/aperture: Provide a VGA helper for gma500 and internal use Thomas Zimmermann
2023-04-06 8:40 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230406083240.14031-1-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=javierm@redhat.com \
--cc=patrik.r.jakobsson@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.