[Spice-devel] [PATCH v2 0/4] qxl-wddm-dod: fix for black screen after VGA driver enable

2017-02-04 Thread Yuri Benditovich
https://bugzilla.redhat.com/show_bug.cgi?id=1417448 There are 2 problems: The driver does not start properly when it does not receive valid physical address from the OS when tries to obtain current display information (fallback mode with defaults) When this is fixed, in case of fallback the driver

[Spice-devel] [PATCH v2 1/4] qxl-wddm-dod: Startup case when OS does not supply frame buffer address

2017-02-04 Thread Yuri Benditovich
https://bugzilla.redhat.com/show_bug.cgi?id=1417448 When the OS does not provide physical address of the frame buffer, the driver retrieves it from allocated PCI resource for BAR0. https://msdn.microsoft.com/en-us/library/hh451339(v=vs.85).aspx In DxgkCbAcquirePostDisplayOwnership OS not always fil

[Spice-devel] [PATCH v2 2/4] qxl-wddm-dod: Discard meaningless copy of value

2017-02-04 Thread Yuri Benditovich
Signed-off-by: Yuri Benditovich --- qxldod/QxlDod.cpp | 6 -- 1 file changed, 6 deletions(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index e761583..082219b 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -4816,7 +4816,6 @@ UINT SpiceFromPixelFormat(D3DDDIFORMAT Format)

[Spice-devel] [PATCH v2 4/4] qxl-wddm-dod: Use 32 bpp for fallback mode

2017-02-04 Thread Yuri Benditovich
The driver uses fallback mode when it does not receive startup display information from the OS. This change allows solution for https://bugzilla.redhat.com/show_bug.cgi?id=1417448 without fix in qemu for video mode switch from 32 bpp to 24 bpp. Signed-off-by: Yuri Benditovich --- qxldod/QxlDod.c

[Spice-devel] [PATCH v2 3/4] qxl-wddm-dod: Allow easy modification of fallback setting

2017-02-04 Thread Yuri Benditovich
Signed-off-by: Yuri Benditovich --- qxldod/QxlDod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 082219b..37a4b34 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -4830,10 +4830,10 @@ NTSTATUS HwDeviceInterface::Ac