Age | Commit message (Collapse) | Author |
|
|
|
Since TV/VGA/DVI-I can share the TV DAC, we often get false detection
of all inputs that share that DAC. Make load detection an output
attribute. Enabled by default on primary dac and on cards where
tv dac is (usually) dedicated to tv (non-IGP mobilities).
|
|
sometimes the bios tmds plls are busted for certain
monitors. sometimes the dirver tables are. Let the user
pick at run time.
|
|
|
|
|
|
|
|
No need to re-set all of the pll2 stuff
|
|
|
|
FBDev support is currently broken, and it not really compatible
with randr
|
|
Apparently some radeons need this?
|
|
For printf vs. CARD32, use %u or %x and and a cast to unsigned.
|
|
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.
|
|
|
|
Based on the amount of vram. We really need ttm...
|
|
|
|
Not all bioses seem to set the right scratch bits. If we have
LVDS (via bios table or otherwise) assume it's connected.
|
|
|
|
|
|
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>
|
|
Fixes issues with RMX scaling, see
https://bugs.freedesktop.org/show_bug.cgi?id=8983 .
|
|
Exclude the DRI window(s) though to avoid scribbling over 3D rendering.
|
|
|
|
|
|
|
|
|
|
|
|
(cherry picked from commit 3334c247540b113f9c4a5ce1879d8648a45a959a)
|
|
|
|
(cherry picked from commit 8e3a6f83016cd8c4cfd43ceee4cbf0a8dc018b2a)
|
|
|
|
|
|
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
|
|
|
|
|
|
R3xx apparently needs the tv clock forced on.
|
|
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.
|
|
If the resolution defined in xorg.conf failed to find a matching mode in the
supported modelist, and no virtual desktop dimensions are defined the xorg.conf
either, virtual X and Y dimension will be set to 0 which will cause Xserver
crash.
(Novell bugzilla #296856, closed)
|
|
|
|
- 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
|
|
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 remove some unused variable
|
|
|
|
The previous implementation resulted in false positives
on occasion. This method works much more reliably.
Based on beos code by Thomas Kurschel
|
|
|
|
If the RMX registers are left as programmed by the bios
this can lead to a blank screen when crtc1 is feeding a
DAC. Fix found and reported by Lisa Wu <liswu@ati.com>
Fixes bug 11985
|
|
Based on the beos driver by Thomas Kurschel and the
existing load detection code in this driver.
|
|
|
|
|
|
Actively warn the user in the log about the effects of AGPFastWrite and
sanitise AGPFastWrite handling while we're here.
|