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 alexdeucher@gmail.com:
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.
On Thu, Oct 10, 2013 at 1:39 AM, Rafał Miłecki zajec5@gmail.com wrote:
2013/10/10 Alex Deucher alexdeucher@gmail.com:
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.
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
2013/10/10 Alex Deucher alexdeucher@gmail.com:
On Thu, Oct 10, 2013 at 1:39 AM, Rafał Miłecki zajec5@gmail.com wrote:
2013/10/10 Alex Deucher alexdeucher@gmail.com:
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.
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.
On Thu, Oct 10, 2013 at 10:50 AM, Rafał Miłecki zajec5@gmail.com wrote:
2013/10/10 Alex Deucher alexdeucher@gmail.com:
On Thu, Oct 10, 2013 at 1:39 AM, Rafał Miłecki zajec5@gmail.com wrote:
2013/10/10 Alex Deucher alexdeucher@gmail.com:
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.
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
2013/10/10 Alex Deucher alexdeucher@gmail.com:
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).
On Wed, Oct 9, 2013 at 6:10 PM, Alex Deucher alexdeucher@gmail.com wrote:
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 alexander.deucher@amd.com 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.
Signed-off-by: Alex Deucher alexander.deucher@amd.com CC: Rafał Miłecki zajec5@gmail.com
Alex
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(-)
dri-devel@lists.freedesktop.org