]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5894fe3bbdf44e2a46ad27f1f546d62fa5aadfef
tree20c28ae1c025c05ed23e17bd559db8aa6c983d2c
parentc6ee29278d4f2455e91438c570eb89e2d35b18e9
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