vc4/drm: SQUASH: Fix source offsets with DRM_FORMAT_P030
authorDom Cobley <popcornmix@gmail.com>
Wed, 31 Mar 2021 17:12:55 +0000 (18:12 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 31 Mar 2021 19:51:36 +0000 (20:51 +0100)
commitd1fd8a5727908bb677c003d2ae977e9d935a6f94
treeacce1a18877011bdb9ff42451be0fa708fc9926c
parent64ca5346af97156d0d717574f32896de26087fdd
vc4/drm: SQUASH: Fix source offsets with DRM_FORMAT_P030

x_off should only be within current stripe
The stripe number is accounted for elsewhere

Fixes: 9b1b1beb1c7e58b ("vc4/drm: Fix source offsets with DRM_FORMAT_P030")

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
drivers/gpu/drm/vc4/vc4_plane.c