drm: mali-dp: fix Lx_CONTROL register fields clobber
authorMihail Atanassov <mihail.atanassov@arm.com>
Fri, 23 Dec 2016 09:57:20 +0000 (09:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Nov 2017 14:53:13 +0000 (15:53 +0100)
commit6bcd1787b587fcfd857ca0938cdc09d4776d9520
tree286c5bcfc2d6eda5aa95f22b48614c6917a3daed
parent9c9040a85966211de3ce1a53d3a9547b5615ff04
drm: mali-dp: fix Lx_CONTROL register fields clobber

[ 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.

Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/arm/malidp_planes.c