drm/vc4: Make sure that planes aren't scaled.
authorEric Anholt <eric@anholt.net>
Fri, 23 Oct 2015 09:36:27 +0000 (10:36 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 17 Nov 2015 20:27:03 +0000 (12:27 -0800)
commitbf893acc1675516fabf238a5ee3b52859c5687dc
tree20c28ae1c025c05ed23e17bd559db8aa6c983d2c
parent36f4f69a092d766581f2442ddffea051e1ef464e
drm/vc4: Make sure that planes aren't scaled.

We would scan out the memory around them if an upscale was attempted,
and would just scan out incorrectly for downscaling.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_plane.c