drm/vc4: Fix pitch setup for T-format scanout.
authorEric Anholt <eric@anholt.net>
Sat, 15 Jul 2017 00:33:08 +0000 (17:33 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:08:28 +0000 (01:08 +0000)
commit77cd0f73e0a014fccbe1ccd3eb9ed61be97c86ee
tree8e1d45c1f03db68bc916b5b74f4fa8ca0119f60c
parentb33059c1fb9447a7d5f64fc6153f3858d80327d4
drm/vc4: Fix pitch setup for T-format scanout.

The documentation said to use src_w here, and I didn't consider that
we actually needed to be using pitch somewhere in our setup.  Fixes
scanout on my DSI panel when X11 does initial setup with 1920x1080
HDMI and 800x480 DSI both at 0,0 of the same framebuffer.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 98830d91da08 ("drm/vc4: Add T-format scanout support.")
drivers/gpu/drm/vc4/vc4_plane.c