Bug 2437 - sis driver reads wrong data from BIOS image
Summary: sis driver reads wrong data from BIOS image
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/SiS (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Roland Mainz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 16:04 UTC by Thomas Winischhofer
Modified: 2005-01-31 22:44 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
[FIXED_X11R68x] fix for BIOS data reading (886 bytes, patch)
2005-01-31 16:15 UTC, Thomas Winischhofer
roland.mainz: 6.8-branch+
Details | Splinter Review

Description Thomas Winischhofer 2005-01-31 16:04:30 UTC
The sis driver, for some new hardware, needs to read some panel related timing
data from the BIOS image.

However, the 6.8.1 version of the driver does this in the wrong way.

This has been fixed in the HEAD version for quite a while and verfied working.
Comment 1 Thomas Winischhofer 2005-01-31 16:15:26 UTC
Created attachment 1805 [details] [review]
[FIXED_X11R68x] fix for BIOS data reading
Comment 2 Roland Mainz 2005-01-31 16:50:06 UTC
Thomas:
Is there anyone who can test the patch and vouch for it (in the next 18h if
possible as we'd like to cut release canidate 4 in this timeframe) ? In todays
release-wranglers call we already approved the last row of patches for the
stable branch and now we're supposed to take only documentation patches (and in
theory very urgend "showstoppers" which do not have workarounds).
Comment 3 Thomas Winischhofer 2005-01-31 16:58:50 UTC
Well, erm, I can.... I have actually SEEN this fixing the problem.
Comment 4 Thomas Winischhofer 2005-01-31 17:03:44 UTC
PS: This bug can actually be considered a show stopper for, as it seems, a
number of people with new models of laptops/notebooks. In the last week alone,
three people contacted me because of this problem. I am sorry for being so late
with presenting this patch but I found it just recently and needed confirmation
that my fix is proper (which it is, as said).
Comment 5 Roland Mainz 2005-01-31 17:35:19 UTC
(In reply to comment #4)
> PS: This bug can actually be considered a show stopper for, as it seems, a
> number of people with new models of laptops/notebooks.

OK, I'll hold off RC2 then for this patch (but no longer than 24h if possible),
either someone vouches for the patch (I'll post a message to the
release-wranglers mailinglist in a few mins) or (better) tests the patch...

> In the last week alone,
> three people contacted me because of this problem. I am sorry for being so 
> late with presenting this patch but I found it just recently and needed

No need to be sorry... better late than having a broken SIS driver in
X11R6.8.2final ... :)

> confirmation that my fix is proper (which it is, as said).

Is it possible that anyone of these people comment here ?
Comment 6 Thomas Winischhofer 2005-01-31 18:03:06 UTC
I just wrote an email to one of my testers. I hope he has time to get an account
and add a comment here. Expect something in the lines of "yes, this works".

What this should gain is another question. While I understand the seemingly
assuring "security" that another one's report might provide, please be aware of
the fact that I have actually written this entire driver and you can rest
assured that I do know very well what I am doing ;) Besides, I have received two
confirmations on the patches' (2437+2438) positive effects (one of which
hopefully will be repeated here within the given timeframe).
Comment 7 Roland Mainz 2005-01-31 18:16:45 UTC
(In reply to comment #6)
> I just wrote an email to one of my testers. I hope he has time to get an account
> and add a comment here. Expect something in the lines of "yes, this works".
> 
> What this should gain is another question. While I understand the seemingly
> assuring "security" that another one's report might provide, please be aware of
> the fact that I have actually written this entire driver and you can rest
> assured that I do know very well what I am doing ;)

Yes yes, I belive you :) I just want to make sure we don't make any mistake here
because if the patch is in RC4 then we're beyond the point-of-no-return - if
there is anything wrong we likely won't be able to correct that anymore.
Comment 8 Matthew Daniel 2005-01-31 19:22:19 UTC
(In reply to comment #6)
> please be aware of the fact that I have actually written this entire driver
and you can rest assured that I do know very well what I am doing ;) Besides, I
have received two confirmations on the patches' (2437+2438) positive effects
(one of which hopefully will be repeated here within the given timeframe).

I can confirm that the driver Thomas provided produced clarity far above and
beyond the vesa driver that Fedora Core 3 thought I should use. I believe in the
driver so strongly that I paid him immediately for his work. It's worth every
penny to have sharp lines on my LCD again.
Comment 9 Egbert Eich 2005-02-01 01:06:32 UTC
> Is it possible that anyone of these people comment here ?

Thomas said clearly that Testers have confirmed to him that this patch is
working. I don't see why we need a personal testimony from the tester.
Thomas is the only maintainer of this driver and should be trusted on these issues.
Comment 10 Roland Mainz 2005-02-01 17:20:38 UTC
(In reply to comment #9)
> > Is it possible that anyone of these people comment here ?
> 
> Thomas said clearly that Testers have confirmed to him that this patch is
> working. I don't see why we need a personal testimony from the tester.
> Thomas is the only maintainer of this driver and should be trusted on these
issues.

The problem is that we're very late in the game and don't have another
release-wranglers phone call to debate the patch. If I just go ahead and approve
the patch I am in trouble as everyone else can demand to get his/her "pet" patch
"in" under the same rule (e.g. same rules for everyone). release-wranglers never
setup a procedure for such emergency stuff so the best thing I can try is to
apply a mozilla.org-style voucher procedure here to avoid further problems...
I just want to be very sure that nothing gets broken and I'd like also have the
barrier slightly bumped via requesting two vouchers for such late patches (I'll
vouch and Kevin Martin vouches and we have a real tester who vouches, too) to
avoid that tons of other non-mandatory stuff hits the tree. RC3 was already bad
enougth as much stuff went in too late... ;-(
Comment 11 Roland Mainz 2005-02-01 17:22:28 UTC
Comment on attachment 1805 [details] [review]
[FIXED_X11R68x] fix for BIOS data reading

Approving for commit into X11R6.8.x stable branch (two vouchers: Roland Mainz,
Kevin Martin and one confirmation by Matthew Daniel).
Comment 12 Roland Mainz 2005-02-01 17:23:06 UTC
Taking bug myself for commit...
Comment 13 Roland Mainz 2005-02-01 17:38:12 UTC
Comment on attachment 1805 [details] [review]
[FIXED_X11R68x] fix for BIOS data reading

Patch checked-in into X11R6.8.x stable branch:

/cvs/xorg/xc/ChangeLog,v  <--  xc/ChangeLog
new revision: 1.365.2.146; previous revision: 1.365.2.145
cvs commit: Using deprecated info format strings.  Convert your scripts to use
the new argument format and remove '1's from your info file format strings.
/cvs/xorg/xc/programs/Xserver/hw/xfree86/drivers/sis/init301.c,v  <-- 
xc/programs/Xserver/hw/xfree86/drivers/sis/init301.c
new revision: 1.13.2.1; previous revision: 1.13
cvs commit: Using deprecated info format strings.  Convert your scripts to use
the new argument format and remove '1's from your info file format strings.
Mailing the commit message to xorg-commit@lists.freedesktop.org...
Comment 14 Roland Mainz 2005-02-01 17:44:07 UTC
Patch checked-in into X11R6.8.x stable branch...

... marking bug as FIXED (please reopen if there are any issues left).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.