Bug report - svgalib 1.9.12 - nv3 driver

Search this archive.

From: Andrea Mazzoleni (am@mediacom.it)
Date: Sun 23 Dec 2001 - 18:21:10 IST


In the nv3.c file the "Horizontal Retrace Start" and "Horizontal
Retrace End" registers are set subtracting 1. From my VGA docs these value
must be set without be decremented.

With the current behaviour I have an incorrect display of all the
modelines with the same "Horizontal Display End" and "Horizontal Retrace
Start". If I remove the -1 all these modelines display correctly.

These are the exact locations of the problem:

File nv3.c - function CalcualreCRTC - lines :
    horizStart = (mode->CrtcHSyncStart/8) - 1,
    horizEnd = (mode->CrtcHSyncEnd/8) - 1,

Removing the two "- 1" solves the problem.

-- 
Andrea Mazzoleni
935A 2D3C 5C70 BCD6 CB0C  ED89 7C19 4321 6340 3F6D

------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST