vc4/drm: Fix source offsets with DRM_FORMAT_P030
authorDom Cobley <popcornmix@gmail.com>
Mon, 22 Mar 2021 19:43:48 +0000 (19:43 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 23 Mar 2021 13:45:48 +0000 (13:45 +0000)
commit9b1b1beb1c7e58b3f967d21cd3dfd4837bdefb3f
tree187104db8ab05160635ab504203573139baba432
parentb62f64b7df524956bef0c09566a04eec883c3214
vc4/drm: Fix source offsets with DRM_FORMAT_P030

Spec says: bits [31:4] of the given address should point to
the 128-bit word containing the desired starting pixel,
and bits[3:0] should be between 0 and 11, indicating which
of the 12-pixels in that 128-bit word is the first pixel to be used

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