]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/tegra/sor.c
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)
commit7890b576eda75c0b412ca41470366138e1b19cfc
tree3be15940c29b7825c2988e37545788f65a92db8d
parent34fa183bacf9b5ecfda864857e8a797065b6b7e8
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