diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2012-06-04 20:18:03 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-05 09:25:33 +0100 |
commit | 7838e05a0d29f27f4509290d866e5fc14e642c4c (patch) | |
tree | f9ef13fe659ed9ed827f426ec3b9cc58699196ee | |
parent | 0aecb5a4ba1ea4167f31d1790eec027f1e658f2d (diff) | |
download | linux-3.10-7838e05a0d29f27f4509290d866e5fc14e642c4c.tar.gz linux-3.10-7838e05a0d29f27f4509290d866e5fc14e642c4c.tar.bz2 linux-3.10-7838e05a0d29f27f4509290d866e5fc14e642c4c.zip |
drm/radeon/hdmi: don't set SEND_MAX_PACKETS bit
Many TVs and A/V receivers don't work with this bit set. Problem was
confirmed using: Onkyo TX-SR605, Sony BRAVIA KDL-52X3500, Sony BRAVIA
KDL-40S40xx. In theory this bit shouldn't affect audio engine when
feeding it with data, however it seems it does. Driver fglrx doesn't set
that bit in any of the above cases.
This fixes a regression introduced by 3.5-rc1.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/r600_hdmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c index 226379e00ac..969c27529df 100644 --- a/drivers/gpu/drm/radeon/r600_hdmi.c +++ b/drivers/gpu/drm/radeon/r600_hdmi.c @@ -348,7 +348,6 @@ void r600_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *mod WREG32(HDMI0_AUDIO_PACKET_CONTROL + offset, HDMI0_AUDIO_SAMPLE_SEND | /* send audio packets */ HDMI0_AUDIO_DELAY_EN(1) | /* default audio delay */ - HDMI0_AUDIO_SEND_MAX_PACKETS | /* send NULL packets if no audio is available */ HDMI0_AUDIO_PACKETS_PER_LINE(3) | /* should be suffient for all audio modes and small enough for all hblanks */ HDMI0_60958_CS_UPDATE); /* allow 60958 channel status fields to be updated */ } |