Alex Deucher
1d3949c4ab
drm/radeon/kms: Add checks for TN in the DP bridge code
...
TN (trinity) uses DP bridges for LVDS and VGA just like llano.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-03-21 06:55:57 +00:00
Alex Deucher
2d415869f1
drm/radeon/kms: update comments about dig encoders/transmitters
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-03-21 06:55:51 +00:00
Alex Deucher
47aef7a892
drm/radeon/kms/atom: add support for DCE6.x dig transmitters
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-03-21 06:55:51 +00:00
Alex Deucher
9aa59993e2
drm/radeon/kms: refine TMDS dual link checks
...
HDMI 1.3 defines single link clocks up to 340 Mhz.
Refine the current dual link checks to only enable
dual link for DVI > 165 Mhz or HDMI > 340 Mhz if the
hw supports HDMI 1.3 (DCE3+).
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=44755
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-01-24 17:35:52 +00:00
Alex Deucher
27d9cc8428
drm/radeon/kms: use drm_detect_hdmi_monitor for picking encoder mode
...
We were previously just checking for audio.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-01-24 17:35:52 +00:00
Alex Deucher
3a47824d85
drm/radeon/kms: rework modeset sequence for DCE41 and DCE5
...
dig transmitter control table only has ENABLE/DISABLE actions
on DCE4.1/DCE5.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=44955
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-01-24 17:35:51 +00:00
Alex Deucher
386d4d751e
drm/radeon/kms: move panel mode setup into encoder mode set
...
Needs to happen earlier in the mode set.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-01-24 17:35:50 +00:00
Rafał Miłecki
f92e70cae8
drm/radeon/kms: do not force DVI mode on DCE4 if audio is on
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2011-12-19 16:10:25 +00:00
Alex Deucher
a3b0829454
drm/radeon/kms: make atombios_dig_transmitter_setup() version based
...
Use the table version to determine which params to use.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2011-11-01 16:05:22 +00:00
Alex Deucher
58cdcb8bbe
drm/radeon/kms: make atombios_dig_encoder_setup() version based
...
set up the params based on the table version number.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2011-11-01 16:05:17 +00:00
Alex Deucher
24153dd35e
drm/radeon/kms: make atombios_dvo_setup() version based
...
Use table version numbers for param setup.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2011-11-01 16:05:12 +00:00
Alex Deucher
3f03ced880
drm/radeon/kms: move atom encoder setup to a new file
...
Leave the common code in radeon_encoders.c and move the atom
specific code to atombios_encoders.c. This matches legacy
encoder setup and crtc setup.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2011-11-01 16:05:07 +00:00