svga: Add support for SVGAv3
authorZack Rusin <zackr@vmware.com>
Tue, 8 Feb 2022 21:41:32 +0000 (16:41 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 26 Apr 2022 00:33:25 +0000 (00:33 +0000)
commit16019ff7ccfca0ffa710912b20e195bd7a4eae29
treea5de8527774e8d05b79c281aaf6800ffe62664e7
parente5306d190a22afeb592f41dea678b1d57a0513c5
svga: Add support for SVGAv3

SVGAv3 changes the PCI id due to differences in how PCI configuration
is handled - removal of VRAM and FIFO PCI resources, switch to MMIO
registers and MSI/MSI-X IRQ support but the 3D commands remain largely
the same.

This enables 3D/graphics acceleration support on SVGAv3.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16061>
include/pci_ids/vmwgfx_pci_ids.h
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_winsys.h
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c
src/gallium/winsys/svga/drm/vmwgfx_drm.h