[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-30 Thread Rafał Miłecki
W dniu 30 marca 2012 11:09 u?ytkownik Rafa? Mi?ecki napisa?: > 2012/3/28 ?: >> From: Alex Deucher >> >> This adds register definitions for HDMI/DP audio on >> DCE2/3/4/5 hardware. > > OK, AICS we got PLL regs and HDMI blocks regs. May I ask about audio block > regs? > > Did you just missed

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-30 Thread Rafał Miłecki
2012/3/28 : > From: Alex Deucher > > This adds register definitions for HDMI/DP audio on > DCE2/3/4/5 hardware. OK, AICS we got PLL regs and HDMI blocks regs. May I ask about audio block regs? Did you just missed them or do they need passing some additional review first? I mean: #define

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-30 Thread Alex Deucher
For those that are interested, I pulled together most of my original hdmi code if someone wants to finish it up: http://people.freedesktop.org/~agd5f/0001-WIP-port-of-hdmi-dp-audio-code-to-newer-kernel.patch It needs: - helper functions for calculating the infoframes and checksums - helper

Re: [PATCH] drm/radeon/kms: add register definitions for audio

2012-03-30 Thread Rafał Miłecki
2012/3/28 alexdeuc...@gmail.com: From: Alex Deucher alexander.deuc...@amd.com This adds register definitions for HDMI/DP audio on DCE2/3/4/5 hardware. OK, AICS we got PLL regs and HDMI blocks regs. May I ask about audio block regs? Did you just missed them or do they need passing some

Re: [PATCH] drm/radeon/kms: add register definitions for audio

2012-03-30 Thread Rafał Miłecki
W dniu 30 marca 2012 11:09 użytkownik Rafał Miłecki zaj...@gmail.com napisał: 2012/3/28  alexdeuc...@gmail.com: From: Alex Deucher alexander.deuc...@amd.com This adds register definitions for HDMI/DP audio on DCE2/3/4/5 hardware. OK, AICS we got PLL regs and HDMI blocks regs. May I ask

Re: [PATCH] drm/radeon/kms: add register definitions for audio

2012-03-30 Thread Alex Deucher
For those that are interested, I pulled together most of my original hdmi code if someone wants to finish it up: http://people.freedesktop.org/~agd5f/0001-WIP-port-of-hdmi-dp-audio-code-to-newer-kernel.patch It needs: - helper functions for calculating the infoframes and checksums - helper

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-29 Thread Deucher, Alexander
> -Original Message- > From: Rafa? Mi?ecki [mailto:zajec5 at gmail.com] > Sent: Thursday, March 29, 2012 4:17 AM > To: alexdeucher at gmail.com > Cc: airlied at gmail.com; dri-devel at lists.freedesktop.org; Deucher, > Alexander > Subject: Re: [PATCH] drm/rad

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-29 Thread Rafał Miłecki
2012/3/28 : > +/* digital blocks */ > +#define TMDSA_CNTL ? ? ? ? ? ? ? ? ? ? ? 0x7880 > +# ? ? ? define TMDSA_HDMI_EN ? ? ? ? ? ? (1 << 2) > +#define LVTMA_CNTL ? ? ? ? ? ? ? ? ? ? ? 0x7a80 > +# ? ? ? define LVTMA_HDMI_EN ? ? ? ? ? ? (1 << 2) > +#define DDIA_CNTL ? ? ? ? ? ? ? ? ? ? ? ?0x7200 >

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-29 Thread Christian König
Oh YES! Finally! Just as a side note before it went unnoticed: That is the official HDMI register documentation from R6xx - NI hardware, not just something reverse engineered! @Rafa? and the rest of the community: We hoped that you could stick with it and cleanup the current implementation

Re: [PATCH] drm/radeon/kms: add register definitions for audio

2012-03-29 Thread Christian König
Oh YES! Finally! Just as a side note before it went unnoticed: That is the official HDMI register documentation from R6xx - NI hardware, not just something reverse engineered! @Rafał and the rest of the community: We hoped that you could stick with it and cleanup the current implementation

Re: [PATCH] drm/radeon/kms: add register definitions for audio

2012-03-29 Thread Rafał Miłecki
2012/3/28 alexdeuc...@gmail.com: +/* digital blocks */ +#define TMDSA_CNTL                       0x7880 +#       define TMDSA_HDMI_EN             (1 2) +#define LVTMA_CNTL                       0x7a80 +#       define LVTMA_HDMI_EN             (1 2) +#define DDIA_CNTL                      

RE: [PATCH] drm/radeon/kms: add register definitions for audio

2012-03-29 Thread Deucher, Alexander
-Original Message- From: Rafał Miłecki [mailto:zaj...@gmail.com] Sent: Thursday, March 29, 2012 4:17 AM To: alexdeuc...@gmail.com Cc: airl...@gmail.com; dri-devel@lists.freedesktop.org; Deucher, Alexander Subject: Re: [PATCH] drm/radeon/kms: add register definitions for audio 2012

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-28 Thread alexdeuc...@gmail.com
From: Alex Deucher This adds register definitions for HDMI/DP audio on DCE2/3/4/5 hardware. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreend.h | 220 drivers/gpu/drm/radeon/r600d.h | 236

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-28 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com This adds register definitions for HDMI/DP audio on DCE2/3/4/5 hardware. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/evergreend.h | 220 drivers/gpu/drm/radeon/r600d.h | 236