[PATCH 1/3] drm/tegra: Align FB pitch

2014-06-05 Thread Thierry Reding
On Fri, May 23, 2014 at 06:58:32PM -0700, St?phane Marchesin wrote: > The display controller doesn't handle non-256 byte aligned buffer > pitches. If you give it an unaligned buffer, it will stop after the > first line and will report underflows in the debug registers > (DC_WINBUF_UFLOW_STATUS and

[PATCH 1/3] drm/tegra: Align FB pitch

2014-05-23 Thread Stéphane Marchesin
The display controller doesn't handle non-256 byte aligned buffer pitches. If you give it an unaligned buffer, it will stop after the first line and will report underflows in the debug registers (DC_WINBUF_UFLOW_STATUS and friends). So let's make sure that all our framebuffer pitches are 256-byte a