summaryrefslogtreecommitdiff
path: root/src/radeon_probe.h
AgeCommit message (Collapse)Author
2008-11-25radeon: fixup shared DDC lines for some rv610 cards.Alex Deucher
Some cards share DDC between a HDMI and VGA output, and expect the driver to use load detect or EDID to figure it out. airlied- shipped in RHEL5 Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-10-06Refactor atom LCD/DFP output setupAlex Deucher
Simplify the code, properly handle dithering, coherent mode, encoding, etc. Should fix bug 17897.
2008-10-03Add support for DDC via atom commands for RV410Alex Deucher
The atom calls use the hw i2c engine for DDC. For some reason, sw i2c doesn't seem to work on the VGA GPIO on RV410 chips, so we use atom in that case. This fixes the longstanding VGA DDC problems on RV410/M26 chips.
2008-08-25Switch cursors over to generic allocatorAlex Deucher
2008-08-25Convert randr, Xv to a common allocatorAlex Deucher
2008-08-08Further cleanup and unification of i2c codeAlex Deucher
- unify the ddc and i2c code - add gpio mask support for legacy chips - remove the magic gpio dance for ancient monitors (if you have an ancient monitor that ddc stops working on let me know). This should speed up DDC on legacy chips. -- radeon sw gpio i2c -- 4 sets of gpio registers for clk and data and corresponding bit masks mask - locks the gpio for use by sw get - reads the value off the gpio pad put - sets the gpio direction to output a - "other stuff" On legacy chips you clear them if you want to use a gpio for i2c. In some cases they are used for the output value when the gpio in the output state.
2008-07-21First pass at InitDispBandwidth() for AVIVO chipsAlex Deucher
- support for LB allocation - MC priority bumps for display1/2 on RV515 variants and RS690 If you are having display underflow problems (flickering on sides of screen in high res modes, etc.) on RV515 or RS690 boards, try setting: Option "DisplayPriority" "HIGH" in your config. - still no support for full display watermark programming yet Something similar might be useful in rhd as well.
2008-07-21Interlaced mode fixups for AVIVO chipsAlex Deucher
2008-07-17Fix console switch on R500Benjamin Herrenschmidt
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>
2008-05-12Replace CARD{8,16,32} with uint{8,16,32}_tMatt Turner
As has been done with xf86-video-intel, replace all CARD* datatypes with uint*_t datatypes available from stdint.h.
2008-05-07radeon: zaphod fixes for pciaccess not allowing multiple MMIO mapsDave Airlie
2008-04-29RADEON: assorted fixesAlex Deucher
- 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
2008-03-21RS4xx: attempt to fix TMDS/DVO supportAlex Deucher
XPRESS chips added a second set of FP control registers. I don't have the hw to test however.
2008-03-11DCE3: add support for PCIEPHY (untested)Alex Deucher
2008-03-11DCE3: add output attribute to enable/disable coherent modeAlex Deucher
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.
2008-03-07AVIVO: clean up some unused variablesAlex Deucher
2008-03-06RADEON: fix tiling/interlaced interaction with randr 1.2Dave Airlie
2008-03-05AVIVO: Initial support for DCE 3.0 using atombiosAlex Deucher
DACs are working well, DIG support (DVI, HDMI, LVDS, etc.) still has some issues.
2008-03-01AVIVO: save/restore regs by blockAlex Deucher
Save/Restore the entire block for each output. This should fix VT switch problems.
2008-02-29fix off-by-one in last commitAlex Deucher
2008-02-28AVIVO: save/restore scaler regsAlex Deucher
2008-02-28RS6xx: fix typos in previous commitAlex Deucher
Noted by Maciej Cencora on IRC
2008-02-28AVIVO: disable dithering on DFPsAlex Deucher
This should fix the color banding some people have noticed. Also save/restore DDIA regs on RS6xx
2008-02-22RS6xx: fix DDC on DDIA output (usually HDMI port)Alex Deucher
2008-02-10RADEON: Implement proper (hopefully) BIOS/DRIVER interaction for COM biosAlex Deucher
Tested on my M10-based laptop.
2008-02-03RADEON: rework i2c handlingAlex Deucher
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.
2008-02-01RADEON: remove unused "aspect" scaler optionAlex Deucher
2008-02-01RADEON: Implement "center" mode for RMX on legacy radeonsAlex Deucher
2008-01-20RADEON: re-work i2c for DDCAlex Deucher
Unify the radeon/avivo paths and grab the data/clk masks from bios if available
2008-01-19RADEON: get dac2 adj values from the bios tablesAlex Deucher
2008-01-18use stand-alone drivers for each chip family.George Sapountzis
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.
2008-01-18fixup register 6594 save/restoreDave Airlie
2008-01-16ati wrapper: add DriverRec's and use themGeorge Sapountzis
2008-01-14Merge branch 'master' of ↵Alex Deucher
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
2008-01-11Drop symbol lists from r128, radeon, theatre.George Sapountzis
compile-tested only
2008-01-10RADEON: clean up output handlingAlex Deucher
2008-01-02RADEON: add support for ATOM component video tableAlex Deucher
Component output is still not working.
2007-12-12Merge branch 'master' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support merge and fix conflicts
2007-12-12RADEON: fix cursors when using rotationAlex Deucher
allocate separate cursor buffers for each crtc
2007-12-11RADEON: handle HMDI properly (untested) and fix some merge leftoversAlex Deucher
2007-12-11Merge branch 'master' of ↵Alex Deucher
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support fix conflicts
2007-12-10Merge branch 'zaphod-lolz' of ↵Dave Airlie
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
2007-12-07radeon: bring back zaphod all is forgiven.Dave Airlie
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
2007-12-07radeon: move savedreg/modereg into entity instead of infoDave Airlie
2007-12-01RADEON: convert atombios connector table parsing to use ATOM structsAlex Deucher
convert and add hpd info
2007-11-30RADEON: remove unused cruft from last atom importAlex Deucher
2007-11-26RADEON: first pass at TV/Component videoAlex Deucher
Untested and not likely to work just yet.
2007-11-21RADEON: store devices ids from bios for each driver outputAlex Deucher
2007-11-20RADEON: switch to using ATOM defines for bios device tableAlex Deucher
2007-11-20r5xx: cleanups after last mergeDave Airlie