Age | Commit message (Collapse) | Author |
|
|
|
by toggling the appropriate bios scratch regs you can tell
the bios not the touch the hw while the driver is active.
This should prevent the bios from scrambling the hardware
when users open the lid or toggle bios hotkeys.
fixes bug 12567
|
|
Include the mode restore bugfix from monolithic Xorg, that is derived
from the version in xsrc which in turn was provided by Matthieu Herb
over 3 years ago on the XFree86 lists. Suggested by various
developers, hold-back due to the working state in xorg-server 1.1.1.
Tracing down the exact change showed that the changed default color
depth made this issue a lot more prominent again. Discussed with Eric
Anholt.
|
|
Seems some laptops need the native mode from the bios for
LVDS while others seem to prefer a CVT mode. Add an option
to pick the preferred mode. The default it to use the bios
table timing.
|
|
RS482_5975 is actually RS485. see bug 12048
|
|
fixes bug 12048
|
|
Surprisingly easy, thanks to George's pci-rework changes.
|
|
|
|
|
|
It's only called by RADEONSave(), so just move its
contents into RADEONSave(). this mirrors RADEONRestore().
|
|
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.
|
|
|
|
The combined pitch/offset registers only support pitches up to 16320 bytes.
With EXA >= 2.3, set the maxPitchBytes field accordingly. With older versions,
limit maxX such that the pitch of 32bpp pixmaps doesn't exceed the limit.
Also check the limit in RADEONGetOffsetPitch just in case.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12551 .
|
|
|
|
|
|
This reverts commit 4000a710c93dd2d82891e4082bc7fa922ba9c5f4.
This needs to be reworked and needs more soak time. so revert
for now.
|
|
previous fix seemed to break other chips. Lets see how
this goes.
|
|
|
|
some chips seem to be pickier than others. fixes bug 12467
|
|
|
|
- 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
|
|
Leave them as programmed by the bios
fixes bug 12424
|
|
surface limits
Also, tweak default desktop sizes and add some informational messages
|
|
|
|
|
|
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
|
|
For printf vs. CARD32, use %u or %x and and a cast to unsigned.
|
|
Based on the amount of vram. We really need ttm...
|
|
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>
|
|
|
|
(cherry picked from commit 3334c247540b113f9c4a5ce1879d8648a45a959a)
|
|
|
|
|
|
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.
|
|
Since we no longer use it to write modes all it did
was restore some of the regs for a console restore.
Just move the relevant bits into RADEONRestore() and
remove it.
|
|
When restoring the console we need to:
1) we need to restore DAC registers after all other registers are
restored and CRTCs are enabled.
2) we need to enable CRTC2 registers before CRTC1 registers
|
|
Also sanitise blanking and DPMS functions
Fixes from Novell Bug 264720, and fd.o 10772
|
|
|
|
|
|
|
|
|
|
VT siwtch is busted, and xrandr doesn't play nice yet.
uncomment code in radeon_output.c to test.
|
|
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.
|
|
|
|
|