Hi, this is a backport of https://patchwork.freedesktop.org/series/161721/ that should apply to anything between 5.3-rc4 and 6.19.
It adds a way to avoid the illegal VGA accesses on non-x86 platforms by letting these platforms report that VGA registers cannot be mapped. This patch alone doesn't fully solve the problem, it also needs complementary changes in vgaarb to actually report this, but since the interface is unchanged and it is wrong to ignore the error code anyway, little coordination is needed here. Simon Simon Richter (1): drm/i915: handle failure from vga_get() drivers/gpu/drm/i915/display/intel_vga.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) base-commit: 6a753907865e35ae986b7b2ad48daa1eab4bcf3a -- 2.47.3
