drm/vc4: Fix negative X/Y positioning on SAND planes
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 7 Dec 2018 08:36:05 +0000 (09:36 +0100)
committerpopcornmix <popcornmix@gmail.com>
Thu, 10 Oct 2019 15:02:12 +0000 (16:02 +0100)
commitba4d5d068bf1d0787e9db507f4355c0ba471c71b
tree138e3b76ca137fa5972a165647afea55c25a5b62
parentadfc69d5280a910d092292e42791771a96854336
drm/vc4: Fix negative X/Y positioning on SAND planes

Commit 8e75d582db02bcb171d65ec71eecbd3072a5fd3a upstream.

Commit 3e407417b192 ("drm/vc4: Fix X/Y positioning of planes using
T_TILES modifier") fixed the problem with T_TILES format, but left
things in a non-working state for SAND formats. Address that now.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181207083606.15449-1-boris.brezillon@bootlin.com
drivers/gpu/drm/vc4/vc4_plane.c