summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-10-10 16:18:13 +0200
committerAlon Levy <alevy@redhat.com>2012-10-10 16:18:13 +0200
commita1889087f1f1b64227ed725770464692bbcb19d6 (patch)
tree55c22fa042c3bdbeeaf5bbc2a1f90cd6da395de9
parentacb958c93fb0c0c7712b4e868700af01f12ca412 (diff)
miniport: QXLEscape: use 5/5/5 16 bit
Change IOCTL_QXL_SET_CUSTOM_DISPLAY to use 5/6/5 (via SetCustomDisplay). The replaced 5/6/5 is not supported by us. Specifically we fail display/rop.c:TestSrcBits and thus fail _BitBlt. I'm not sure how exactly this causes the BSOD for 863410, but it does in fact do that, and applying this fix, by not failing _BitBlt also fixes 863410. RHBZ: 863410
-rw-r--r--miniport/qxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miniport/qxl.c b/miniport/qxl.c
index bd449c3..55e55d3 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -494,7 +494,7 @@ VP_STATUS FillVidModeInfo(VIDEO_MODE_INFORMATION *pMode, ULONG xres, ULONG yres,
switch (bpp)
{
case 16:
- FillVidModeBPP(pMode, 5, 6, 5, 0xF800, 0x7E0, 0x1F);
+ FillVidModeBPP(pMode, 5, 5, 5, 0x7C00, 0x3E0, 0x1F);
break;
case 24:
case 32: