]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Fix pitch setup for T-format scanout.
authorEric Anholt <eric@anholt.net>
Wed, 27 Sep 2017 19:32:09 +0000 (12:32 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 13 Oct 2017 23:40:24 +0000 (16:40 -0700)
commit6e5cb4ddadb7c6d49d202d73582761ffabc258ba
tree6c983c8af0c590b2939de645c9eb2060debb9b39
parenta4839d937348fe352fe42f904746a0e5120eefc5
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.

v2: Add some comments requested by Boris

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 8653cf8cd8ab ("drm/vc4: Add T-format scanout support.")
Link: https://patchwork.freedesktop.org/patch/msgid/20170927193209.11870-1-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/vc4/vc4_plane.c