Changeset 87904 in vbox
- Timestamp:
- Mar 1, 2021 6:14:51 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142990
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmifs.h
r84740 r87904 521 521 * @param pInterface Pointer to this interface. 522 522 * @param fFailOnResize Fail is a resize is pending. 523 * @thread The emulation thread .523 * @thread The emulation thread - bird sees no need for EMT here! 524 524 */ 525 525 DECLR3CALLBACKMEMBER(int, pfnUpdateDisplayAll,(PPDMIDISPLAYPORT pInterface, bool fFailOnResize)); … … 646 646 * @param cbDstLine The line length of the destination frame buffer. 647 647 * @param cDstBitsPerPixel The pixel depth of the destination. 648 * @thread The emulation thread .648 * @thread The emulation thread - bird sees no need for EMT here! 649 649 */ 650 650 DECLR3CALLBACKMEMBER(int, pfnCopyRect,(PPDMIDISPLAYPORT pInterface, uint32_t cx, uint32_t cy, … … 807 807 * 808 808 * @param pInterface Pointer to this interface. 809 * @thread The emulation thread .809 * @thread The emulation thread or timer queue thread. 810 810 */ 811 811 DECLR3CALLBACKMEMBER(void, pfnRefresh,(PPDMIDISPLAYCONNECTOR pInterface)); -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r87773 r87904 4738 4738 PPDMDEVINS pDevIns = pThisCC->pDevIns; 4739 4739 PVGASTATE pThis = PDMDEVINS_2_DATA(pDevIns, PVGASTATE); 4740 PDMDEV_ASSERT_EMT(pDevIns);4741 4740 4742 4741 int rc = PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_SEM_BUSY); … … 4785 4784 * Internal vgaR3PortUpdateDisplayAll worker called under pThis->CritSect. 4786 4785 */ 4786 /** @todo Why the 'vboxR3' prefix? */ 4787 4787 static int vboxR3UpdateDisplayAllInternal(PPDMDEVINS pDevIns, PVGASTATE pThis, PVGASTATECC pThisCC, bool fFailOnResize) 4788 4788 { 4789 4789 # ifdef VBOX_WITH_VMSVGA 4790 if ( !pThis->svga.fEnabled 4791 || pThis->svga.fTraces) 4792 { 4790 if ( !pThis->svga.fEnabled 4791 || pThis->svga.fTraces) 4793 4792 # endif 4794 /* The dirty bits array has been just cleared, reset handlers as well. */ 4795 if (pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS) 4796 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM); 4797 # ifdef VBOX_WITH_VMSVGA 4798 } 4799 # endif 4793 { 4794 /* The dirty bits array has been just cleared, reset handlers as well. */ 4795 if (pThis->GCPhysVRAM && pThis->GCPhysVRAM != NIL_RTGCPHYS) 4796 PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->GCPhysVRAM); 4797 } 4800 4798 if (pThis->fRemappedVGA) 4801 4799 { … … 4819 4817 PPDMDEVINS pDevIns = pThisCC->pDevIns; 4820 4818 PVGASTATE pThis = PDMDEVINS_2_DATA(pDevIns, PVGASTATE); 4821 PDMDEV_ASSERT_EMT(pDevIns);4822 4819 4823 4820 /* This is called both in VBVA mode and normal modes. */ -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r85368 r87904 976 976 #ifndef VBOX_WITH_HGSMI 977 977 if (!mVideoAccelLegacy.fVideoAccelEnabled) 978 {979 978 #else 980 979 if (!mVideoAccelLegacy.fVideoAccelEnabled && !maFramebuffers[uScreenId].fVBVAEnabled) 981 { 982 #endif /* VBOX_WITH_HGSMI */ 980 #endif 981 { 983 982 /* When VBVA is enabled, the VRDP server is informed 984 983 * either in VideoAccelFlush or displayVBVAUpdateProcess. … … 2306 2305 } 2307 2306 2307 /** @todo r=bird: cannot quite see why this would be required to run on an 2308 * EMT any more. It's not an issue in the COM methods, but for the 2309 * VGA device interface it is an issue, see querySourceBitmap. */ 2308 2310 /*static*/ DECLCALLBACK(int) Display::i_InvalidateAndUpdateEMT(Display *pDisplay, unsigned uId, bool fUpdateAll) 2309 2311 { … … 2569 2571 2570 2572 if (fInvalidate) 2573 #if 1 /* bird: Cannot see why this needs to run on an EMT. It deadlocks now with timer callback moving to non-EMT worker threads. */ 2574 Display::i_InvalidateAndUpdateEMT(this, aScreenId, false /*fUpdateAll*/); 2575 #else 2571 2576 VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY, (PFNRT)Display::i_InvalidateAndUpdateEMT, 2572 2577 3, this, aScreenId, false); 2578 #endif 2573 2579 } 2574 2580
Note:
See TracChangeset
for help on using the changeset viewer.