drm: tegra: Use framebuffer pitch as line stride
Instead of using the stride derived from the display mode, use the pitch associated with the currently active framebuffer. This fixes a bug where the LCD display content would be skewed when enabling HDMI with a video mode different from that of the LCD. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Tested-by: NTerje Bergstrom <tbergstrom@nvidia.com> Tested-by: NMark Zhang <markz@nvidia.com> Tested-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录