VirtualBox

Changeset 82071 in vbox for trunk


Ignore:
Timestamp:
Nov 21, 2019 9:36:50 AM (5 years ago)
Author:
vboxsync
Message:

DevVGA: Use PCI_ADDRESS_SPACE_MEM_PREFETCH rather than PCI_ADDRESS_SPACE_MEM for the VMSVGA FIFO and VRAM as MetalKit has been fixed ages ago (I've been told) and isn't an important use case.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp

    r82059 r82071  
    53215321    else
    53225322    {
    5323         AssertReturn(iRegion == pThis->pciRegions.iFIFO && enmType == PCI_ADDRESS_SPACE_MEM, VERR_INTERNAL_ERROR);
     5323        AssertReturn(iRegion == pThis->pciRegions.iFIFO && enmType == PCI_ADDRESS_SPACE_MEM_PREFETCH, VERR_INTERNAL_ERROR);
    53245324        if (GCPhysAddress != NIL_RTGCPHYS)
    53255325        {
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r82070 r82071  
    56785678    Log(("vgaR3IORegionMap: iRegion=%d GCPhysAddress=%RGp cb=%RGp enmType=%d\n", iRegion, GCPhysAddress, cb, enmType));
    56795679
    5680 #ifdef VBOX_WITH_VMSVGA
    5681     AssertReturn(   iRegion == pThis->pciRegions.iVRAM
    5682                  && enmType == (pThis->fVMSVGAEnabled ? PCI_ADDRESS_SPACE_MEM : PCI_ADDRESS_SPACE_MEM_PREFETCH),
    5683                  VERR_INTERNAL_ERROR);
    5684 #else
    56855680    AssertReturn(iRegion == pThis->pciRegions.iVRAM && enmType == PCI_ADDRESS_SPACE_MEM_PREFETCH, VERR_INTERNAL_ERROR);
    5686 #endif
    56875681    Assert(pPciDev == pDevIns->apPciDevs[0]);
    56885682
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette