Age | Commit message (Collapse) | Author |
|
Noticed by fnord42 on IRC.
(cherry picked from commit ecb6347a3d7071890600c98c2addef3a8ca260ee)
|
|
This reverts commit e78e8a21b4040cd7f1983c241c860d9209398396.
(cherry picked from commit 31c27ffcb3c4c5334cf726ecd4e293a678b2a1ea)
|
|
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
|
|
|