summaryrefslogtreecommitdiff
path: root/src/atombios_output.c
AgeCommit message (Collapse)Author
2012-05-24radeon/atombios: rewrite atombios parser code to not use xf86Screens.Dave Airlie
Just pass the ScrnInfoPtr around instead. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-09-22UMS: fix DDIA enable on some rs690 systemsAlex Deucher
DVOOutputControl checks the value of of bios scratch reg 3 on some tables and assumes the encoder is already enabled if the DFP2_ACTIVE bit is set. Clear that bit so the table sets the DDIA enable bit properly. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-05UMS/DCE3.2: fix segfaultAlex Deucher
atombios_pick_dig_encoder() needs to be called with a valid crtc assigned. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-26dp: fix displayport support by syncing with KMS codeJerome Glisse
Warning the dp clock value are divided by 10 in ddx (10 times bigger than kernel value) this is somethings very picky. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-16DCE4.1: fix DIGx routingAlex Deucher
Works more like DCE4.0. With only two DIGx blocks the routing is hardcoded based on link. This fixes blank screen issues when changing crtc routing due to incorrect crtc to dig mapping. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-22ontario: add UMS modesetting supportAlex Deucher
Accel not enabled yet. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-10-24UMS/atom: default to DVI mode if we don't have monitor hdmi infoAlex Deucher
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30330
2010-10-10DCE3+: UMS modesetting fixesAlex Deucher
- add mising LVTMA case statement for DCE3.0 dig encoder - some DCE4 systems have EN/DISABLE_OUTPUT actions
2010-10-07DCE3.2 UMS: fix duallinkAlex Deucher
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=30686
2010-08-20evergreen: set encoder type to DVI for HDMIAlex Deucher
Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=27452 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-10radeon: take 8/10 encoding into a/c on displayport linkDave Airlie
2010-08-10atombios: fixup set crtc source like KMSDave Airlie
This removes a bunch of strict aliasing warnings and fixes the codepaths up like the latest KMS code, including a workaround for a bug on evergreen.
2010-08-10displayport: retry on timeoutDave Airlie
this is ported from KMS
2010-08-10evergreen: don't call YUV table on evergreenDave Airlie
2010-08-10evergreen: add support to parse firmware info for ext dp clkDave Airlie
2010-08-10atombios: realign digital transmitter/encoder setup with kmsDave Airlie
2010-04-12atom: disable TV encoder when VGA is in useAlex Deucher
Switching between TV and VGA caused problems on some systems since the TV encoder was left enabled. Should fix fdo bug 25520.
2010-02-04evergreen: minor clean up in transmitter setupAlex Deucher
both link and encoder must be set for linkb
2010-02-03evergreen: use external clock source for DP PHYAlex Deucher
DP CRTC clock always comes from DCPLL. This frees up PPll1/2 for non-DP-mode PHYs and CRTCs
2010-02-03evergreen: blank/unblank DP in dpms callsAlex Deucher
2010-02-01evergreen: add atombios crtc/pll functionsAlex Deucher
2010-02-01evergreen: add atom support for digital outputsAlex Deucher
analog is already supported by the existing code.
2010-01-29radeon: further digital encoder cleanups.Dave Airlie
this just cleans up a few more bits of the digital encoder setup. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-28radeon: clean up dig encoder handlingAlex Deucher
- switch the var name to dig_encoder - quiet coherent messages - clean up dig encoder selection Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-01-28radeon: add support for picking the digitial encoderDave Airlie
Testing on a W500 laptop found the LVDS + DisplayPort would conflict over the choice of digital encoder, and only one would work. This patch fixes the DCE3 case where LVTMA requires the second digital encoder and lets DP/DVI use the first in most cases. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-07radeon: add initial support for eDP (embedded DisplayPort)Alex Deucher
Should fix fdo bug 25931
2009-12-02Merge remote branch 'origin/displayport'Dave Airlie
2009-11-27radeon: clean up DP codeAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-26dce3: CV1/TV1OutputControl tables didn't go away until dce3.2Alex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-26dce3: no CV1 or TV1 Output Control tables anymore.Dave Airlie
According to the DCE3 docs we should only use DAC1/2 not CV1/TV OutputControl, also my rv730 bios doesn't have any CV1/TV tables. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-26fixes displayport for me hereDave Airlie
2009-11-26displayport: cleanup call dp from dpms on instead.Dave Airlie
2009-11-23DCE3.2: fix uniphy2 dvi issuesAlex Deucher
In some cases the atom transmitter table sets the golden value of this reg differently which some monitors don't like. I haven't had time to dig further, so this works around it for now. Fixes fdo bug 24313 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-20dp fix timingAlex Deucher
aux channel atom command table delay is 10 usec units this gets the link training working, but alas, no image.
2009-11-19DP: hack that makes DP work.Alex Deucher
Something's wrong with the status check.
2009-11-19wipAlex Deucher
2009-11-19DP wipAlex Deucher
- use coherent - fix up lane/clock numbers
2009-11-18more dp cleanupAlex Deucher
- clean up handling of linkb, etc. - add support for ATOM_TRANSMITTER_ACTION_SETUP_VSEMPH to existing transmitter control function - fix lots of warnings
2009-11-18radeon: pull previous displayport work into masterAlex Deucher
2009-11-05DCE3+: call transmitter init on mode setAlex Deucher
Generally this is done at post, but might not always be done with softboot or for connectors on docking stations. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-04ATOM/DCE3+: fix up usPixelClock calculation for Transmitter tablesAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-01radeon/atom: fix tv-out on r5xxAlex Deucher
fixes bug 24796 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-08-17atom: recall crtc source script after tv dpms onDave Airlie
For some reason we lost the DACB source when we dpms tv back on.
2009-08-17atombios: store dac detect result into save register.Dave Airlie
We end up writing back an empty save register over the dac detection results so the atombios table can no longer figure out the S-video vs composite so sets the wrong one up. this gets tv-out on my r580 with a composite connector working.
2009-08-17atom/tvout: set the correct scaler up for tv outDave Airlie
If we need to use the second scaler actually set the second scaler up.
2009-07-16Update to xextproto 7.1 support.Peter Hutterer
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-07ATOM: code cleanupAlex Deucher
- remove cases that aren't possible (e.g., no TMDSA on DCE3 cards) - condense duplicate cases
2009-04-07DCE3/3.2: further fixesAlex Deucher
disable the dig transmitter and encoder before setup and enable
2009-04-04DCE3/3.2: fix up transmitter/encoder setupAlex Deucher
Should fix bug 21050
2009-03-23R4xx ATOM: fix crtc routing for CRT1Alex Deucher
should fix bug 20814