Bug 843 - [PATCH] PCI bus and mga BIOS patch (from Ivan Kokshaysky)
Summary: [PATCH] PCI bus and mga BIOS patch (from Ivan Kokshaysky)
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/mga (show other bugs)
Version: git
Hardware: x86 (IA32) All
: high major
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 351
  Show dependency treegraph
 
Reported: 2004-07-09 01:44 UTC by Mike A. Harris
Modified: 2004-08-08 22:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fix bugs indicated in report below (2.16 KB, patch)
2004-07-09 01:55 UTC, Mike A. Harris
no flags Details | Splinter Review

Description Mike A. Harris 2004-07-09 01:44:54 UTC
Problems:

- Detection of the primary adapter is broken. You have to
  set explicit PCI id in XF86Config to get the card detected
  as *secondary*. However, switching to VGA text console won't work then
  (most drivers don't save/restore VGA state for secondary adapters).

- Rather old bug in mga driver (since 4.1.0, IIRC) - the driver
  attempts to read the video ROM *before* enabling it. Naturally,
  this causes annoying machine check on certain platforms.

Full details of bug and original patch submission are in Red Hat bugzilla:
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91711


I've updated the patch to cleanly apply to X.Org CVS, attached below.
Comment 1 Mike A. Harris 2004-07-09 01:55:26 UTC
Created attachment 458 [details] [review]
Fix bugs indicated in report below
Comment 2 Kevin E. Martin 2004-08-09 15:41:36 UTC
Patch applied.


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.