diff options
author | Alban Bedel <alban.bedel@avionic-design.de> | 2016-12-14 20:20:39 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-01-16 15:11:45 +0300 |
commit | db5adf4d6dced4e3326ce369fe0c213c968095f4 (patch) | |
tree | 35ad0a5cbe0fab5cae9e283e92993bcce6d63c35 /drivers/gpu/host1x/cdma.h | |
parent | e3c702dcc7b047a5187a5ad132bfdf3850cc33e1 (diff) | |
download | linux-db5adf4d6dced4e3326ce369fe0c213c968095f4.tar.xz |
drm/tegra: hdmi: Fix audio to work with any pixel clock rate
The audio setting implementation was limited to a few specific pixel
clocks. This prevented HDMI audio from working on several test devices
as they need a pixel clock that is not supported by this implementation.
Fix this by implementing the algorithm provided in the TRM using fixed
point arithmetic. This allows the driver to cope with any sane pixel
clock rate.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
[treding@nvidia.com: fix uninitialized variable warning]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/cdma.h')
0 files changed, 0 insertions, 0 deletions