Tegra HDMI audio CTS register settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Erik,

Can you say how much testing drivers/video/tegra/dc/hdmi.c has had re:
audio-over-HDMI and in what context? I assume some, due to commits such as
e47469d3fd "video: tegra: fix HDMI audio programming".

I ask because of the following code:

	tegra_hdmi_writel(hdmi, SPARE_HW_CTS | SPARE_FORCE_SW_CTS |
			  SPARE_CTS_RESET_VAL(1),
			  HDMI_NV_PDISP_HDMI_SPARE);

I had to remove SPARE_FORCE_SW_CTS from this register write to get
audio-over-HDMI working correctly.

As I read the specs, HW_CTS tells the HW to calculate the CTS value itself.
Adding SW_CTS into the mix overrides this request, and requires SW to both
program the selected CTS value into a register *and* program register
HDMI_NV_PDISP_HDMI_ACR_CTRL to tell the HW how to determine the current audio
sample rate, and the latter is not currently done.

Can you comment any further?

Thanks.

-- 
nvpublic


--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux