Skip to content

vgaarb: Fixes for partial VGA opt-out

Alex Williamson intel-gfx lkml 1 version Applied

Status from this message: Merged to dinq with Dave's irc-ack. I'll shuffle my tree a bit so that

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2vgaarb: Don't disable resources that are not owneddrivers/gpu/vga/vgaarb.c+5 -50 replies
2/2vgaarb: Fix VGA decodes changesdrivers/gpu/vga/vgaarb.c+17 -230 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVille Syrjälä
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] vgaarb: Fixes for partial VGA opt-out

I'm trying to add support for VGA arbitration on newer Intel graphics devices. The existing code attempts to do this, but appear to have not been updated since GMCH devices roamed the Earth. On newer devices like Haswell, we can disable VGA memory through an MSR on the device, but we rely on the VGA arbiter to manage VGA IO using the PCI COMMAND register. In trying to unregister legacy VGA memory, I found that the VGA arbiter still wanted to disable both memory and IO on the device and that it forgot to actually program the device to disable IO when the decoding is updated. This series attempts to fix both of those. Thanks,

Alex

---

Alex Williamson (2):
vgaarb: Don't disable resources that are not owned
vgaarb: Fix VGA decodes changes

 drivers/gpu/vga/vgaarb.c |   50 ++++++++++++++++++++--------------------------
 1 file changed, 22 insertions(+), 28 deletions(-)