Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac8f7c48 authored by Thierry Reding's avatar Thierry Reding Committed by Dave Airlie
Browse files

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: default avatarThierry Reding <thierry.reding@avionic-design.de>
Tested-by: default avatarTerje Bergstrom <tbergstrom@nvidia.com>
Tested-by: default avatarMark Zhang <markz@nvidia.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 82fe50bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment