]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor - Do not hardcode number of blank symbols
authorThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 14:12:46 +0000 (16:12 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 9 Jun 2014 10:02:48 +0000 (12:02 +0200)
commite272f5e12140ad23ce77534287422544f86c2ff1
tree3be15940c29b7825c2988e37545788f65a92db8d
parentbaac6ecb9f5de4078276b3ec8bcff0319fa597ec
drm/tegra: sor - Do not hardcode number of blank symbols

The number of HBLANK and VBLANK symbols can be computed at runtime so
that they can be set appropriately depending on the video mode and DP
link.

These values are used by the packet generation logic to determine how
many audio samples can be transferred during the blanking intervals.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c