xref: /OK3568_Linux_fs/buildroot/package/x11r7/xdriver_xf86-video-savage/0002-xorg-xserver120.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFix build with modular-xorg-server-1.20
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunDownloaded from
4*4882a593Smuzhiyunhttp://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/x11/xf86-video-savage/patches/patch-src_savage__driver.c?rev=1.3&content-type=text/x-cvsweb-markup
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunPatch was sent upstream by Thomas Klausner <wiz@netbsd.org>:
7*4882a593Smuzhiyunhttps://lists.x.org/archives/xorg-devel/2018-May/056952.html
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun--- a/src/savage_driver.c.orig	2017-01-17 22:43:40.000000000 +0000
12*4882a593Smuzhiyun+++ b/src/savage_driver.c
13*4882a593Smuzhiyun@@ -2034,8 +2034,10 @@ static Bool SavagePreInit(ScrnInfoPtr pS
14*4882a593Smuzhiyun     xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Detected current MCLK value of %1.3f MHz\n",
15*4882a593Smuzhiyun 	       mclk / 1000.0);
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun+#if 0
18*4882a593Smuzhiyun     pScrn->maxHValue = 2048 << 3;	/* 11 bits of h_total 8-pixel units */
19*4882a593Smuzhiyun     pScrn->maxVValue = 2048;		/* 11 bits of v_total */
20*4882a593Smuzhiyun+#endif
21*4882a593Smuzhiyun     pScrn->virtualX = pScrn->display->virtualX;
22*4882a593Smuzhiyun     pScrn->virtualY = pScrn->display->virtualY;
23*4882a593Smuzhiyun
24