Age | Commit message (Collapse) | Author |
|
Surprisingly easy, thanks to George's pci-rework changes.
|
|
- The panel timing from the bios tables is for the crtc,
not the native panel mode, so add cvt modes for the panel
and fix up the crtc values in mode_fixup().
- rename and reconfigure RADEONValidateFPModes() to what it
really does: add screen modes. I suppose for backwards
compatibility we ought to add the screen modes to every
reasonable output, but everyone should really use xrandr
or an output monitor section to add custom modes. Hopefully
this will go away at some point.
|
|
This probably won't work on all chips as the various gpio lines
seem to need special magic to to actually talk to the i2c slave
chips.
|
|
Option "MacModel" "mini"
may not be 100% correct yet
|
|
This reverts commit 4000a710c93dd2d82891e4082bc7fa922ba9c5f4.
This needs to be reworked and needs more soak time. so revert
for now.
|
|
|
|
- Based on Dave Airlie's initial work and the dvo support
in the intel driver.
- Only sil164 is supported at the moment.
- Once we get some testing and such, we ought to move the dvo
drivers out of the drivers so they can be shared among all drivers
- Doesn't seem to work on my card (r4xx ATOM) card ATM
- Legacy bios table programming sequence not implemented yet
|
|
As far as I can tell there are three apple laptop variants:
ibook - LVDS, TVDAC drives TV or VGA via dongle
powerbook-duallink - LVDS, TV, External TMDS/Primary DAC
powerbook - LVDS, TV, Internal TMDS/Primary DAC
use Option "MacModel" "<string>"
to enable the appropriate quirks where string is one of the above
We can't yet init the external TMDS directly, but if OF inits it,
it should work. This should also fix bug 9955.
Please test!
|
|
Also rework the tmds pll output attribute handling a bit
|
|
|
|
FBDev support is currently broken, and it not really compatible
with randr
|
|
On my rs480 I had to vt switch to get hotplug VGA working due to the tv-out
code turning off the dac when the vga code was actually using it.
|
|
|
|
RADEONWaitForVerticalSync() and RADEONWaitForVerticalSync2() need to wait
for a timeout specified in milliseconds; looping around usleep() causes
the timeout to be unnecessarily long, as the OS may sleep longer than
requested (on Linux the minimum actual sleep value may be several ms).
The new logic uses gettimeofday() in the loop to see when the (absolute)
timeout has arrived.
Signed-off-by: Alon Ziv <alonz@nolaviz.org>
|
|
|
|
|
|
|
|
Conflicts:
src/radeon.h
src/radeon_bios.c
src/radeon_display.c
src/radeon_dri.c
src/radeon_driver.c
src/radeon_modes.c
src/radeon_probe.h
src/radeon_video.c
|
|
|
|
This option skips the parsing the BIOS connector table
and falls back to chip specific defaults.
Also remove man page section for the now gone bioshotkeys
option.
|
|
- Basically just copied from the intel driver. I'm planning to push
this to the server soon, but add it now to get things working
and to provide compat for older servers.
- Overlay crtc source control attribute now called XV_CRTC
The old attribute XV_SWITCHCRT has been removed. If anyone cares,
we can add it back as an alias to XV_CRTC
XV_CRTC: -1 auto, 0 crtc0, 1 crtc1
|
|
Actively warn the user in the log about the effects of AGPFastWrite and
sanitise AGPFastWrite handling while we're here.
|
|
|
|
- greatly simplify ATOM and legacy connector table parsing
- use bios tables to detect LVDS and TV outputs
- add support for TV table parsing (legacy only)
|
|
Also sanitise blanking and DPMS functions
Fixes from Novell Bug 264720, and fd.o 10772
|
|
Based on the GATOS tv-out support by Federico Ulivi <fulivi@lycos.com>
and information from ati with substantial rework by myself.
Code is not actually hooked up yet.
|
|
|
|
- prevents a possible hang if console is only using 1 crtc
|
|
- still need to track crtcs for blank/unblank when restoring text console
|
|
- only restore output specific regs
- restore fp2_gen_cntl on R200 DAC restore as R200 DAC2 is connected via
DVO
|
|
This is based on the netbsd radeonfb driver by Garrett D'Amore.
The code is not hooked up yet, but should allow you to post cards
without needing to execute bios code. This should be useful on
non-x86 platforms, for posting secndary cards, and for suspend/resume.
Works on legacy bioses only (no ATOM support).
|
|
|
|
|
|
Also disable vbl when 3D isn't running
|
|
Move code where it's used, remove unused variables, etc.
|
|
Conflicts:
src/radeon_cursor.c
src/radeon_display.c
src/radeon_driver.c
|
|
Hardcode the values from a working fglrx run, this works for me now
I've no idea what it might do for anyone else
|
|
I've no idea why or what this does.
|
|
- once again borrowed heavily from intel
|
|
|
|
|
|
It can be enabled at runtime by increasing the log verbosity level.
Also change the prefix from (**) to (II) to make grepping the log file for
defaults overridden by xorg.conf more useful again.
Turn some MC related debugging output into normal informational output as it's
useful for recognizing corner cases that can cause stability issues.
|
|
|
|
- remove extra crtc2_base set
- remove some debugging code
- clean up RestoreMode()
- make sure a DDC reg gets assigned for LCD_DDC
- make sure we adjust the right frame in AdjustFrame()
- rename RADEONMapControllers() to RADEONPrintPortMap() to
reflect what it actually does now
- make i2c bus name match the DDC port
- remove or comment out un-needed code
|
|
|
|
|
|
|
|
|
|
|
|
|