From: Thierry Reding Date: Fri, 11 Jul 2014 06:29:14 +0000 (+0200) Subject: drm/tegra: Properly align stride for framebuffers X-Git-Tag: cleanup-for-v3.18~84^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f3e1e0b38d49cbb996dcf0fde5b5205d12a23d;p=pandora-kernel.git 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 Signed-off-by: Thierry Reding --- Reading git-diff-tree failed