[Spice-devel] [PATCH] miniport/qxl: disable DBG zap of video ram on map

Alon Levy alevy at redhat.com
Wed Jul 6 05:34:41 PDT 2011


---
 miniport/qxl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/miniport/qxl.c b/miniport/qxl.c
index 575bbf0..ba82d9f 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