this bug is to track Benh's radeon patches.
Created attachment 1519 [details] [review]
This patch adds the "VGAAccess" option (defaults to NO on PPC and YES on
that disables all legacy VGA stuffs in the driver, since they are causing
issues on non-x86 machines.
Created attachment 1520 [details] [review]
This patch makes sure CRTC2_OFFSET_CNTL is cleared. None of the options in
this register should be enabled with our current driver, and some firmwares
setup a tiled display, which we _must_ disable for now. Without this, the
second screen is completely scrambled on some PowerMacs.
Created attachment 1521 [details] [review]
This patch fix the routine that probes for PLL values in absence of a
BIOS ROM. The measure is more precise, done several times to avoid
"gliches" caused by scheduling latencies, plus the patch fixes actual
bugs in the previous iteration of the code. It also add calculation of
the mclk and sclk values for proper display bandwidth calculation and
adds proper min/max PLL values for r420 type cards.
Created attachment 1522 [details] [review]
The display bandwidth calculation code has a small bug when looking at
the memory controller setup on r300 chips. Hui from ATI confirmed that
this was the right fix.
Created attachment 1523 [details] [review]
When using MergedFB, the driver would call RADEONInitPLLRegisters for the first
head even when UseBiosDividers was set to TRUE, which was incorrect. This patch
fixes it by moving the test of UseBiosDividers into RADEONInitPLLRegisters
simplifies the code in the caller and is more logical.
Created attachment 1524 [details] [review]
The dual head setup was recently re-broken (after having been fixed a while
with SURFACE_CNTL beeing written with the wrong value from the second head. The
problem is that usually, only the first head had a correct value in there, and
the driver would regular mixup which register setup was used to restore that
value. This patch fixes it once for all by making sure the second head does
carry the proper value too.
Created attachment 1525 [details] [review]
is set with an odd post-divider value. This makes sure we never chose
a "wrong" value when calculating the P2PLL setting on a non-CRT screen.
Created attachment 1526 [details] [review]
On some cards where no BIOS provided output mapping infos is available, the
driver would get the DDC flipped between the two outputs of the card. This
typically happen on recent Mac cards. This adds an option to force the
driver to reverse what it thinks is the primary display DDC and the
secondary display DDC. Ultimately, we'll have to do a better job of
recognizing those Mac cards though.
Created attachment 1527 [details] [review]
RadeonValidateFPModes() has a bug where it could try to dereference
a NULL pointer in some cases when linking in modes. This fixes it.
Created attachment 1528 [details] [review]
This patch adds an option for probing the PLL value at server init time
for LVDS panels and re-using it later (by setting UseBiosDividers). It's
useful on machines without an X86 BIOS image providing the proper set of
divider values for the LVDS, as the value calculated by
tend not to be suitable for some LVDS panels.
It also changes a bit the way the panel infos are extracted, the previous
code didn't quite work for me, and after discussing with Hui, I decided
to move the detection earlier in the discovery process and to do it slightly
as a note, patch 11 (bug 1912) is already committed to HEAD
*** Bug 2020 has been marked as a duplicate of this bug. ***
How does a person use these? I get errors with the patch command.
Created attachment 1541 [details] [review]
all in one
patch 9 seems to have already been applied. Here's a new all in one patch
against xorg cvs.
Created attachment 1553 [details] [review]
I missed a small mask change. updated patch.
applied to HEAD
can we close this now?
on May 25, 2016 at 16:52:54.
(provided by the Example extension).