Patch "drm: mali-dp: fix Lx_CONTROL register fields clobber" has been added to the 4.9-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
drm: mali-dp: fix Lx_CONTROL register fields clobber
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-mali-dp-fix-lx_control-register-fields-clobber.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Nov 9 09:48:01 CET 2017
From: Mihail Atanassov <[email protected]>
Date: Fri, 23 Dec 2016 09:57:20 +0000
Subject: drm: mali-dp: fix Lx_CONTROL register fields clobber
From: Mihail Atanassov <[email protected]>
[ Upstream commit c7ffa59cf03c38b91d6ef01e42c1b52fd7a4f285 ]
When updating the rotation fields, one of the assignments zeroes out the rest of the register fields, which include settings for chroma siting, inverse gamma, AMBA AXI caching, and alpha blending.
--- drivers/gpu/drm/arm/malidp_planes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/arm/malidp_planes.c +2 -1
@@ -182,7 +182,8 @@ static void malidp_de_plane_update(struc/* setup the rotation and axis flip bits */ if (plane->state->rotation &DRM_ROTATE_MASK ) - val =ilog2 (plane->state->rotation &DRM_ROTATE_MASK ) <<LAYER_ROT_OFFSET ; + val |=ilog2 (plane->state->rotation &DRM_ROTATE_MASK ) << +LAYER_ROT_OFFSET ;if (plane->state->rotation &DRM_REFLECT_X ) val |=LAYER_H_FLIP ;if (plane->state->rotation &DRM_REFLECT_Y )
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/drm-mali-dp-fix-lx_control-register-fields-clobber.patch