summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuri.benditovich@daynix.com <yuri.benditovich@daynix.com>2017-05-25 16:06:39 +0300
committerFrediano Ziglio <fziglio@redhat.com>2017-05-26 11:49:21 +0100
commitd2e5bd86723e14b5033640820ff08d04273688fe (patch)
tree1d7b0eb0e18e910bb94cf70be146b33e9c845f49
parent115477d9b33a9fed5cf6eafe5f98e3a15c517541 (diff)
qxl-wddm-dod: Debug printouts of memory mapping
Print error case on proper level and fix typos. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rwxr-xr-xqxldod/QxlDod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 6b0cc5e..6f2ca88 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -3437,7 +3437,7 @@ NTSTATUS QxlDevice::HWInit(PCM_RESOURCE_LIST pResList, DXGK_DISPLAY_INFORMATION*
}
else
{
- DbgPrint(TRACE_LEVEL_INFORMATION, ("DxgkCbMapMemor (CmResourceTypeMemory) failed with status 0x%X\n", Status));
+ DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbMapMemory (CmResourceTypeMemory) failed with status 0x%X\n", Status));
}
}
@@ -3465,7 +3465,7 @@ NTSTATUS QxlDevice::HWInit(PCM_RESOURCE_LIST pResList, DXGK_DISPLAY_INFORMATION*
m_RamHdr->magic != QXL_RAM_MAGIC)
{
UnmapMemory();
- DbgPrint(TRACE_LEVEL_ERROR, ("%s failed asslocateing HW resources\n", __FUNCTION__));
+ DbgPrint(TRACE_LEVEL_ERROR, ("%s failed initializing HW resources\n", __FUNCTION__));
return STATUS_UNSUCCESSFUL;
}