Changeset 81756 in vbox
- Timestamp:
- Nov 10, 2019 7:23:13 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134544
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r81755 r81756 9 9 * - Log3 for hex dump of shader code. 10 10 * - Log4 for hex dumps of 3D data. 11 * - Log5 for info about GMR pages. 11 12 */ 12 13 … … 3933 3934 break; 3934 3935 3936 /** @todo Move to a separate function vmsvgaGMRRemap() */ 3937 3935 3938 /* Calc new total page count so we can use it instead of cMaxPages for allocations below. */ 3936 3939 uint32_t const cNewTotalPages = RT_MAX(pGMR->cbTotal >> X86_PAGE_SHIFT, pCmd->offsetPages + pCmd->numPages); … … 4021 4024 Assert(paDescs[iDescriptor].numPages); 4022 4025 paDescs[iDescriptor].numPages++; 4023 Log Flow(("Page %x GCPhys=%RGp successor\n", i, GCPhys));4026 Log5Func(("Page %x GCPhys=%RGp successor\n", i, GCPhys)); 4024 4027 } 4025 4028 else … … 4028 4031 paDescs[iDescriptor].GCPhys = GCPhys; 4029 4032 paDescs[iDescriptor].numPages = 1; 4030 Log Flow(("Page %x GCPhys=%RGp\n", i, paDescs[iDescriptor].GCPhys));4033 Log5Func(("Page %x GCPhys=%RGp\n", i, paDescs[iDescriptor].GCPhys)); 4031 4034 } 4032 4035 } 4033 4036 4034 4037 pGMR->cbTotal = cNewTotalPages << X86_PAGE_SHIFT; 4035 Log Flow(("Nr of descriptors %x; cbTotal=%#x\n", iDescriptor + 1, cNewTotalPages));4038 Log5Func(("Nr of descriptors %x; cbTotal=%#x\n", iDescriptor + 1, cNewTotalPages)); 4036 4039 pGMR->numDescriptors = iDescriptor + 1; 4037 4040 } … … 5041 5044 RTGCPHYS const GCPhys = paDesc[iDesc].GCPhys + offGmrCurrent - offDesc; 5042 5045 5043 Log FlowFunc(("%s phys=%RGp\n", (enmTransferType == SVGA3D_WRITE_HOST_VRAM) ? "READ" : "WRITE", GCPhys));5046 Log5Func(("%s phys=%RGp\n", (enmTransferType == SVGA3D_WRITE_HOST_VRAM) ? "READ" : "WRITE", GCPhys)); 5044 5047 5045 5048 if (enmTransferType == SVGA3D_WRITE_HOST_VRAM)
Note:
See TracChangeset
for help on using the changeset viewer.