[Spice-devel] [PATCH qxl-win] miniport/qxl: disable DBG zap of video ram on map
Alon Levy
alevy at redhat.com
Mon Jun 20 03:59:31 PDT 2011
---
miniport/qxl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/miniport/qxl.c b/miniport/qxl.c
index e3f8e17..a94b60b 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -984,11 +984,13 @@ BOOLEAN StartIO(PVOID dev_extension, PVIDEO_REQUEST_PACKET packet)
}
mem_info->FrameBufferBase = mem_info->VideoRamBase;
mem_info->FrameBufferLength = mem_info->VideoRamLength;
+#if 0
#ifdef DBG
DEBUG_PRINT((dev, 0, "%s: zap\n", __FUNCTION__));
VideoPortZeroMemory(mem_info->VideoRamBase, mem_info->VideoRamLength);
DEBUG_PRINT((dev, 0, "%s: zap done\n", __FUNCTION__));
#endif
+#endif
}
break;
case IOCTL_VIDEO_UNMAP_VIDEO_MEMORY: {
--
1.7.5.2
More information about the Spice-devel
mailing list