Age | Commit message (Collapse) | Author |
|
(cherry picked from commit b0378bb145c8a915c943bef7d17f2cdecfccc891)
|
|
This patch fixes the console switch for me on R5xx.
There are two aspects to it:
- Fix the ordering of avivo_restore() to better match what's
happening in the driver & ATOM, properly locking/unlocking and
only enabling the CRTCs after everything has been properly
programmed.
- Don't ASIC_INIT if the card has any CRTC enabled. This is the
best I came up with for avoiding spurrious ASIC_INIT on cards that
-are- POSTed but don't have the BIOS coming from c0000 on x86. The
problem with spurrious ASIC_INIT is that we do it before we do
RADEONSave(), so that screws up the console switch.
Note that I think we also should save/restore the palette, I don't think
we do. right now, it's a minor issue for me because I fixed offb to be
able to set it on AVIVO's but it might still have to be done in the long
run.
Tested with a VGA analog setup on DACA and a DVI setup on TMDS 0. I
haven't tested any other combo but that should get us going.
Cheers,
Ben.
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit df53d12a06fad41f00cff849458cb358ab5e2098)
|
|
As has been done with xf86-video-intel, replace all CARD* datatypes with
uint*_t datatypes available from stdint.h.
|
|
|
|
- free rotate pixmaps on VT switch
- save crtc/output status so we only turn on
crtcs/outputs if they are off
- show/hide cursors when changing modes
|
|
XPRESS chips added a second set of FP control registers.
I don't have the hw to test however.
|
|
|
|
Enabled by default. The TMDS transmitter can be programmed
slightly differently depending on the chips in the panel. If you
have problems with tmds on a particular panel, try disabling it.
|
|
|
|
|
|
DACs are working well, DIG support (DVI, HDMI, LVDS, etc.)
still has some issues.
|
|
Save/Restore the entire block for each output.
This should fix VT switch problems.
|
|
|
|
|
|
Noted by Maciej Cencora on IRC
|
|
This should fix the color banding some people have noticed.
Also save/restore DDIA regs on RS6xx
|
|
|
|
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.
|
|
|
|
|
|
Unify the radeon/avivo paths and grab the data/clk masks from bios
if available
|
|
|
|
Do not load the ati wrapper when the user specifies the sub-driver name in
the Driver line of xorg.conf. Also, for -configure cause the wrapper to fail
and let each sub-driver speak for themselves.
|
|
|
|
|
|
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
|
|
compile-tested only
|
|
|
|
Component output is still not working.
|
|
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support
merge and fix conflicts
|
|
allocate separate cursor buffers for each crtc
|
|
|
|
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support
fix conflicts
|
|
git://git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support
Conflicts:
src/radeon.h
src/radeon_crtc.c
src/radeon_driver.c
src/radeon_output.c
|
|
You've whined, you've cried, you've nagged, and you're guilt trippin has
made me do it... It actually wasn't as hard as I thought it would be.
Still not perfect, couple of things to fix yet
|
|
|
|
convert and add hpd info
|
|
|
|
Untested and not likely to work just yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
re-organize the output type
|
|
I commented out the object parsing for the time being as
using it will require some thought as to new output
related data structures.
|
|
|
|
|