[Spice-devel] [PATCH qxl-win v3] miniport/qxl: disable DBG zap of video ram on map
Alon Levy
alevy at redhat.com
Thu Jul 7 02:43:17 PDT 2011
---
miniport/qxl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/miniport/qxl.c b/miniport/qxl.c
index b5fdd29..f184cf8 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -1003,11 +1003,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.4
More information about the Spice-devel
mailing list