On Sat, Apr 13, 2013 at 7:26 PM, Rafa? Mi?ecki <zajec5 at gmail.com> wrote: > I've managed to track fglrx operations on HDMI regs, so we can finally setup > everything in (hopefully) the correct way and order. > > This changes HDMI setup on Evergreen to mostly match fglrx and was tested on: > 1) AMD Radeon HD 6320 (PALM == DCE41) > 2) AMD Radeon HD 6970M (BARTS == DCE5) > No regressions noticed, I can still play audio, including LPCM, AC3 and DTS. > > Unfortunately I don't have any DCE4 hardware to test this, but that changes > shouldn't cause any regressions. I hope that with such improvements we will > finally able to enable audio by default.
I've applied patches 1, 4, 5, 6. For patch 2, I'd prefer we just not enable the interrupts rather than removing the code altogether at this point. See the attached patch. For patch 3, none of the registers mentioned are directly related to audio setup. Alex > > Rafa? Mi?ecki (6): > drm/radeon: add helpers for masking and setting bits in regs > drm/radeon: remove HDMI interrupts on Evergreen > drm/radeon: add some HDMI comments > drm/radeon/evergreen: setup HDMI before enabling it > drm/radeon/evergreen: reorder HDMI setup > drm/radeon/evergreen: write default channel numbers > > drivers/gpu/drm/radeon/evergreen.c | 127 > +------------------------------ > drivers/gpu/drm/radeon/evergreen_hdmi.c | 77 +++++++++++++++---- > drivers/gpu/drm/radeon/evergreend.h | 1 + > drivers/gpu/drm/radeon/r600_hdmi.c | 16 ++-- > drivers/gpu/drm/radeon/radeon.h | 2 + > drivers/gpu/drm/radeon/radeon_display.c | 5 ++ > 6 files changed, 76 insertions(+), 152 deletions(-) > > -- > 1.7.10.4 > -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-drm-radeon-disable-audio-format-interrupts-on-Evergr.patch Type: text/x-patch Size: 1067 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130418/48db3883/attachment.bin>