]> git.baikalelectronics.ru Git - kernel.git/commit
drm/arm/malidp: Set the output_depth register in modeset
authorAyan Kumar Halder <ayan.halder@arm.com>
Tue, 15 May 2018 16:04:18 +0000 (17:04 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 5 Jul 2018 14:19:08 +0000 (15:19 +0100)
commit25a01c3e99682453554a19d4c226a850e45f8be8
treea9334e928e3964bc28aaf697db171912d4254d81
parent858a1466dd815f75c8bdef706e3cbb0bea851f44
drm/arm/malidp: Set the output_depth register in modeset

One needs to store the value of the OUTPUT_DEPTH that one has parsed from
device tree, so that it can be restored on system resume. This value is
set in the modeset function as this gets reset when the system suspends.

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_drv.c
drivers/gpu/drm/arm/malidp_hw.c
drivers/gpu/drm/arm/malidp_hw.h