diff options
author | Ayan Kumar Halder <ayan.halder@arm.com> | 2018-05-15 17:04:18 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2018-07-05 15:19:08 +0100 |
commit | f877006d5db49f3615fcee4bd5eb1a56c053d419 (patch) | |
tree | a9334e928e3964bc28aaf697db171912d4254d81 /drivers/gpu/drm/arm/malidp_hw.h | |
parent | fbcc454e8a350b929cb04fbcfdfa72fab37acf38 (diff) | |
download | lwn-f877006d5db49f3615fcee4bd5eb1a56c053d419.tar.gz lwn-f877006d5db49f3615fcee4bd5eb1a56c053d419.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_hw.h')
-rw-r--r-- | drivers/gpu/drm/arm/malidp_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arm/malidp_hw.h b/drivers/gpu/drm/arm/malidp_hw.h index f5b3eab8398b..ad2e96915d44 100644 --- a/drivers/gpu/drm/arm/malidp_hw.h +++ b/drivers/gpu/drm/arm/malidp_hw.h @@ -230,6 +230,7 @@ struct malidp_hw_device { u8 min_line_size; u16 max_line_size; + u32 output_color_depth; /* track the device PM state */ bool pm_suspended; |