radeon drm-fixes-3.12
Subsystems (2)
Hi Dave,
More radeon fixes for 3.12. Regression fixes for audio and UVD, several hang fixes, and some dpm fixes.
The following changes since commit 1d083bc93d159ebcb46c5cbeca512ddd74a74e4b:
Merge remote-tracking branch 'nouveau/drm-nouveau-next' into drm-fixes (2013-10-09 16:09:25 +1000)
are available in the git repository at:
git://people.freedesktop.org/~agd5f/linux drm-fixes-3.12
for you to fetch changes up to 4076a65544e2de310cbf4eaadb13ee15bbfaaf4f:
drm/radeon/dpm: disable bapm on TN asics (2013-10-09 17:13:50 -0400)
----------------------------------------------------------------
Alex Deucher (9):
drm/edid: catch kmalloc failure in drm_edid_to_speaker_allocation drm/radeon: use 64-bit math to calculate CTS values for audio (v2) drm/radeon: fix N/CTS clock matching for audio drm/radeon: use hw generated CTS/N values for audio drm/radeon/dpm: disable multiple UVD states drm/radeon: fix typo in CP DMA register headers drm/radeon: improve soft reset on SI
drm/radeon: improve soft reset on CIK
drm/radeon/dpm: disable bapm on TN asics
Dan Carpenter (3):
drm/radeon: forever loop on error in radeon_do_test_moves() drm/radeon/dpm/btc: off by one in btc_set_mc_special_registers() drm/radeon/dpm: off by one in si_set_mc_special_registers()
wojciech kapuscinski (1):
drm/radeon: fix hw contexts for SUMO2 asics
drivers/gpu/drm/drm_edid.c | 2 ++ drivers/gpu/drm/radeon/btc_dpm.c | 6 +++--- drivers/gpu/drm/radeon/cik.c | 6 ++++++ drivers/gpu/drm/radeon/evergreen.c | 2 +- drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 +-- drivers/gpu/drm/radeon/evergreend.h | 4 ++-- drivers/gpu/drm/radeon/r600_hdmi.c | 20 +++++++++++++------- drivers/gpu/drm/radeon/r600d.h | 2 +- drivers/gpu/drm/radeon/radeon_pm.c | 3 +++ drivers/gpu/drm/radeon/radeon_test.c | 4 ++-- drivers/gpu/drm/radeon/radeon_uvd.c | 3 ++- drivers/gpu/drm/radeon/si.c | 10 ++++++++++ drivers/gpu/drm/radeon/si_dpm.c | 6 +++--- drivers/gpu/drm/radeon/sid.h | 4 ++-- drivers/gpu/drm/radeon/trinity_dpm.c | 2 +- 15 files changed, 52 insertions(+), 25 deletions(-)
2013/10/10 Alex Deucher <[email protected]>:
Quoted 1 line
drm/radeon: use hw generated CTS/N values for audio
I'd like to see such patches earlier :| I'm OK with the change for DCE4+ (Evergreen) (I even suggested that change myself recently), but I didn't have time to check how this should be programmed on DCE2/3/4...
In your patch 0001-WIP-port-of-hdmi-dp-audio-code-to-newer-kernel.patch based on (AFAIU) internal specs you were setting HDMI_ACR_SOURCE.
According to the Christian R6xx may really have some bug for generating values by the hw, see:
https://bugs.freedesktop.org/show_bug.cgi?id=69675#c12
So it doesn't look like a good patch for -fixes, especially without testing it on some hardware.
Quoted 11 lines · Rafał Miłecki
2013/10/10 Alex Deucher <[email protected]>:
Quoted 1 line
drm/radeon: use hw generated CTS/N values for audio
I'd like to see such patches earlier :| I'm OK with the change for DCE4+ (Evergreen) (I even suggested that change myself recently), but I didn't have time to check how this should be programmed on DCE2/3/4...
In your patch 0001-WIP-port-of-hdmi-dp-audio-code-to-newer-kernel.patch based on (AFAIU) internal specs you were setting
HDMI_ACR_SOURCE.
Quoted 6 lines
According to the Christian R6xx may really have some bug for generating values by the hw, see:
https://bugs.freedesktop.org/show_bug.cgi?id=69675#c12So it doesn't look like a good patch for -fixes, especially without testing it on some hardware.
Yeah, I thought about that, but on the other hand, there is already a regression caused by the 1001 modes patches that this series fixes. I can add a patch to disable the hw generated values on older families for now if you'd prefer.
Alex
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
2013/10/10 Alex Deucher <[email protected]>:
Quoted 16 lines · Rafał Miłecki
Quoted 15 lines
2013/10/10 Alex Deucher <[email protected]>:
Quoted 1 line
drm/radeon: use hw generated CTS/N values for audio
I'd like to see such patches earlier :| I'm OK with the change for DCE4+ (Evergreen) (I even suggested that change myself recently), but I didn't have time to check how this should be programmed on DCE2/3/4...
In your patch 0001-WIP-port-of-hdmi-dp-audio-code-to-newer-kernel.patch based on (AFAIU) internal specs you were setting
HDMI_ACR_SOURCE.According to the Christian R6xx may really have some bug for generating values by the hw, see:
https://bugs.freedesktop.org/show_bug.cgi?id=69675#c12
Quoted 7 lines
Quoted 2 lines
So it doesn't look like a good patch for -fixes, especially without testing it on some hardware.
Yeah, I thought about that, but on the other hand, there is already a regression caused by the 1001 modes patches that this series fixes. I can add a patch to disable the hw generated values on older families for now if you'd prefer.
It would be nice. I'm working on getting some old GPUs, tracing fglrx and testing. So I hope to get HDMI support on DCE2/3 cleaned soon.
Signature · 5 lines
Rafał _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 20 lines · Rafał Miłecki
2013/10/10 Alex Deucher <[email protected]>:
Quoted 19 lines · Rafał Miłecki
Quoted 17 lines
2013/10/10 Alex Deucher <[email protected]>:
Quoted 1 line
drm/radeon: use hw generated CTS/N values for audio
I'd like to see such patches earlier :| I'm OK with the change for DCE4+ (Evergreen) (I even suggested that change myself recently), but I didn't have time to check how this should be programmed on DCE2/3/4...
In your patch 0001-WIP-port-of-hdmi-dp-audio-code-to-newer-kernel.patch based on (AFAIU) internal specs you were setting
HDMI_ACR_SOURCE.According to the Christian R6xx may really have some bug for generating values by the hw, see:
https://bugs.freedesktop.org/show_bug.cgi?id=69675#c12So it doesn't look like a good patch for -fixes, especially without testing it on some hardware.
Quoted 7 lines
Quoted 4 lines
Yeah, I thought about that, but on the other hand, there is already a regression caused by the 1001 modes patches that this series fixes. I can add a patch to disable the hw generated values on older families for now if you'd prefer.
It would be nice. I'm working on getting some old GPUs, tracing fglrx and testing. So I hope to get HDMI support on DCE2/3 cleaned soon.
Attached. I'll send an updated pull request with the patch added.
Alex
From b852c985010a77c850b7548d64bbb964ca462b02 Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Thu, 10 Oct 2013 11:47:01 -0400
Subject: [PATCH] drm/radeon: re-enable sw ACR support on pre-DCE4
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
HW ACR support may have issues on some older chips, so use SW ACR for now until we've tested further.
--- drivers/gpu/drm/radeon/r600_hdmi.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/r600_hdmi.c +1 -0
@@ -451,6 +451,7 @@ void r600_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *mod }WREG32 (HDMI0_ACR_PACKET_CONTROL + offset, +HDMI0_ACR_SOURCE |/* select SW CTS value - XXX verify that hw CTS works on all families */ HDMI0_ACR_AUTO_SEND );/* allow hw to sent ACR packets when required */ WREG32(HDMI0_VBI_PACKET_CONTROL + offset,
Signature · 1 line
1.8.3.1
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
2013/10/10 Alex Deucher <[email protected]>:
Quoted 1 line
Attached. I'll send an updated pull request with the patch added.
Thanks! I promise to work on that, it just takes time to gather so old hardware and run it (especially fglrx).
Signature · 5 lines
Rafał _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Alex Deucher
Hi Dave,
More radeon fixes for 3.12. Regression fixes for audio and UVD, several hang fixes, and some dpm fixes.
Hi Dave,
Please pull from the branch again. The only change is the addition of the patch discussed below with Rafał.
commit b852c985010a77c850b7548d64bbb964ca462b02
Author: Alex Deucher <[email protected]> Date: Thu Oct 10 11:47:01 2013 -0400
drm/radeon: re-enable sw ACR support on pre-DCE4
HW ACR support may have issues on some older chips, so use SW ACR for now until we've tested further.
Alex
Quoted 34 lines
The following changes since commit
1d083bc93d159ebcb46c5cbeca512ddd74a74e4b:Merge remote-tracking branch 'nouveau/drm-nouveau-next' into drm-fixes (2013-10-09 16:09:25 +1000)
are available in the git repository at:
git://people.freedesktop.org/~agd5f/linuxdrm-fixes-3.12for you to fetch changes up to
4076a65544e2de310cbf4eaadb13ee15bbfaaf4f:drm/radeon/dpm: disable bapm on TN asics (2013-10-09 17:13:50 -0400)
----------------------------------------------------------------
Alex Deucher (9):
drm/edid: catch kmalloc failure indrm_edid_to_speaker_allocationdrm/radeon: use 64-bit math to calculate CTS values for audio (v2) drm/radeon: fix N/CTS clock matching for audio drm/radeon: use hw generated CTS/N values for audio drm/radeon/dpm: disable multiple UVD states drm/radeon: fix typo in CP DMA register headers drm/radeon: improve soft reset on SI
drm/radeon: improve soft reset on CIK
drm/radeon/dpm: disable bapm on TN asicsDan Carpenter (3):
drm/radeon: forever loop on error inradeon_do_test_moves()drm/radeon/dpm/btc: off by one inbtc_set_mc_special_registers()drm/radeon/dpm: off by one insi_set_mc_special_registers()wojciech kapuscinski (1):
drm/radeon: fix hw contexts for SUMO2 asics
Quoted 16 lines
drivers/gpu/drm/drm_edid.c | 2 ++ drivers/gpu/drm/radeon/btc_dpm.c | 6 +++--- drivers/gpu/drm/radeon/cik.c | 6 ++++++ drivers/gpu/drm/radeon/evergreen.c | 2 +- drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 +-- drivers/gpu/drm/radeon/evergreend.h | 4 ++-- drivers/gpu/drm/radeon/r600_hdmi.c | 20 +++++++++++++------- drivers/gpu/drm/radeon/r600d.h | 2 +- drivers/gpu/drm/radeon/radeon_pm.c | 3 +++ drivers/gpu/drm/radeon/radeon_test.c | 4 ++-- drivers/gpu/drm/radeon/radeon_uvd.c | 3 ++- drivers/gpu/drm/radeon/si.c | 10 ++++++++++ drivers/gpu/drm/radeon/si_dpm.c | 6 +++--- drivers/gpu/drm/radeon/sid.h | 4 ++-- drivers/gpu/drm/radeon/trinity_dpm.c | 2 +- 15 files changed, 52 insertions(+), 25 deletions(-)
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel