[Spice-devel] [PATCH v2 1/2] driver: allowed modes: remove limit of 480 <= {X,Y} <= 2000
Alon Levy
alevy at redhat.com
Thu Mar 24 02:13:37 PDT 2011
Later todo is to check that there is available video memory for
this, but that requires either access to PDev or probably dynamically
checking anyway to make sure we actually fit. Another option is
to leave that check in the host (when we do a IO_SETMODE)
Fixes Bugzilla 647865
Bumping version to 1.4.1.1
Tested with winxp 32 bit only.
---
display/driver.c | 4 +---
display/driver.rc | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/display/driver.c b/display/driver.c
index a92eb03..b129f52 100644
--- a/display/driver.c
+++ b/display/driver.c
@@ -298,9 +298,7 @@ DWORD GetAvailableModes(HANDLE driver, PVIDEO_MODE_INFORMATION *mode_info,
n = modes.NumModes;
while ( n-- ) {
if ( (info->NumberOfPlanes != 1 ) ||!(info->AttributeFlags & VIDEO_MODE_GRAPHICS)
- ||((info->BitsPerPlane != 16) && (info->BitsPerPlane != 32))
- || (info->VisScreenWidth > 2000) || (info->VisScreenWidth < 480)
- || (info->VisScreenHeight > 2000) || (info->VisScreenHeight < 480) ) {
+ ||((info->BitsPerPlane != 16) && (info->BitsPerPlane != 32))) {
DEBUG_PRINT((NULL, 1, "%s: unsuported mode rejecting miniport mode\n", __FUNCTION__));
DEBUG_PRINT((NULL, 1, " width = %li height = %li\n",
diff --git a/display/driver.rc b/display/driver.rc
index 772c6db..4330815 100644
--- a/display/driver.rc
+++ b/display/driver.rc
@@ -16,12 +16,12 @@
#define VER_FILEDESCRIPTION_STR "Red Hat QXL Display Driver"
#define VER_INTERNALNAME_STR "qxldd.dll"
#define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
-#define VER_FILEVERSION_STR "1.4.1.0"
+#define VER_FILEVERSION_STR "1.4.1.1"
#define VER_PRODUCTNAME_STR "Spice"
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
#undef VER_PRODUCTVERSION
-#define VER_PRODUCTVERSION 1,4,1,0
+#define VER_PRODUCTVERSION 1,4,1,1
#define VER_COMPANYNAME_STR "Red Hat Inc."
#define VER_LEGALCOPYRIGHT_STR "© Red Hat Inc. All rights reserved."
--
1.7.4.1
More information about the Spice-devel
mailing list