Age | Commit message (Collapse) | Author |
|
Take from my kms commit.
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=19459
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Fixes deprecation warnings with xserver master and should also work with older
xservers.
|
|
Noticed by John R. Dunning. Fix taken from radeonfb.
I'm not sure if this sequence would be useful on any PC
laptops or not so make it mac specific for now.
|
|
[agd5f: adapted from kms patch]
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
- hw i2c engine has pin selection on r2xx/r2xx/r3xx chips
- also switch hw i2c pin sel for external tmds
|
|
Should fix bug 21050
|
|
Should fix bug 19924
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- make sure to clear various shadow timing bits
- crtc1 select bit was set wrong.
- should fix bugs like 19100
|
|
- unify the ddc and i2c code
- add gpio mask support for legacy chips
- remove the magic gpio dance for ancient monitors
(if you have an ancient monitor that ddc stops
working on let me know). This should speed up DDC
on legacy chips.
-- radeon sw gpio i2c --
4 sets of gpio registers for clk and data and corresponding bit masks
mask - locks the gpio for use by sw
get - reads the value off the gpio pad
put - sets the gpio direction to output
a - "other stuff" On legacy chips you clear them if you want
to use a gpio for i2c. In some cases they are used for the
output value when the gpio in the output state.
|
|
RS4xx chips have a tmds init table in the mobile info table
|
|
Noticed by fnord42 on IRC.
|
|
This reverts commit e78e8a21b4040cd7f1983c241c860d9209398396.
|
|
VGA has never worked on some IGP chips. While the chip only has
one DAC, it appears to use a mix of Primary DAC and TVDAC controls.
See bug 15708
|
|
ATI provides the following algorithm to calculate the RMX scaling ratios
in its programming specs:
when RMX_AUTO_RATIO_HORZ_INC set to 1,Horizontal auto ratio result trucated,
and then incremented by 1.
Horz_Ratio = ( ((Active display width in characters (including overscan) + 1)
/ (Panel width in characters)) x 4096 + 1 )
else
Horz_Ratio = ( ((Active display width in characters (including overscan))
/ (Panel width in characters)) x 4096 + 1 )
when RMX_AUTO_RATIO_VERT_INC set to 1, Vertical auto ratio result trucated,
and then incremented by 1.
Vert_Ration = ( ((Active display width in characters (including overscan) + 1)
/ (Panel width in characters)) x 4096 + 1)
else
Vert_Ration = ( ((Active display width in characters (including overscan))
/ (Panel width in characters)) x 4096 + 1)
This patch implements this behavor. Additionally it avoids the use of floats.
|
|
RS400 (intel based IGP) and RS480 (AMD based IGP) have different
MC setups and need to be handled differently
|
|
As has been done with xf86-video-intel, replace all CARD* datatypes with
uint*_t datatypes available from stdint.h.
|
|
|
|
XPRESS chips added a second set of FP control registers.
I don't have the hw to test however.
|
|
Minor changes to avoid declarations mixed with code.
Ansified functions with empty prototype to specify they don't
receive arguments.
Added some prototypes to radeon.h, and major reorder on radeon.h
adding prototypes in alphabetical order and specifying to file that
defines it.
|
|
The behavior changed when I added rmx center mode support. In cases where
crtc0 drives a DAC this can lead to a blank screen.
|
|
Tested on my M10-based laptop.
|
|
Split out clk, data, and lock regs and masks. some cards use different
regs and masks for each. For cards with ATOMBIOS, use the i2c bios
table to grab the i2c data.
|
|
seems to cause problems with resume for some users.
this needs further investigation.
see bug 12596
|
|
use RADEONBlank() instead
|
|
|
|
|
|
|
|
|
|
This may fix krh's dvi problem
|
|
|
|
|
|
|
|
move save/restore routines into legacy_crtc/output
|
|
|