--- xf86-video-tseng-1.2.5/src/tseng_driver.c~ 2018-05-23 22:10:24.000000000 +0900 +++ xf86-video-tseng-1.2.5/src/tseng_driver.c 2018-05-23 22:11:46.142983591 +0900 @@ -1037,10 +1037,6 @@ else pTseng->Bytesperpixel = 1; /* this is fake for < 8bpp, but simplifies other code */ - /* hardware limits */ - pScrn->maxHValue = Tseng_HMAX; - pScrn->maxVValue = Tseng_VMAX; - /* * This must happen after pScrn->display has been set because * xf86SetWeight references it. @@ -1133,8 +1129,8 @@ /* Select valid modes from those available */ i = xf86ValidateModes(pScrn, pScrn->monitor->Modes, pScrn->display->modes, &pTseng->clockRange, - NULL, 32, pScrn->maxHValue, 8*pTseng->Bytesperpixel, /* H limits */ - 0, pScrn->maxVValue, /* V limits */ + NULL, 32, Tseng_HMAX, 8*pTseng->Bytesperpixel, /* H limits */ + 0, Tseng_VMAX, /* V limits */ pScrn->display->virtualX, pScrn->display->virtualY, pTseng->FbMapSize,