Hi, this 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. Needs review from Intel whether this is the correct flow, and a decision on whether this should be backported. Simon Simon Richter (1): drm/i915: handle failure from vga_get drivers/gpu/drm/i915/display/intel_vga.c | 29 ++++++++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) base-commit: 15658979e64a7c97eaa65563e27a5a65e68a0188 -- 2.47.3
