Changeset 50898 in vbox for trunk/src/VBox
- Timestamp:
- Mar 26, 2014 5:16:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r50859 r50898 1647 1647 { 1648 1648 PVBOXWDDM_GETDPCDATA_CONTEXT pdc = (PVBOXWDDM_GETDPCDATA_CONTEXT)Context; 1649 1650 vboxVtListDetach2List(&p dc->pDevExt->CtlList, &pdc->data.CtlList);1649 PVBOXMP_DEVEXT pDevExt = pdc->pDevExt; 1650 vboxVtListDetach2List(&pDevExt->CtlList, &pdc->data.CtlList); 1651 1651 #ifdef VBOX_WITH_VDMA 1652 vboxVtListDetach2List(&p dc->pDevExt->DmaCmdList, &pdc->data.DmaCmdList);1652 vboxVtListDetach2List(&pDevExt->DmaCmdList, &pdc->data.DmaCmdList); 1653 1653 #endif 1654 1654 #ifdef VBOX_WITH_VIDEOHWACCEL 1655 vboxVtListDetach2List(&pdc->pDevExt->VhwaCmdList, &pdc->data.VhwaCmdList); 1656 #endif 1657 vboxVdmaDdiCmdGetCompletedListIsr(pdc->pDevExt, &pdc->data.CompletedDdiCmdQueue); 1658 1659 pdc->data.bNotifyDpc = pdc->pDevExt->bNotifyDxDpc; 1660 pdc->pDevExt->bNotifyDxDpc = FALSE; 1661 1662 ASMAtomicWriteU32(&pdc->pDevExt->fCompletingCommands, 0); 1655 vboxVtListDetach2List(&pDevExt->VhwaCmdList, &pdc->data.VhwaCmdList); 1656 #endif 1657 if (!pDevExt->fCmdVbvaEnabled) 1658 vboxVdmaDdiCmdGetCompletedListIsr(pDevExt, &pdc->data.CompletedDdiCmdQueue); 1659 1660 pdc->data.bNotifyDpc = pDevExt->bNotifyDxDpc; 1661 pDevExt->bNotifyDxDpc = FALSE; 1662 1663 ASMAtomicWriteU32(&pDevExt->fCompletingCommands, 0); 1663 1664 1664 1665 return TRUE; … … 1701 1702 AssertRC(rc); 1702 1703 } 1703 1704 #ifdef VBOX_WITH_VIDEOHWACCEL 1704 1705 if (!vboxVtListIsEmpty(&context.data.VhwaCmdList)) 1705 1706 { 1706 1707 vboxVhwaCompletionListProcess(pDevExt, &context.data.VhwaCmdList); 1707 1708 } 1708 #endif 1709 1710 vboxVdmaDdiCmdHandleCompletedList(pDevExt, &context.data.CompletedDdiCmdQueue); 1709 #endif 1711 1710 } 1712 1711 // LOGF(("LEAVE, context(0x%p)", MiniportDeviceContext)); … … 3034 3033 { 3035 3034 PVBOXWDDM_CALL_ISR pdc = (PVBOXWDDM_CALL_ISR)Context; 3036 if (pdc->pDevExt->fCmdVbvaEnabled) 3037 return DxgkDdiInterruptRoutineNew(pdc->pDevExt, pdc->MessageNumber); 3038 return DxgkDdiInterruptRoutineLegacy(pdc->pDevExt, pdc->MessageNumber); 3035 PVBOXMP_DEVEXT pDevExt = pdc->pDevExt; 3036 if (pDevExt->fCmdVbvaEnabled) 3037 return DxgkDdiInterruptRoutineNew(pDevExt, pdc->MessageNumber); 3038 return DxgkDdiInterruptRoutineLegacy(pDevExt, pdc->MessageNumber); 3039 3039 } 3040 3040 … … 4746 4746 { 4747 4747 PVBOXWDDM_QUERYCURFENCE_CB pdc = (PVBOXWDDM_QUERYCURFENCE_CB)Context; 4748 BOOL bRc = DxgkDdiInterruptRoutineLegacy(pdc->pDevExt, pdc->MessageNumber); 4749 pdc->uLastCompletedCmdFenceId = pdc->pDevExt->u.primary.Vdma.uLastCompletedPagingBufferCmdFenceId; 4748 PVBOXMP_DEVEXT pDevExt = pdc->pDevExt; 4749 BOOL bRc = DxgkDdiInterruptRoutineLegacy(pDevExt, pdc->MessageNumber); 4750 pdc->uLastCompletedCmdFenceId = pDevExt->u.primary.Vdma.uLastCompletedPagingBufferCmdFenceId; 4750 4751 return bRc; 4751 4752 } … … 7144 7145 DriverInitializationData.DxgkDdiRemoveDevice = DxgkDdiRemoveDevice; 7145 7146 DriverInitializationData.DxgkDdiDispatchIoRequest = DxgkDdiDispatchIoRequest; 7146 DriverInitializationData.DxgkDdiInterruptRoutine = DxgkDdiInterruptRoutine New;7147 DriverInitializationData.DxgkDdiDpcRoutine = DxgkDdiDpcRoutine New;7147 DriverInitializationData.DxgkDdiInterruptRoutine = DxgkDdiInterruptRoutineLegacy; 7148 DriverInitializationData.DxgkDdiDpcRoutine = DxgkDdiDpcRoutineLegacy; 7148 7149 DriverInitializationData.DxgkDdiQueryChildRelations = DxgkDdiQueryChildRelations; 7149 7150 DriverInitializationData.DxgkDdiQueryChildStatus = DxgkDdiQueryChildStatus;
Note:
See TracChangeset
for help on using the changeset viewer.