summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-03-20 15:07:43 +0200
committerAlon Levy <alevy@redhat.com>2011-03-20 18:05:58 +0200
commit4ab032a6a33e0f3721d6be9cc11dc546346a2b0c (patch)
treed368d5795bdb1af9c8fced7e60392617593a0b65
parent27cf477ea4673b969f2396908ae241d9199917af (diff)
driver: allowed modes: remove limit of 480 <= {X,Y} <= 2000fix_highres_modes_2000
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.
-rw-r--r--display/driver.c4
-rw-r--r--display/driver.rc4
-rw-r--r--miniport/qxl.inf2
3 files changed, 4 insertions, 6 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."
diff --git a/miniport/qxl.inf b/miniport/qxl.inf
index 3739ac7..0c682b2 100644
--- a/miniport/qxl.inf
+++ b/miniport/qxl.inf
@@ -3,7 +3,7 @@
[Version]
Signature = "$CHICAGO$"
-DriverVer = 09/29/2010,1.4.1.0
+DriverVer = 03/20/2011,1.4.1.1
Provider = %RHAT%
CatalogFile = qxl.cat
Class = Display