OSDN Git Service

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)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 8 Dec 2018 12:27:36 +0000 (13:27 +0100)
commit8e75d582db02bcb171d65ec71eecbd3072a5fd3a
tree79720cf8d19a5243fc68120cd3de68d9708c946e
parentaa5beec32e8b78bfcf621e3c3daebfb1644b6365
drm/vc4: Fix negative X/Y positioning on SAND planes

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