commit | d1f3e1e0b38d49cbb996dcf0fde5b5205d12a23d | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Fri Jul 11 08:29:14 2014 +0200 |
committer | Thierry Reding <treding@nvidia.com> | Mon Aug 04 10:07:38 2014 +0200 |
tree | ad6a7bb3489938730f1d7b95e472889880ba7bb4 | |
parent | 3f4f3b5fede02d338383619ff57744a8415ccceb [diff] |
drm/tegra: Properly align stride for framebuffers Tegra20 and Tegra30 both required the buffer line stride to be aligned on 8 byte boundaries. Tegra114 and Tegra124 increased the alignment to 64 bytes. Introduce a parameter to specify the alignment requirements for each display controller and round up the pitch of newly allocated framebuffers appropriately. Originally-by: Stéphane Marchesin <marcheu@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>