]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/igd: emulate BDSM in mmio bar0 for gen 6-10 devices
authorTomita Moeko <tomitamoeko@gmail.com>
Fri, 6 Dec 2024 12:27:47 +0000 (20:27 +0800)
committerCédric Le Goater <clg@redhat.com>
Thu, 26 Dec 2024 06:23:37 +0000 (07:23 +0100)
commitf926baa03b7babb8291ea4c1cbeadaf224977dae
treeaee7d0e50d3fd3cd4da72eb5ddaeb0cf9cf1d696
parentea652c2beeaec51035f76aeb976af06858ee85ce
vfio/igd: emulate BDSM in mmio bar0 for gen 6-10 devices

A recent commit in i915 driver [1] claims the BDSM register at 0x1080c0
of mmio bar0 has been there since gen 6. Mirror this register to the 32
bit BDSM register at 0x5c in pci config space for gen6-10 devices.

[1] https://patchwork.freedesktop.org/patch/msgid/20240202224340.30647-7-ville.syrjala@linux.intel.com

Reviewed-by: Corvin Köhne <c.koehne@beckhoff.com>
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20241206122749.9893-10-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/igd.c