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)
committerpopcornmix <popcornmix@gmail.com>
Tue, 22 Aug 2017 13:01:52 +0000 (14:01 +0100)
commit9156f5d06f2c4faa1d0fa1efcca48c22605540ed
treec3ab977bf192984d70465139c12ae6a38a6533a5
parente351267e2e4451748dacbbb32115ef5146fdd65c
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