OSDN Git Service

drm/amd/display: Increase Backlight Gain Step Size
authorEryk Brol <eryk.brol@amd.com>
Wed, 15 May 2019 19:12:41 +0000 (15:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:33 +0000 (10:39 -0500)
commite25228b02e4833e5b0fdd262801a2ae6cc72b39d
tree2eaae99414e89e20c34887fef359f6e31f0903a7
parent8633d96d3ca14b37dffe303281c1dff320b422fb
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>
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h