]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/arm/malidp: Preserve LAYER_FORMAT contents when setting format
authorAyan Kumar Halder <ayan.halder@arm.com>
Tue, 10 Apr 2018 18:25:03 +0000 (19:25 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 18 Jun 2018 17:02:42 +0000 (18:02 +0100)
commitad7fda2e378f4356df621a39655f7c200b495d81
treea743f97438384b1946b4a2c51b4e487f065d30b0
parent89610dc2c235e7b02bb9fba0ce247e12d4dde7cd
drm/arm/malidp: Preserve LAYER_FORMAT contents when setting format

On some Mali-DP processors, the LAYER_FORMAT register contains fields
other than the format. These bits were unconditionally cleared when
setting the pixel format, whereas they should be preserved at their
reset values.

Reported-by: Brian Starkey <brian.starkey@arm.com>
Reported-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Ayan Kumar halder <ayan.halder@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/malidp_planes.c