@@ -0,0 +1,24 @@
|
|||||||
|
--- a/src/s3v_driver.c
|
||||||
|
+++ b/src/s3v_driver.c
|
||||||
|
@@ -1212,8 +1212,6 @@
|
||||||
|
/* todo - The virge limit is 2048 vertical & horizontal */
|
||||||
|
/* pixels, not clock register settings. */
|
||||||
|
/* true for all ViRGE? */
|
||||||
|
- pScrn->maxHValue = 2048;
|
||||||
|
- pScrn->maxVValue = 2048;
|
||||||
|
|
||||||
|
/* Lower depths default to config file */
|
||||||
|
pScrn->virtualX = pScrn->display->virtualX;
|
||||||
|
@@ -2566,6 +2564,12 @@
|
||||||
|
if ((pScrn->bitsPerPixel + 7)/8 * mode->HDisplay > 4095)
|
||||||
|
return MODE_VIRTUAL_X;
|
||||||
|
|
||||||
|
+ if (mode->HTotal > 2048)
|
||||||
|
+ return MODE_BAD_HVALUE;
|
||||||
|
+
|
||||||
|
+ if (mode->VTotal > 2048)
|
||||||
|
+ return MODE_BAD_VVALUE;
|
||||||
|
+
|
||||||
|
return MODE_OK;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<Dependency>util-macros</Dependency>
|
<Dependency>util-macros</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch level="1">git-fixes.patch</Patch> -->
|
<Patch level="1">check-max-value.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ from pisi.actionsapi import autotools
|
|||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
autotools.autoreconf("-fiv")
|
||||||
autotools.configure("\
|
autotools.configure("\
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-dri \
|
--disable-dri \
|
||||||
@@ -18,4 +19,4 @@ def build():
|
|||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.install()
|
autotools.install()
|
||||||
pisitools.dodoc("COPYING", "ChangeLog", "README")
|
pisitools.dodoc("COPYING", "README*")
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -19,6 +19,9 @@
|
|||||||
<Dependency>xorg-server-devel</Dependency>
|
<Dependency>xorg-server-devel</Dependency>
|
||||||
<Dependency>util-macros</Dependency>
|
<Dependency>util-macros</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">git-video-savage.patch</Patch>
|
||||||
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
|
|||||||
Reference in New Issue
Block a user