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)
commitf877006d5db49f3615fcee4bd5eb1a56c053d419
treea9334e928e3964bc28aaf697db171912d4254d81
parentfbcc454e8a350b929cb04fbcfdfa72fab37acf38
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