summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h
diff options
context:
space:
mode:
authorEryk Brol <eryk.brol@amd.com>2019-05-15 15:12:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-05-31 10:39:33 -0500
commite25228b02e4833e5b0fdd262801a2ae6cc72b39d (patch)
tree2eaae99414e89e20c34887fef359f6e31f0903a7 /drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h
parent8633d96d3ca14b37dffe303281c1dff320b422fb (diff)
downloadlwn-e25228b02e4833e5b0fdd262801a2ae6cc72b39d.tar.gz
lwn-e25228b02e4833e5b0fdd262801a2ae6cc72b39d.zip
drm/amd/display: Increase Backlight Gain Step Size
[Why] Some backlight tests fail due to backlight settling taking too long. This happens because the step size used to change backlight levels is too small. [How] 1. Change the size of the backlight gain step size 2. Change how DMCU firmware gets the step size value so that it is passed in by driver during DMCU initn Signed-off-by: Eryk Brol <eryk.brol@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h
index 60ce56f60ae3..5bd0df55aa5d 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h
@@ -263,4 +263,6 @@ struct dmcu *dcn10_dmcu_create(
void dce_dmcu_destroy(struct dmcu **dmcu);
+static const uint32_t abm_gain_stepsize = 0x0060;
+
#endif /* _DCE_ABM_H_ */